π Geometric Computer Vision Library for Spatial AI
Python artificial-intelligencecomputer-visiondeep-learninghacktoberfestimage-processingmachine-learningneural-networkpythonpytorchroboticsspatial-ai
fix comment in angle_axis_to_rotation_matrix (#864)
Gu Wang4bb572172b14
diff --git a/kornia/geometry/conversions.py b/kornia/geometry/conversions.pyindex 8fa0aa8b2..79066068c 100644--- a/kornia/geometry/conversions.py+++ b/kornia/geometry/conversions.py@@ -289,7 +289,7 @@ def angle_axis_to_rotation_matrix(angle_axis: torch.Tensor) -> torch.Tensor:# fill output matrix with masked valuesrotation_matrix[..., :3, :3] = \mask_pos * rotation_matrix_normal + mask_neg * rotation_matrix_taylor- return rotation_matrix # Nx4x4+ return rotation_matrix # Nx3x3def rotation_matrix_to_angle_axis(