【问题标题】:Unable to use label_image.py from the Instructions on the tensorflow for poets无法使用 tensorflow 诗人说明中的 label_image.py
【发布时间】:2017-04-10 09:35:19
【问题描述】:

我已经按照网站上的说明重新训练了初始模型

https://codelabs.developers.google.com/codelabs/tensorflow-for-poets/?utm_campaign=chrome_series_machinelearning_063016&utm_source=gdev&utm_medium=yt-desc#4

但我无法找出为什么在第 5 步中我无法使用 label_image.py 对图像进行分类。按照第 5 部分中的步骤进行操作。最后使用

python /tf_files/label_image.py /tf_files/flower_photos/daisy/21652746_cc379e0eea_m.jpg 在泊坞窗中, 我在下图中收到错误消息:

Error message

【问题讨论】:

    标签: python machine-learning tensorflow image-recognition


    【解决方案1】:

    看起来label_image.py 的复制和粘贴操作错误。 查看文件,看看它是否是真正的纯python代码。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2023-03-18
      • 2020-09-01
      • 2018-04-07
      • 2018-03-10
      相关资源
      最近更新 更多