Commit a279730
[fbsync] [proto] Ported all transforms to the new API (#6305)
Summary:
* [proto] Added few transforms tests, part 1 (#6262)
* Added supported/unsupported data checks in the tests for cutmix/mixup
* Added RandomRotation, RandomAffine transforms tests
* Added tests for RandomZoomOut, Pad
* Update test_prototype_transforms.py
* Added RandomCrop transform and tests (#6271)
* [proto] Added GaussianBlur transform and tests (#6273)
* Added GaussianBlur transform and tests
* Fixing code format
* Copied correctness test
* [proto] Added random color transforms and tests (#6275)
* Added random color transforms and tests
* Disable smoke test for RandomSolarize, RandomAdjustSharpness
* Added RandomPerspective and tests (#6284)
- replaced real image creation by mocks for other tests
* Added more functional tests (#6285)
* [proto] Added elastic transform and tests (#6295)
* WIP [proto] Added functional elastic transform with tests
* Added more functional tests
* WIP on elastic op
* Added elastic transform and tests
* Added tests
* Added tests for ElasticTransform
* Try to format code as in #5106
* Fixed bug in affine get_params test
* Implemented RandomErase on PIL input as fallback to tensors (#6309)
Added tests
* Added image_size computation for BoundingBox.rotate if expand (#6319)
* Added image_size computation for BoundingBox.rotate if expand
* Added tests
* Added erase_image_pil and eager/jit erase_image_tensor test (#6320)
* Updates according to the review
Reviewed By: NicolasHug
Differential Revision: D38351755
fbshipit-source-id: 4b52b530f93c3dfa92326e01803665cb44003a63
Co-authored-by: Vasilis Vryniotis <[email protected]>1 parent 1732147 commit a279730
File tree
22 files changed
+1550
-88
lines changed- test
- torchvision
- prototype
- features
- transforms
- functional
- transforms
22 files changed
+1550
-88
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1352 | 1352 | | |
1353 | 1353 | | |
1354 | 1354 | | |
| 1355 | + | |
| 1356 | + | |
| 1357 | + | |
| 1358 | + | |
| 1359 | + | |
| 1360 | + | |
| 1361 | + | |
| 1362 | + | |
| 1363 | + | |
| 1364 | + | |
| 1365 | + | |
| 1366 | + | |
1355 | 1367 | | |
1356 | 1368 | | |
1357 | 1369 | | |
1358 | 1370 | | |
1359 | 1371 | | |
1360 | | - | |
1361 | | - | |
1362 | | - | |
1363 | | - | |
1364 | | - | |
| 1372 | + | |
1365 | 1373 | | |
1366 | 1374 | | |
1367 | 1375 | | |
| |||
0 commit comments