Skip to content

Instantly share code, notes, and snippets.

@kamal2230

kamal2230/mc6.py Secret

Created October 11, 2020 07:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kamal2230/3afaa5914f93db15bb342c5cf132ecf3 to your computer and use it in GitHub Desktop.
Save kamal2230/3afaa5914f93db15bb342c5cf132ecf3 to your computer and use it in GitHub Desktop.
validation_datagen = ImageDataGenerator(rescale=1./255)
validation_generator = validation_datagen.flow_from_directory(
test_dir,
target_size = (150, 150),
class_mode = 'categorical',
batch_size = 20
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment