Skip to content
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

sift+lightglue #122

Open
LXXIANG12 opened this issue Apr 16, 2024 · 5 comments
Open

sift+lightglue #122

LXXIANG12 opened this issue Apr 16, 2024 · 5 comments

Comments

@LXXIANG12
Copy link

sift描述符是128维,lightglue描述符是256维,我该怎么使用SIFT+lightglue呢?

@pxy522
Copy link

pxy522 commented Apr 16, 2024

好像训练的时候可以改

@LXXIANG12
Copy link
Author

LXXIANG12 commented Apr 16, 2024

希望训练的时候可以修改

官方公布了SIFT+lightglue的预训练权重,我想先用这个模型试试看效果,但是使用过程报错了
image
以下是我的示例:
image
我第一次使用不知道改哪里

@pxy522
Copy link

pxy522 commented Apr 16, 2024

image
zh
这?

@LXXIANG12
Copy link
Author

抱歉,改这里好像不行
image

@Phil26AT
Copy link
Collaborator

If I understand your issue correct (please post your issues in english), you want to use SIFT with LightGlue. You need to load the correct weights in LightGlue, with:

extractor = SIFT(max_num_keypoints=None).eval().cuda()  # load the extractor
matcher = LightGlue(features='sift').eval().cuda()  # load the matcher

Note that you need to specify which weights to load in the constructor of LightGlue (the SIFT setup is defined here).

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

No branches or pull requests

3 participants