【发布时间】:2018-11-11 05:19:32
【问题描述】:
我正在使用retrain.py 对我手的照片重新训练对象检测器(以检测我握着多少根手指)。在 Tensorflow 网站上,我按照教程对他们的花朵图像进行了重新训练。所以我写了 python retrain.py --image_dir ~/flower_photos 并且它起作用了。我有我的hand_photos 目录,其中包含我举起各种手指的子目录。但是我收到了这个错误:
tensorflow.python.framework.errors_impl.NotFoundError: /Users/spencerkraisler/hand_photos/untitled folder; No such file or directory
我不明白为什么它在我的hand_photos目录中寻找一些无标题的文件夹,也不明白为什么它在flower_photos 上找到。
我正在使用当前的张量流和 python 3.6。我在anaconda 环境中,但这与flower_photos 配合得很好。
此外,flower_photos 只包含各种花卉照片的子目录,均为.jpg。我的照片也是.jpg 格式。
【问题讨论】:
标签: python tensorflow machine-learning conv-neural-network