🚨 Update image_processing_vitmatte.py (#30566)
* Update image_processing_vitmatte.py * add test * [run-slow]vitmatte
This commit is contained in:
@@ -192,3 +192,7 @@ class VitMatteImageProcessingTest(ImageProcessingTestMixin, unittest.TestCase):
|
||||
image = np.random.randn(3, 249, 491)
|
||||
images = image_processing.pad_image(image)
|
||||
assert images.shape == (3, 256, 512)
|
||||
|
||||
image = np.random.randn(3, 249, 512)
|
||||
images = image_processing.pad_image(image)
|
||||
assert images.shape == (3, 256, 512)
|
||||
|
||||
Reference in New Issue
Block a user