AllenNeuralDynamics / AllenNeuralDynamics/sfm

SuperGluePretrainedNetwork.models import error

Đang mở
#3 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
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á.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.