π Geometric Computer Vision Library for Spatial AI
Python artificial-intelligencecomputer-visiondeep-learninghacktoberfestimage-processingmachine-learningneural-networkpythonpytorchroboticsspatial-ai
test transform points module
edgarribaa28f95f163f2
diff --git a/test/test_transformations.py b/test/test_transformations.pyindex 99d4e050f..2a2da7912 100644--- a/test/test_transformations.py+++ b/test/test_transformations.py@@ -78,7 +78,7 @@ class TestTransformPoints:# evaluate function gradientpoints_src = utils.tensor_to_gradcheck_var(points_src) # to vardst_homo_src = utils.tensor_to_gradcheck_var(dst_homo_src) # to var- assert gradcheck(tgm.transform_points, (dst_homo_src, points_src,),+ assert gradcheck(tgm.TransformPoints(dst_homo_src), (points_src,),raise_exception=True)diff --git a/torchgeometry/core/depth_warper.py b/torchgeometry/core/depth_warper.pyindex 29abf9468..8aa76b3b2 100644--- a/torchgeometry/core/depth_warper.py+++ b/torchgeometry/core/depth_warper.py@@ -19,7 +19,7 @@ __all__ = [class DepthWarper(nn.Module):- """Warps a patch by depth.+ r"""Warps a patch by depth... math::P_{src}^{\{dst\}} = K_{dst} * T_{src}^{\{dst\}}