我正在关注诗人的codelabs tensorflow并且训练工作正常但是当我运行脚本来评估图像时:
python -m scripts.label_image \
--graph=tf_files/retrained_graph.pb \
--image=tf_files/flower_photos/daisy/21652746_cc379e0eea_m.jpg
Run Code Online (Sandbox Code Playgroud)
我收到以下错误:
The name 'import/input' refers to an Operation not in the graph.
Run Code Online (Sandbox Code Playgroud)
我环顾四周,它与选择输入和输出层有关,脚本label_image.py将'input'和'output'设置为默认值.我正在使用的架构是'inception_v3'.