8000 Added RoMa by travisdriver · Pull Request #812 · borglab/gtsfm · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Added RoMa #812

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

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

Added RoMa #812

wants to merge 3 commits into from

Conversation

travisdriver
Copy link
Collaborator

No description provided.

@travisdriver travisdriver requested a review from Copilot July 9, 2025 13:53
Copy link
@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR integrates the RoMa dense feature matcher into the codebase and updates the correspondence generation pipeline to allow configurable keypoint aggregation.

  • Adds RoMa as a git submodule and updates .gitmodules.
  • Implements RoMa matcher in gtsfm/frontend/matcher/roma.py.
  • Refactors ImageCorrespondenceGenerator to accept a aggregator parameter and updates config files for RoMa and LoFTR.

Reviewed Changes

Copilot reviewed 6 out of 7 changed files in this pull request and generated no comments.

Show a summary per file
File Description
thirdparty/RoMa Added RoMa submodule reference
gtsfm/frontend/matcher/roma.py New RoMa image matcher implementation
gtsfm/frontend/correspondence_generator/image_correspondence_generator.py Updated constructor to take a KeypointAggregator
gtsfm/configs/correspondence/roma.yaml Configuration for RoMa-based correspondence generator
gtsfm/configs/correspondence/loftr.yaml Added aggregator config key for LoFTR generator
.gitmodules Registered thirdparty/RoMa submodule
Comments suppressed due to low confidence (4)

gtsfm/frontend/matcher/roma.py:34

  • The docstring refers to use_outdoor_model, but the constructor parameter is named use_indoor_model. Update the doc or parameter name for consistency.
            use_outdoor_model (optional): use the outdoor pretrained model. Defaults to True.

gtsfm/frontend/matcher/roma.py:36

  • The docstring default for min_confidence (0.95) does not match the code default (0.1). Please correct the documented default value.
            min_confidence(optional): Minimum confidence required for matches. Defaults to 0.95.

gtsfm/configs/correspondence/loftr.yaml:6

  • The key matcher_obj is inconsistent with ImageCorrespondenceGenerator's constructor argument matcher. Rename this to matcher to match the expected parameter name.
    matcher_obj:

gtsfm/frontend/matcher/roma.py:1

  • Consider adding unit tests for the new RoMa matcher to validate integration, output shapes, and parameter configurations.
"""RoMa image matcher.

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.

1 participant
0