AllenNeuralDynamics / AllenNeuralDynamics/sfm
SuperGluePretrainedNetwork.models import error
- Lingua principale
- Python
- Stelle
- 0
- Fork
- 1
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
```bash
from SuperGluePretrainedNetwork.models import superpoint # noqa E402
```
Cloning a repo doesn’t automatically make it importable (imports SuperGluePretrainedNetwork.models), so Python must find a package directory named SuperGluePretrainedNetwork on sys.path.
In your sfm venv/run, that directory isn’t on sys.path, so the import fails—even though you cloned the repo.
```bash
# from the *sfm* project root that has: external\SuperGluePretrainedNetwork\
$env:PYTHONPATH = "$PWD\external;$env:PYTHONPATH"
python -m sfm.scripts --image_dir .\tests\test_img_dir --query test_image.png --export_dir .\tests
```
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Valutazione
Questa issue non è ancora stata valutata.