Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 2 additions & 6 deletions pcdet/datasets/argo2/argo2_utils/so3.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,7 @@ def quat_to_mat(quat_wxyz: Tensor) -> Tensor:
Returns:
(...,3,3) 3D rotation matrices.
"""
return C.quaternion_to_rotation_matrix(
quat_wxyz, order=C.QuaternionCoeffOrder.WXYZ
)
return C.quaternion_to_rotation_matrix(quat_wxyz)


# @torch.jit.script
Expand All @@ -31,9 +29,7 @@ def mat_to_quat(mat: Tensor) -> Tensor:
Returns:
(...,4) Scalar first quaternions.
"""
return C.rotation_matrix_to_quaternion(
mat, order=C.QuaternionCoeffOrder.WXYZ
)
return C.rotation_matrix_to_quaternion(mat)


@torch.jit.script
Expand Down