New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug: using a non-diagonal metric matrix at identity yields the same geodesics every time #1884
Comments
@psarahdactyl, following the code flow, the reason for the independence of the geodesics is the way @nguigs, @ninamiolane, is this the expected behavior? |
Thanks for the quick answer! No, that is not the expected behavior. Paper: https://arxiv.org/pdf/2103.01585.pdf. If possible: let's see if we can use @nguigs 's code for non-diagonal metric matrix? |
The theory indeed should work in general, but the implementation is for diagonal metric only because of
|
To extend to non-diagonal matrices we simply need to get the basis representation from the Lie algebra and perform the "normal" computations, right @nguigs? Is there any other part of the code that needs to be updated? |
Describe the bug
I am using an InvariantMetric equipped on SO3 to compute a geodesic between two points. Besides not being able to equip the metric using the function
geometry.manifold.Manifold.equip_with_metric
from here, if I set themetric_mat_at_identity
to a matrix with non-zero off-diagonal values, I get the same geodesic no matter what the values are.Steps/Code to Reproduce
Expected Behaviour
I expect different geodesics to be produced from different metrics.
Actual Behaviour
I get the same geodesic every iteration.
If I try to equip the metric with this line
I get this error:
Your environment
The text was updated successfully, but these errors were encountered: