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

Bug using sift descriptor and superglue for hierarchical localization #3119

Open
MatteoFusconi opened this issue Apr 30, 2024 · 0 comments
Open

Comments

@MatteoFusconi
Copy link

command
ns-process-data images ... --sfm-tool hloc --feature-type sift --matcher-type superglue
should be supported, but it is not and also does not terminate the execution

[2024/04/30 12:09:11 hloc INFO] Extracting local features with configuration:
{'model': {'name': 'dog'},
'output': 'feats-sift',
'preprocessing': {'grayscale': True, 'resize_max': 1600}}
100%|█████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 2/2 [00:00<00:00, 2.30it/s]
[2024/04/30 12:09:12 hloc INFO] Finished exporting features.
[2024/04/30 12:09:12 hloc INFO] Extracting local features with configuration:
{'model': {'name': 'netvlad'},
'output': 'global-feats-netvlad',
'preprocessing': {'resize_max': 1024}}
[2024/04/30 12:09:12 hloc INFO] Found 11 images in root test_cache/images.
100%|█████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 2/2 [00:00<00:00, 2.18it/s]
[2024/04/30 12:09:17 hloc INFO] Finished exporting features.
[2024/04/30 12:09:17 hloc INFO] Extracting image pairs from a retrieval database.
[2024/04/30 12:09:17 hloc INFO] Found 110 pairs.
[2024/04/30 12:09:17 hloc INFO] Matching local features with configuration:
{'model': {'name': 'superglue',
'sinkhorn_iterations': 50,
'weights': 'outdoor'},
'output': 'matches-superglue'}
Loaded SuperGlue model ("outdoor" weights)
0%| | 0/55 [00:00<?, ?it/s]
[12:09:18] The size of tensor a (128) must match the size of tensor b (256) at non-singleton process_data.py:526
dimension 1

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

1 participant