Add Rotate Augmentation. (#3619)
* add Rotate augmentation init * add coco_dummy data for unit test of augmentations * add coco_dummy data for unit test of augmentations * add Rotate augmentation * remove duplicated warpAffine declaration. * remove unnecessary coco_dummy folder * re-implements rotate augmentation upon mmcv.imrotate * fix uint test * reformat * add supports for PolygonMasks * handle __init__ conflicts * unchange * pull from master and merge rotate.py into auto_augment.py * add unit test for autoaugment equipped with rotate * move random_negative_prob to self and reformat assertion message
Showing
- mmdet/core/mask/structures.py 81 additions, 0 deletionsmmdet/core/mask/structures.py
- mmdet/datasets/pipelines/__init__.py 3 additions, 2 deletionsmmdet/datasets/pipelines/__init__.py
- mmdet/datasets/pipelines/auto_augment.py 215 additions, 0 deletionsmmdet/datasets/pipelines/auto_augment.py
- tests/test_data/test_rotate.py 224 additions, 0 deletionstests/test_data/test_rotate.py
tests/test_data/test_rotate.py
0 → 100644
Please register or sign in to comment