.
= train_datagen.flow_from_directory(test_dir, target_size=(224, 224), batch_size=32, class_mode='categorical') #Found 7500 images belonging to 10 classes. #Found 2500 images belonging to 10 classes. Changing the Class Mode: When moving from binary classification (where class_mode=’binary’ was used)