I am getting no error but the training and validation accuracy and loss all are zero.
Epoch 2/5 92/92 [==============================] - 11s 122ms/step - loss: 0.0000e+00 - accuracy: 1.0000 - val_loss: 0.0000e+00 - val_accuracy: 1.0000
Check the folder structure you have given to your ImageDatasetGenerator of image_dataset_from_directory function.
Probably you images are deep in subfolders, and these objects look only at first level of folder structure.
No comments:
Post a Comment