-
Notifications
You must be signed in to change notification settings - Fork 7.1k
Closed
Description
Related tracker issue: #5754
Functional transforms for segmentation masks
The idea is to implement the following low-level functional transforms for segmentation masks:
https://github.com/pytorch/vision/blob/main/torchvision/prototype/transforms/functional/_geometry.py
- affine_segmentation_mask (@vfdev-5) [proto] Added functional affine_segmentation_mask op #5613
- rotate_segmentation_mask (@vfdev-5) [proto] Added functional
rotate_segmentation_mask
op #5692 - perspective_segmentation_mask (@vfdev-5) [proto] Added functional
perspective_bounding_box/segmentation_mask
ops #5888 - center_crop_segmentation_mask (@federicopozzi33) feat: add functional center crop on mask #5961
- crop_segmentation_mask (@vfdev-5) Added
crop_segmentation_mask
op #5851 - resized_crop_segmentation_mask (@vfdev-5) Added
resized_crop_segmentation_mask
op #5855 - pad_segmentation_mask (@federicopozzi33) feat: add functional pad on segmentation mask #5866, need more tests: https://github.com/pytorch/vision/pull/5866/files#r859158083 -> [proto] Added tests for other padding modes #6104
- vertical_flip_segmentation_mask (@federicopozzi33) test: add functional vertical flip tests on segmentation mask #5860, refactor: port RandomVerticalFlip to prototype API (#5524) #5633
How to test the implementation ?
Put tests into test/test_prototype_transforms_functional.py
:
- correctness test
- eager vs scripted
- scriptable
- check on cpu and cuda
Metadata
Metadata
Assignees
Labels
No labels