-
-
Save Shubhamai/5178677e5b027f1e1939a966d1789748 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
datagen = keras.preprocessing.image.ImageDataGenerator( | |
rescale=1./255, # Rescaling Image | |
zca_whitening=False, # apply ZCA whitening | |
rotation_range=180, # randomly rotate images in the range (degrees, 0 to 180) | |
zoom_range = 0.15, # Randomly zoom image | |
width_shift_range=0.15, # randomly shift images horizontally (fraction of total width) | |
height_shift_range=0.15, # randomly shift images vertically (fraction of total height) | |
horizontal_flip=True, # randomly flip images | |
vertical_flip=True) # randomly flip images |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment