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 GNC rotation averaging #759

Open
wants to merge 15 commits into
base: master
Choose a base branch
from
Open

Conversation

travisdriver
Copy link
Collaborator

No description provided.

@travisdriver travisdriver marked this pull request as draft December 20, 2023 16:39
@travisdriver travisdriver marked this pull request as draft December 20, 2023 16:39
@travisdriver
Copy link
Collaborator Author

travisdriver commented Dec 20, 2023

Shonan weighted by # of inlier matches (IW-Shonan)

Huge improvements across the board.

**The CI failed for Place of Fine Arts due to memory issues during the Shonan optimization step (had to increase p_max), but I was able to run it just fine on my desktop and Shonan optimization only took a fraction of a second.

newplot (27)

visual_comparison_dashboard.zip

@travisdriver
Copy link
Collaborator Author

@dellaert Is there any other way to enable the Huber loss for Shonan other than the setUseHuber parameter? From what I can tell, the current API doesn't allow us to tune the parameter k for the Huber loss, which defaults to 1.345. Also, how was this default value determined?

@travisdriver travisdriver marked this pull request as ready for review December 21, 2023 00:05
@travisdriver
Copy link
Collaborator Author

IW-Shonan w/ Huber Loss

Huber is still not effective.

newplot (29)

visual_comparison_dashboard.zip

- https://arxiv.org/abs/2008.02737
- https://gtsam.org/

Authors: Jing Wu, Ayush Baid, John Lambert
Copy link
Collaborator

Choose a reason for hiding this comment

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

nit: could you update the author list to your name?

@@ -0,0 +1,238 @@
"""Shonan Rotation Averaging.
Copy link
Collaborator

Choose a reason for hiding this comment

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

Can we update the module docstring here? Seems stale currently.

_DEFAULT_TWO_VIEW_ROTATION_SIGMA = 1e-1


class CombinedShonanGncRotationAveraging(RotationAveragingBase):
Copy link
Collaborator

Choose a reason for hiding this comment

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

Can we add a file with unit tests for this class?

_DEFAULT_TWO_VIEW_ROTATION_SIGMA = 1.0


class GncRotationAveraging(RotationAveragingBase):
Copy link
Collaborator

Choose a reason for hiding this comment

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

Can we add a file with unit tests for this class?

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.

None yet

2 participants