Skip to content

Instantly share code, notes, and snippets.

@aniruddha27
Last active August 10, 2020 07:34
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 aniruddha27/8281638604ef6e4e8bdc4c171fbdc526 to your computer and use it in GitHub Desktop.
Save aniruddha27/8281638604ef6e4e8bdc4c171fbdc526 to your computer and use it in GitHub Desktop.
# Augmentation
train_datagen = ImageDataGenerator(rotation_range=5, # rotation
width_shift_range=0.2, # horizontal shift
zoom_range=0.2, # zoom
horizontal_flip=True, # horizontal flip
brightness_range=[0.2,0.8]) # brightness
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment