Created
September 1, 2020 13:07
-
-
Save kevakba/62f189e5d04ecbe7acbd5241bf56e3bf 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
image_gen_val = ImageDataGenerator(rescale=1./255) | |
val_data_gen = image_gen_val.flow_from_directory(batch_size=batch_size, | |
directory=val_dir, | |
target_size=(img_width,img_height), color_mode='grayscale', | |
class_mode='sparse') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment