Skip to main content

Module augment

Module augment 

Source

Structsยง

ColorJitter
Randomly adjust brightness and contrast.
RandomCrop
Randomly crop an image to [crop_h, crop_w], optionally with zero-padding.
RandomErasing
Erase a random rectangular region, replacing with a constant value.
RandomHorizontalFlip
Randomly flip an image horizontally with probability p.
RandomNoise
Add Gaussian noise to features: x' = x + N(0, std).
RandomVerticalFlip
Randomly flip an image vertically with probability p.