π Geometric Computer Vision Library for Spatial AI
Python artificial-intelligencecomputer-visiondeep-learninghacktoberfestimage-processingmachine-learningneural-networkpythonpytorchroboticsspatial-ai
fix lafs2 shape in docs (#2663)
Yingman Chen8891356e6111
diff --git a/kornia/feature/adalam/adalam.py b/kornia/feature/adalam/adalam.pyindex b85806b36..d8a1d5c04 100644--- a/kornia/feature/adalam/adalam.py+++ b/kornia/feature/adalam/adalam.py@@ -49,7 +49,7 @@ def match_adalam(desc1: Batch of descriptors of a shape :math:`(B1, D)`.desc2: Batch of descriptors of a shape :math:`(B2, D)`.lafs1: LAFs of a shape :math:`(1, B1, 2, 3)`.- lafs2: LAFs of a shape :math:`(1, B1, 2, 3)`.+ lafs2: LAFs of a shape :math:`(1, B2, 2, 3)`.config: dict with AdaLAM configdm: Tensor containing the distances from each descriptor in desc1to each descriptor in desc2, shape of :math:`(B1, B2)`.diff --git a/kornia/feature/integrated.py b/kornia/feature/integrated.pyindex 31d641b0e..4371967c3 100644--- a/kornia/feature/integrated.py+++ b/kornia/feature/integrated.py@@ -431,7 +431,7 @@ class LightGlueMatcher(GeometryAwareDescriptorMatcher):desc1: Batch of descriptors of a shape :math:`(B1, D)`.desc2: Batch of descriptors of a shape :math:`(B2, D)`.lafs1: LAFs of a shape :math:`(1, B1, 2, 3)`.- lafs2: LAFs of a shape :math:`(1, B1, 2, 3)`.+ lafs2: LAFs of a shape :math:`(1, B2, 2, 3)`.Return:- Descriptor distance of matching descriptors, shape of :math:`(B3, 1)`.diff --git a/kornia/feature/matching.py b/kornia/feature/matching.pyindex 2e83a8e47..82fad911a 100644--- a/kornia/feature/matching.py+++ b/kornia/feature/matching.py@@ -232,7 +232,7 @@ def match_fginn(desc1: Batch of descriptors of a shape :math:`(B1, D)`.desc2: Batch of descriptors of a shape :math:`(B2, D)`.lafs1: LAFs of a shape :math:`(1, B1, 2, 3)`.- lafs2: LAFs of a shape :math:`(1, B1, 2, 3)`.+ lafs2: LAFs of a shape :math:`(1, B2, 2, 3)`.th: distance ratio threshold.spatial_th: minimal distance in pixels to 2nd nearest neighbor.@@ -313,7 +313,7 @@ class DescriptorMatcher(Module):desc1: Batch of descriptors of a shape :math:`(B1, D)`.desc2: Batch of descriptors of a shape :math:`(B2, D)`.lafs1: LAFs of a shape :math:`(1, B1, 2, 3)`.- lafs2: LAFs of a shape :math:`(1, B1, 2, 3)`.+ lafs2: LAFs of a shape :math:`(1, B2, 2, 3)`.Return:- Descriptor distance of matching descriptors, shape of :math:`(B3, 1)`.@@ -360,7 +360,7 @@ class GeometryAwareDescriptorMatcher(Module):desc1: Batch of descriptors of a shape :math:`(B1, D)`.desc2: Batch of descriptors of a shape :math:`(B2, D)`.lafs1: LAFs of a shape :math:`(1, B1, 2, 3)`.- lafs2: LAFs of a shape :math:`(1, B1, 2, 3)`.+ lafs2: LAFs of a shape :math:`(1, B2, 2, 3)`.Return:- Descriptor distance of matching descriptors, shape of :math:`(B3, 1)`.