Tensorflow input signals: cannot find input signal

I tried the initial tutorial on tensorflow website: https://www.tensorflow.org/versions/r0.12/how_tos/image_retraining/ bazel build is successful, but when I try to predict the image class with this command:

bazel build tensorflow/examples/label_image:label_image && \
bazel-bin/tensorflow/examples/label_image/label_image \
--graph=/tmp/output_graph.pb --labels=/tmp/output_labels.txt \
--output_layer=final_result \
--image=$HOME/flower_photos/daisy/21652746_cc379e0eea_m.jpg

I have this error: tensorflow / examples / label_image / main.cc: 305] Current model error: not detected: FeedInputs: cannot find the output input for submission

How can i solve this problem

+6
source share
2 answers

This thread helped me solve this problem.

, --input_layer Tensorflow 1.0 +.

:

bazel build tensorflow/examples/label_image:label_image && \
bazel-bin/tensorflow/examples/label_image/label_image \
--graph=/tmp/output_graph.pb --labels=/tmp/output_labels.txt \
--output_layer=final_result \
--image=$HOME/flower_photos/daisy/21652746_cc379e0eea_m.jpg \
--input_layer=Mul
+21

Tensorflow 1.0+? , ( 0.12.0) . - 1.0.0,

0

Source: https://habr.com/ru/post/1016040/


All Articles