-
-
Save Karts27/760023c0ccd8a66ede4497c41df1fe8a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
batch_size = 20 | |
training_images = train_image_generator.flow_from_directory(train_path, | |
target_size = (64,64), | |
class_mode = 'categorical', | |
batch_size = batch_size, | |
classes = os.listdir(train_path), | |
subset = 'training', | |
shuffle = True | |
#color_mode="grayscale" | |
) | |
validation_images = train_image_generator.flow_from_directory(train_path, | |
target_size = (64,64), | |
class_mode = 'categorical', | |
batch_size = batch_size, | |
classes = os.listdir(train_path), | |
subset = 'validation', | |
shuffle = True | |
#color_mode="grayscale" | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment