The goal is to open in Java a model created/trained in python with tensorflow.contrib.learn.learn.DNNClassifier
.
At the moment the main issue is to know th
The error message offers a clue: the tensor named "input_example_tensor"
in the model expects to have string
contents, whereas you provided float
values.
Judging by the name of the tensor and your code, I'd guess that the tensor you're feeding is defined in input_fn_utils.py. This tensor is passed to the tf.parse_example() op, which expects a vector of tf.train.Example protocol buffers, serialized as strings.