-
-
Save kkoehncke/1db9ee1c852cd1cb228600af5fe87875 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
from imgaug import augmenters as iaa | |
seq = iaa.Sequential([ | |
iaa.Fliplr(0.5), | |
iaa.Grayscale(1.0), | |
iaa.EdgeDetect(0.5), | |
iaa.Multiply((1.2, 1.5)) | |
]) | |
... | |
train_batch = seq.augment_images(train_data[i]) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment