Skip to content
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

Add untransform #552

Merged
merged 4 commits into from
Jun 27, 2023
Merged

Add untransform #552

merged 4 commits into from
Jun 27, 2023

Conversation

fantaosha
Copy link
Contributor

Motivation and Context

How Has This Been Tested

Types of changes

  • Docs change / refactoring / dependency upgrade
  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have completed my CLA (see CONTRIBUTING)
  • I have added tests to cover my changes.
  • All new and existing tests passed.

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Jun 26, 2023
@fantaosha fantaosha requested review from luisenp and mhmukadam June 26, 2023 03:58
return [jacobian_g, jacobian_p], ret


class UntransformFrom(lie_group.BinaryOperator):
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

UntransformFrom -> Untransform ?

return [jacobian_g, jacobian_p], ret


class UntransformFrom(lie_group.BinaryOperator):
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

UntransformFrom -> Untransform ?

Copy link
Member

@mhmukadam mhmukadam left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. I am guessing CI fails for same reason the other transform PR is failing.

Copy link
Contributor

@luisenp luisenp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

+1 on replacing UntranformFrom -> Unstranform.

@@ -261,34 +261,8 @@ def transform_to(
jacobians: Optional[List[torch.Tensor]] = None,
) -> Point3:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mhmukadam Do we want to make a similar (future) change on theseus? If so, I can make this in another PR so that we add a deprecation message and an alias for the new names.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes in general it would ideal to make the naming consistent with torchlie so it isn't confusing. Sounds good on adding the deprecation warning.

@fantaosha fantaosha force-pushed the taoshaf.torchlie_transform branch from c87c4be to c52deba Compare June 27, 2023 15:14
@fantaosha fantaosha force-pushed the taoshaf.torchlie_untransform branch from 2b31997 to 567e51b Compare June 27, 2023 15:27
@fantaosha fantaosha force-pushed the taoshaf.torchlie_transform branch from 08083a3 to 85b0cb7 Compare June 27, 2023 15:42
@fantaosha fantaosha force-pushed the taoshaf.torchlie_untransform branch from 567e51b to 61f5382 Compare June 27, 2023 15:42
@fantaosha fantaosha force-pushed the taoshaf.torchlie_transform branch from 85b0cb7 to 2cd5aee Compare June 27, 2023 18:39
@fantaosha fantaosha force-pushed the taoshaf.torchlie_untransform branch from 61f5382 to 46a5b66 Compare June 27, 2023 18:41
Base automatically changed from taoshaf.torchlie_transform to main June 27, 2023 18:41
@fantaosha fantaosha merged commit 7aa021f into main Jun 27, 2023
@fantaosha fantaosha deleted the taoshaf.torchlie_untransform branch June 27, 2023 18:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants