I downloaded a jpg photo and called it "rosa" so I did the following:
root@xxxxxxxx:/tf_files# python label_image.py flower_photos/roses/rosa.jpg
But this error occurred:
Traceback (most recent call last):
File "label_image.py", line 11, in
image_data = tf.gfile.FastGFile(image_path, 'rb').read()
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/lib/io/file_io.py", line 115, in read
self._preread_check()
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/lib/io/file_io.py", line 75, in _preread_check
compat.as_bytes(self.__name), 1024 * 512, status)
File "/usr/lib/python2.7/contextlib.py", line 24, in exit
self.gen.next()
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/framework/errors_impl.py", line 466, in raise_exception_on_not_ok_status
pywrap_tensorflow.TF_GetCode(status))
tensorflow.python.framework.errors_impl.NotFoundError: flower_photos/roses/rosa.jpg
What can I do to train new images?