Wednesday, May 12, 2021

 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

How to check local and global angular versions

 Use the command ng version (or ng v ) to find the version of Angular CLI in the current folder. Run it outside of the Angular project, to f...