-
Notifications
You must be signed in to change notification settings - Fork 128
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
Lie group checks should be silent for internal operations #486
Comments
I'd like to take a look at this, but from some cursory code-searching, it isn't immediately clear where the warning is occurring. Could you point me in the right direction and I can throw something together? |
Hi @jacoblubecki. Thanks for the offer to help! These checks happen here. Which is called in the base The first option that comes to mind is to extend the Happy to answer any questions. |
Thank you, this is perfect. I'll start taking a look! In the meantime, can you assign the ticket to me? |
Assigned. Thanks! |
## Problem The Manifold class will automatically normalize Tensors to make them valid for their associated Lie group. A warning is emitted when this occurs, which can be somewhat noisy and undesirable. Issue: facebookresearch#486 ## Solution Add setting to _LieGroupCheckContext which, when set to True, can be used in downstream code to suppress various warnings. ## Testing Ensure existing unit tests pass.
I created a draft pull request -- the |
When the outcome of something like
g1.compose(g2)
needs to be normalized, the current code throws a warning. However, this is overly informative for internal ops, and might result in an excessive/intrusive number of warnings. Better to keep these warnings only for when normalizing a user-given tensor at construction time.The text was updated successfully, but these errors were encountered: