Skip to content

🐍 Geometric Computer Vision Library for Spatial AI

[Fix] Fixed docs for some functions (#740)

cdowen8c338c2b37da
diff --git a/kornia/geometry/warp/depth_warper.py b/kornia/geometry/warp/depth_warper.py
index c21e91e71..5a4d713f8 100644
--- a/kornia/geometry/warp/depth_warper.py
+++ b/kornia/geometry/warp/depth_warper.py
@@ -35,7 +35,7 @@ class DepthWarper(nn.Module):
padding_mode (str): padding mode for outside grid values
'zeros' | 'border' | 'reflection'. Default: 'zeros'.
align_corners(bool): interpolation flag. Default: True. See
- https://pytorch.org/docs/stable/nn.functional.html#torch.nn.functional.interpolate for detail
+ https://pytorch.org/docs/stable/nn.functional.html#torch.nn.functional.interpolate for detail
"""
def __init__(self,
diff --git a/kornia/geometry/warp/homography_warper.py b/kornia/geometry/warp/homography_warper.py
index e27d07939..f3102de11 100644
--- a/kornia/geometry/warp/homography_warper.py
+++ b/kornia/geometry/warp/homography_warper.py
@@ -94,7 +94,7 @@ def homography_warp(patch_src: torch.Tensor,
padding_mode (str): padding mode for outside grid values
'zeros' | 'border' | 'reflection'. Default: 'zeros'.
align_corners(bool): interpolation flag. Default: False. See
- https://pytorch.org/docs/stable/nn.functional.html#torch.nn.functional.interpolate for detail
+ https://pytorch.org/docs/stable/nn.functional.html#torch.nn.functional.interpolate for detail
normalized_coordinates (bool): Whether the homography assumes [-1, 1] normalized
coordinates or not.