Skip to content

Conversation

@zitongzhan
Copy link
Contributor

Fix #319

@zitongzhan zitongzhan marked this pull request as draft December 25, 2023 19:25
@zitongzhan zitongzhan marked this pull request as ready for review December 25, 2023 19:26
@wang-chen
Copy link
Member

Suggest to fix all lietensor operations. For example:

def func(pose, points):
    return pose.Exp() @ points
pose = pp.randn_se3(1)
points = torch.randn(1, 3)
jacobian = pp.func.jacrev(func)(pose, points)
assert not pp.hasnan(jacobian)

@zitongzhan
Copy link
Contributor Author

The fix is applied to all lietensor ops

@zitongzhan zitongzhan requested a review from wang-chen December 26, 2023 18:50
@zitongzhan zitongzhan merged commit 9729879 into main Dec 26, 2023
@zitongzhan zitongzhan deleted the func/fix_inv branch December 26, 2023 18:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Error when using pp.func.jacrev

3 participants