AllenNeuralDynamics / AllenNeuralDynamics/sfm
SuperGluePretrainedNetwork.models import error
- Ngôn ngữ chính
- Python
- Star
- 0
- Fork
- 1
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
```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
```
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Đánh giá
Issue này chưa được đánh giá.