Update warp test to verify output shape
This commit is contained in:
@@ -56,7 +56,7 @@ class MyTestCase(unittest.TestCase):
|
||||
disp = tf.random.uniform([1, height, width]) * 255
|
||||
pose = tf.random.uniform([1, 6])
|
||||
|
||||
warp.projective_inverse_warp(img, disp, pose, intrinsics, coords)
|
||||
self.assertEqual(warp.projective_inverse_warp(img, disp, pose, intrinsics, coords).shape, img.shape)
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
|
||||
Reference in New Issue
Block a user