FCOS icon indicating copy to clipboard operation
FCOS copied to clipboard

how to add image augmentations

Open gitTaner opened this issue 4 years ago • 1 comments

transform = T.Compose( [ T.Resize(min_size, max_size), T.RandomHorizontalFlip(flip_prob), T.ToTensor(), normalize_transform, ] there are only aumentations like image resize, rotate etc i want to add some augmentations about image color, how to achieve it? thanks

gitTaner avatar Oct 26 '20 01:10 gitTaner

Hello, I find it in the maskrcnn transforms : https://github.com/facebookresearch/maskrcnn-benchmark/blob/master/maskrcnn_benchmark/data/transforms/transforms.py

pp00704831 avatar Dec 29 '20 13:12 pp00704831