nicknochnack / ImageClassification

Jupyter notebook showing how to build an image classifier with Python and Tensorflow
391 stars 397 forks source link

Data directory not found #10

Closed ps3460 closed 5 months ago

ps3460 commented 6 months ago

https://github.com/nicknochnack/ImageClassification/blob/ecbc2b219606c4153bdec47cd07f6ab00652c6d6/Getting%20Started.ipynb#L164

NotFoundError Traceback (most recent call last) in <cell line: 1>() ----> 1 data = tf.keras.utils.image_dataset_from_directory('data')

2 frames /usr/local/lib/python3.10/dist-packages/tensorflow/python/lib/io/file_io.py in list_directory_v2(path) 766 """ 767 if not is_directory(path): --> 768 raise errors.NotFoundError( 769 node_def=None, 770 op=None,

NotFoundError: Could not find directory data

ps3460 commented 5 months ago

User error