【发布时间】:2018-03-01 17:39:43
【问题描述】:
我正在关注针对诗人的 codelabs tensorflow,训练效果很好,但是当我运行脚本来评估图像时:
python -m scripts.label_image \
--graph=tf_files/retrained_graph.pb \
--image=tf_files/flower_photos/daisy/21652746_cc379e0eea_m.jpg
我收到以下错误:
The name 'import/input' refers to an Operation not in the graph.
我环顾四周,它与选择输入和输出层有关,脚本 label_image.py 将“输入”和“输出”设置为默认值。我使用的架构是“inception_v3”。
【问题讨论】:
标签: python machine-learning tensorflow