-
Notifications
You must be signed in to change notification settings - Fork 26
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
Crash when no matches are found #6
Comments
Hi Torsten, I pushed some bugfix code, can you try to see whether the problem is fixed now? |
Hi Qunjie, Many thanks. I can run Patch2Pix both with and without SuperGlue in the
Another question: I observed for Patch2Pix (without SuperGlue) that sometimes the x- or y-coordinate of a feature can be beyond the image size (e.g., I have an image with 800 pixels in the x-direction and get a feature with a x-coordinate of 800). Is this a potential bug? Or an indexing (1-based vs. 0-based) convention? |
Hi Torsten, So in patch2pix_superglue.yml, there are default and coarse_default configs:
And they define the followings:
So if you want to use patch2pix with superglue on another dataset, you will need to define a config for that dataset.
I am not sure this answers your 1st question. Regarding the 2nd question, so the feature should be 0-index based. So if your image is 800x800, the x and y should be <=799. I feel this might be a bug somewhere. Could you provide the sample so that i can reproduce this for debugging? |
Thanks for the detailed answer. This answers my first question. Maybe this is also something to put on the website? I will try to share the example per email. If you don't hear back from me in the next two weeks, please ping me. |
Hi Qunjie,
Thanks for releasing the code!
I observed a test-time crash that happens when there are no matches found. The trace is
Here, I am using your image matching toolbox to use patch2pix with superglue features to match two images.
Do you know what the best fix would be?
The text was updated successfully, but these errors were encountered: