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

xfeat+lg inference error #40

Open
the-cat-crying opened this issue Jul 23, 2024 · 8 comments
Open

xfeat+lg inference error #40

the-cat-crying opened this issue Jul 23, 2024 · 8 comments

Comments

@the-cat-crying
Copy link

image

@guipotje
Copy link
Collaborator

guipotje commented Aug 6, 2024

Hi @the-cat-crying , please check if the images were loaded correctly, and if the keypoint set from both images have some detected keypoints.

@the-cat-crying
Copy link
Author

@guipotje Thanks for the solution, but I'm using the picture of your repository, so I don't know what the problem is, xfeat can reason successfully, I'm using the code in your notebooks.

@guipotje
Copy link
Collaborator

Hmm, that's curious @the-cat-crying. Are you able to run the xfeat+lg example on Google Colab?

@the-cat-crying
Copy link
Author

I'll try!

@jackersson
Copy link

The problem was in outdated torch version. For example, same code worked with torch==2.4.0 and didn't with torch==2.1.0+cu121

@the-cat-crying
Copy link
Author

Thanks ! @jackersson.
My torchversion is torch-1.11.0+cu113.
Is it not possible to use the GPU version?
What about yours?

@jackersson
Copy link

jackersson commented Aug 22, 2024

My version is latest stable 2.4.0 with CUDA 12.1 support. I was able to run both on CPU and GPU. Older versions didn't work

@the-cat-crying
Copy link
Author

Thanks ! @jackersson I'll give it a try!

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