[Bug] angle_axis_to_rotation_matrix can not be backward
See original GitHub issue❓ Questions and Help
I want to use the angle_axis_to_rotation_matrix as a function in the pytorch pipline, the demo code is as follows:
import torch
import torchgeometry as tgm
x = torch.zeros(1, 3, requires_grad=True) # Nx3
input = tgm.deg2rad(x)
output = tgm.angle_axis_to_rotation_matrix(input) # Nx4x4
output.mean().backward()
print(x.grad)
then the result is as follows:
tensor([[nan, nan, nan]])
Issue Analytics
- State:
- Created 3 years ago
- Comments:9 (4 by maintainers)
Top Results From Across the Web
Conduct AngleAxisToRotationMatirx on part of a double arrray ...
1 Answer 1 ... Yeah, I see. But the issue is, xs is an array of 18 elements, while AngleAxisToRotationMatrix requires a pointer...
Read more >ceres-solver/rotation_test.cc at master - GitHub
// Takes a bunch of random axis/angle values, converts them to quaternions,. // and back again. TEST(Rotation, AngleAxisToQuaterionAndBack) ...
Read more >Yet another rotation quandary - Google Groups
As a fiducial test I am making re-computing the errors with rotation matrices made from the final angles. The results agree best (though...
Read more >examples/libmv_bundle_adjuster.cc - ceres-solver - Git at ...
// - Camera translation, 3-component vector of float values. //. // Image number shall be greater or equal to zero. Order of cameras...
Read more >Skyrim patch bug if you angle Move backwards, then try to move
First, be aware it doesn't work like pre-patch Skyrim. You no longer can move backwards by angling backwards and pressing the Move button....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Sure thing, I’ll toss it on the todo list.
@Zju-George worth checking/suggesting in https://github.com/kornia/kornia/pull/926