I was following the codelabs tensorflow for poets and the training worked fine but when I ran the script to evaluate an image:
python -m scripts.label_image \
--graph=tf_files/retrained_graph.pb \
--image=tf_files/flower_photos/daisy/21652746_cc379e0eea_m.jpg
I got the following error:
The name 'import/input' refers to an Operation, not in the graph.
I looked around and it has something to do with choosing the input and output layer, the script label_image.py has 'input' and 'output' set as default. The architecture I'm using is 'inception_v3'.