-
Notifications
You must be signed in to change notification settings - Fork 31.3k
Remove test inheritance for EfficientLoftr, rename KeypointMatchingOutput to model specific name #42365
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
Remove test inheritance for EfficientLoftr, rename KeypointMatchingOutput to model specific name #42365
Conversation
…inheritance, remove irrelevant test
|
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. |
molbap
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok for the renaming. So we remove test inheritance for now? I thought we were ok with that (in tests ONLY of course) at some point. OK either way
vasqu
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| loss = None | ||
| return EfficientLoFTRKeypointMatchingOutput( | ||
| loss=loss, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we always have a loss of None? It's a bit weird to me but maybe training here just isn't supported
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes just kept if for API consistency, but training isn't supported
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Trusting you on this :D
|
[For maintainers] Suggested jobs to run (before merge) run-slow: efficientloftr, lightglue, superglue |
What does this PR do?
Remove inheritance in efficient loftr tests (following #42327). Also fix source of the issue, KeypointMatchingOutput is different for each keypoint matching model, so rename it to model-specific names.