Guest User

Untitled

a guest
Jan 22nd, 2019
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. # initialize the training data augmentation object
  2. # randomly shifts, translats, and flips each training sample
  3. trainAug = ImageDataGenerator(
  4. rescale=1 / 255.0,
  5. rotation_range=20,
  6. zoom_range=0.05,
  7. width_shift_range=0.05,
  8. height_shift_range=0.05,
  9. shear_range=0.05,
  10. horizontal_flip=True,
  11. fill_mode="nearest")
Add Comment
Please, Sign In to add comment