KEMBAR78
Add Keypoint Matcher pipeline by sbucaille · Pull Request #39970 · huggingface/transformers · GitHub
Skip to content

Conversation

@sbucaille
Copy link
Contributor

What does this PR do?

Implements keypoint-matcher pipeline.

Quite basic for now, let me know if I should add things.
I added tests to have single and multiple pairs as well as checking it correctly fails when there is only one image provided.
Committed on top of #39968 but will be rebased on main once the fix is merged

Before submitting

  • This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
  • Did you read the contributor guideline,
    Pull Request section?
  • Was this discussed/approved via a Github issue or the forum? Please add a link
    to it if that's the case.
  • Did you make sure to update the documentation with your changes? Here are the
    documentation guidelines, and
    here are tips on formatting docstrings.
  • Did you write any new necessary tests?

Who can review?

@qubvel @stevhliu

Copy link
Member

@stevhliu stevhliu left a comment

Choose a reason for hiding this comment

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

Super nice! On the docs side, would you also like to update SuperPoint, SuperGlue, and LightGlue with the new pipeline?

@sbucaille
Copy link
Contributor Author

@stevhliu I've added docs to SuperGlue, LightGlue and EfficientLoFTR (SuperPoint is a keypoint detector, not matcher, so it does not fall in the scope)

Copy link
Contributor

@qubvel qubvel left a comment

Choose a reason for hiding this comment

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

Very nice, thanks for the addition of the pipeline 🔥 Great work, let's also enable pipeline tests for superglue, lightglue, efficientloftr

@github-actions
Copy link
Contributor

github-actions bot commented Aug 9, 2025

[For maintainers] Suggested jobs to run (before merge)

run-slow: superglue

@sbucaille sbucaille force-pushed the keypoint-matcher-pipeline branch from d7b18a0 to ae27538 Compare August 9, 2025 17:53
@sbucaille
Copy link
Contributor Author

@qubvel didn't mean to do this review thing 😅 anyway can you enlightned me on this question ?

@sbucaille
Copy link
Contributor Author

@qubvel addressed the run_pipeline_test comment

@qubvel qubvel requested review from Rocketknight1 and qubvel August 20, 2025 10:07
@qubvel
Copy link
Contributor

qubvel commented Aug 20, 2025

cc @Rocketknight1 for review

@HuggingFaceDocBuilderDev

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

@sbucaille sbucaille force-pushed the keypoint-matcher-pipeline branch from d8f7eff to 130b337 Compare August 25, 2025 16:55
Copy link
Member

@Rocketknight1 Rocketknight1 left a comment

Choose a reason for hiding this comment

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

PR looks good to me and tests seem clean! I made one comment but it's a nit, so feel free to ignore it.

@qubvel qubvel self-requested a review August 26, 2025 14:13
@qubvel qubvel merged commit 78f32c3 into huggingface:main Aug 26, 2025
24 checks passed
@sbucaille sbucaille deleted the keypoint-matcher-pipeline branch August 26, 2025 14:36
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.

5 participants