After training the model, the “valid_loss” and “metric” sections are all “None” which suggests that the test data was not included in the training. The test directory contains just the images; the images are not in any sub-directories like the train directory.
I also get a warning which says “Your generator is empty”.
What do I do? I have been stuck on this for a while. Thank you.
I think the issue is that you have not labeled the data being used for the validation set (the test folder), so parent_label is not returning the classes of pothole and road, which are needed when calculating validation loss and metrics. I suggest trying a folder structure as follows: