The dataset issues. 1. Wrong class labels in "000377.xml" file, change the "dog" to "hat". 2. Change image files from ".JPG" to ".jpg" for model training and validation.
The dataset issues.