Skip to content

Instantly share code, notes, and snippets.

@amankharwal
Created November 24, 2020 08: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 amankharwal/ed88e3a3fd8ac8fa4d5508dedddf5d06 to your computer and use it in GitHub Desktop.
Save amankharwal/ed88e3a3fd8ac8fa4d5508dedddf5d06 to your computer and use it in GitHub Desktop.
datagen = ImageDataGenerator(
rotation_range=20,
zoom_range = 0.20,
width_shift_range=0.3,
height_shift_range=0.3,
horizontal_flip=True,
vertical_flip=True)
datagen.fit(X_train)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment