Repository navigation
Add LoMa - #63
Add LoMa#63
Conversation
|
@gmberton are you using 0.5 or 0.0 topleft pixel center? Now no tyro import btw |
|
Thank you both! We try to touch the models as little as possible so each method uses a different convention. I'll merge in a few days |
|
@Parskatt I think you ask bc of this rescaling, And if a different convention, then there will be slight differences in kpt locations. So to answer the question, 0.0 top left px center. I think you usually use 0.5, right? in which case, we might want to adjust the kpts or add a brach to the function to do top left 0.5. |
|
@davnords looking good! do you want to merge now and add do a separate PR for LoMa-R, or update this PR with LoMA-R? My slight preference would be to update this one but would be happy either way. If updating this one, be sure to update the submodule to point to the latest commit of LoMa which has the -R model. thanks for adding this! really excited about this work. |
|
Yep, we use COLMAP convention. Easiest I guess is to subtract 0.5. |
|
Ok, lets add that subtraction in the PR here and I'll put in another MR shortly that adds an option for convention in the That'll be a bit more of a chore bc will need to review which matchers use which convention so should be done separate from this. |
|
@alexstoken thanks for your interest in our work, glad it can be of use. Hold off on merging, I'll update this one with LoMa-R and make sure to also point the submodule to the latest commit. |
|
@alexstoken I'll also subtract the 0.5 |
|
thanks for both! @davnords |
|
Updated the PR with the above requested changes. NoteWhen running However, the weights are not loaded from HF but instead auto-installed from a GitHub release. I thus ignored it. |
|
Thank you! That warning is because we use HF "dummy" downloads to track model use stats . I'll add the bits for model tracking tomorrow, then we'll be ready to merge. |
Attempt to add the LoMa matcher from LoMa: Local Feature Matching Revisited.
/ David