You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
~/Desktop/tensorflow_image_classifier-master/Code$ python retrain.py --image_dir ~/flower_photos
WARNING: Logging before flag parsing goes to stderr.
W0603 21:21:06.534612 140672247924544 deprecation_wrapper.py:119] From retrain.py:1346: The name tf.app.run is deprecated. Please use tf.compat.v1.app.run instead.
W0603 21:21:06.535128 140672247924544 deprecation_wrapper.py:119] From retrain.py:979: The name tf.logging.FATAL is deprecated. Please use tf.compat.v1.logging.FATAL instead.
W0603 21:21:06.535294 140672247924544 deprecation_wrapper.py:119] From retrain.py:980: The name tf.logging.ERROR is deprecated. Please use tf.compat.v1.logging.ERROR instead.
W0603 21:21:06.535449 140672247924544 deprecation_wrapper.py:119] From retrain.py:981: The name tf.logging.WARN is deprecated. Please use tf.compat.v1.logging.WARN instead.
W0603 21:21:06.535599 140672247924544 deprecation_wrapper.py:119] From retrain.py:982: The name tf.logging.INFO is deprecated. Please use tf.compat.v1.logging.INFO instead.
W0603 21:21:06.535734 140672247924544 deprecation_wrapper.py:119] From retrain.py:983: The name tf.logging.DEBUG is deprecated. Please use tf.compat.v1.logging.DEBUG instead.
W0603 21:21:06.535892 140672247924544 deprecation_wrapper.py:119] From retrain.py:918: The name tf.gfile.Exists is deprecated. Please use tf.io.gfile.exists instead.
W0603 21:21:06.536046 140672247924544 deprecation_wrapper.py:119] From retrain.py:919: The name tf.gfile.DeleteRecursively is deprecated. Please use tf.io.gfile.rmtree instead.
W0603 21:21:06.827493 140672247924544 deprecation_wrapper.py:119] From retrain.py:920: The name tf.gfile.MakeDirs is deprecated. Please use tf.io.gfile.makedirs instead.
E0603 21:21:06.827811 140672247924544 retrain.py:165] Image directory '/home/ai/flower_photos' not found.
Traceback (most recent call last):
File "retrain.py", line 1346, in <module>
tf.app.run(main=main, argv=[sys.argv[0]] + unparsed)
File "/home/ai/.local/lib/python2.7/site-packages/tensorflow/python/platform/app.py", line 40, in run
_run(main=main, argv=argv, flags_parser=_parse_flags_tolerate_undef)
File "/home/ai/.local/lib/python2.7/site-packages/absl/app.py", line 300, in run
_run_main(main, args)
File "/home/ai/.local/lib/python2.7/site-packages/absl/app.py", line 251, in _run_main
sys.exit(main(argv))
File "retrain.py", line 1009, in main
class_count = len(image_lists.keys())
AttributeError: 'NoneType' object has no attribute 'keys'
Please help, thank you.
The text was updated successfully, but these errors were encountered:
Please help, thank you.
The text was updated successfully, but these errors were encountered: