π Geometric Computer Vision Library for Spatial AI
Python artificial-intelligencecomputer-visiondeep-learninghacktoberfestimage-processingmachine-learningneural-networkpythonpytorchroboticsspatial-ai
Add mark.xfail in find_homography_dlt gradcheck (#882)
Edgar Ribaaad92c33e372
diff --git a/test/geometry/test_homography.py b/test/geometry/test_homography.pyindex 3cb0f926f..ad2a64d56 100644--- a/test/geometry/test_homography.py+++ b/test/geometry/test_homography.py@@ -64,6 +64,7 @@ class TestFindHomographyDLT:assert_allclose(kornia.transform_points(dst_homo_src, points_src), points_dst, rtol=1e-3, atol=1e-4)+ @pytest.mark.xfail(reason='May raise checkIfNumericalAnalyticAreClose.')@pytest.mark.graddef test_gradcheck(self, device, dtype):points_src = torch.rand(1, 10, 2, device=device, dtype=torch.float64, requires_grad=True)