π Geometric Computer Vision Library for Spatial AI
Python artificial-intelligencecomputer-visiondeep-learninghacktoberfestimage-processingmachine-learningneural-networkpythonpytorchroboticsspatial-ai
fix depth warper test for python2.7
edgarriba748a4a1d4a7c
diff --git a/test/test_depth_warper.py b/test/test_depth_warper.pyindex 7f42fc0d0..004c288b6 100644--- a/test/test_depth_warper.py+++ b/test/test_depth_warper.py@@ -57,7 +57,7 @@ class Tester(unittest.TestCase):# compute errorres = utils.check_equal_torch(- patch_ref[..., :-int(offset), :-int(offset)],+ patch_ref[..., :int(height - offset), :int(width - offset)],patch_i[..., int(offset):, int(offset):])self.assertTrue(res)