-
-
Notifications
You must be signed in to change notification settings - Fork 2
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
missing thirdparty, cannot use matchers like lightglue/superglue #2
Comments
In conda-forge, we shouldn't add third-party dependencies. Instead, we should package them separately and add them as dependencies. You can open an issue in https://github.com/conda-forge/staged-recipes or better add a PR that adds lightglue in that repo :) |
Thank you for the quick reply! Let me see if I fully understand, In order for me to use the reconstruction/keypoint detection/matching functions in hloc with light glue via conda (assuming only lightglue and not any other third-party matcher/extractor dependencies) I would need to Lightglue PR
I'm fairly new to the packaging world outside of just being a user, so apologies if I'm asking the wrong questions! |
Hi @pablovela5620 - sorry, I completely forgot to get back to you about this. 1.1 Yes, correct, ideally we would need to package lightglue here on conda-forge. This will not necessarily need a pypi release, but a release on GitHub. I created an issue: cvg/LightGlue#129 I'm happy to help/provide input, but currently don't have the capacity to take the lead on this. Best, Tobi |
I'd be happy to lead this, once there's a github release for lightglue I'll make a PR to use the Kornia lightglue matcher (they do indeed have lightglue already included) https://kornia.readthedocs.io/en/stable/feature.html#kornia.feature.LightGlueMatcher |
Hi @pablovela5620 - I've had a closer look at this. kornia implements its own version of LightGlue, which is independent (but based on) the original authors' code. I've also started a pull request to get the original LightGlue to conda-forge: conda-forge/staged-recipes#27052 |
I've added a dependency to LightGlue in #4 The other third_party things are not trivial to add; if you need them, you can follow similar steps as for LightGlue. |
Awesome, Thank you for the help! |
Solution to issue cannot be found in the documentation.
Issue
Usually when I install hloc from source to use it I have to do a recursive clone to get things like the superpoint/superglue/lightglue network
File "/home/pablo/0Dev/personal/forked-repos/nerfstudio/.pixi/envs/default/lib/python3.10/site-packages/hloc/matchers/lightglue.py", line 2, in

from lightglue import LightGlue as LightGlue_
ModuleNotFoundError: No module named 'lightglue'
it seems like the third-party folder is missing.
Installed packages
The text was updated successfully, but these errors were encountered: