mmcv/tests/test_image
Charlyo 7982dd1a06
Make sure padding size is not negative (#1792)
* Make sure padding size is not negative

If Resize maintains aspect ratio, could be the case that image shape is bigger than resize value.

* Test pad shape smaller than image shape

* Fix lint

* Remove whitespaces
2022-04-15 14:05:32 +08:00
..
test_colorspace.py [Docs] Add header for files (#1181) 2021-08-08 22:10:55 +08:00
test_geometric.py Make sure padding size is not negative (#1792) 2022-04-15 14:05:32 +08:00
test_image_misc.py [Feature]: Support tensor2grayimgs (#1595) 2021-12-22 19:49:50 +08:00
test_io.py [Feature] Add multi file backends to imread/imwrite. (#1527) 2021-12-14 14:37:21 +08:00
test_photometric.py Upgrade the version of isort (#1705) 2022-02-09 21:29:21 +08:00