Vincentqyw/image-matching-webui

LightGlue gives errors

mikkelmedm opened this issue · 6 comments

Hello, and thanks for your great work!

I am having errors whenever trying to use any combination of LightGlue.
I.e.
File "/home/mikkel/image-matching-webui/hloc/matchers/../../third_party/LightGlue/lightglue/lightglue.py", line 349, in forward
kpts0
, kpts1_ = data0['keypoints'], data1['keypoints']
IndexError: too many indices for tensor of dimension 4

Hope you can help

Fixed! Pls try the latest commit.
image

Have also experience this error with a few models:
subprocess.CalledProcessError: Command '['gdown', 'https://drive.google.com/uc?id=1Thl6m8NcmQ7zSAF-1_xaFs3F4H8UU6HX&confirm=t', '-O', '/home/ubuntu/image-matching-webui/hloc/extractors/../../third_party/DarkFeat/checkpoints/DarkFeat.pth', '--proxy', 'http://localhost:1080']' returned non-zero exit status 1.

Will test LightGlue now :)

LightGlue works now!!
Thanks alot <3

Have also experience this error with a few models: subprocess.CalledProcessError: Command '['gdown', 'https://drive.google.com/uc?id=1Thl6m8NcmQ7zSAF-1_xaFs3F4H8UU6HX&confirm=t', '-O', '/home/ubuntu/image-matching-webui/hloc/extractors/../../third_party/DarkFeat/checkpoints/DarkFeat.pth', '--proxy', 'http://localhost:1080']' returned non-zero exit status 1.

You can manually download darkfeat model and put it to the folder third_party/DarkFeat/checkpoints/

Thanks for your help. Again, awesome project!