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

with no file ".npy" #4

Open
zr19980402 opened this issue May 27, 2022 · 10 comments
Open

with no file ".npy" #4

zr19980402 opened this issue May 27, 2022 · 10 comments

Comments

@zr19980402
Copy link

error

They say CANNOT load .npy file.

@zr19980402
Copy link
Author

I have found the wrong: when running the code, there is no track.

@zr19980402
Copy link
Author

After some attempts, the issue became a new. I cannot run the HLOC features.
微信截图_20220530215222
微信截图_20220530215239
微信截图_20220530215254
微信图片_20220530215312

@lxxue
Copy link
Collaborator

lxxue commented May 31, 2022

Can you post a minimal example to reproduce this error?

@zr19980402
Copy link
Author

First, I use the open dataset "books" as the input.
other settings are shown in figure 1.
1

and I print the "output1" "output2" "output3"
figure2-figure3
2
3

some details!
1.system: VMware Workstation Ubuntu20.04
2.Hloc version: Hierarchical-Localization-pairs_from_sequence ( This version only add the pairs from sequence)
3. I have use the Recommended Hloc version as the same setting. the error is shown on the Last comment.

@lxxue
Copy link
Collaborator

lxxue commented Jun 1, 2022

From the error message in figure 2, it seems that the D2Net feature extractor is not installed correctly in hloc. I did a quick fix to make the codebase compatible with the new hloc interface. I pushed it to the branch new_hloc. Can you install the current version of hloc according to its install.md and try the codebase on this new branch?

@zr19980402
Copy link
Author

OK。I will try it at next day

@zr19980402
Copy link
Author

Thanks! I have not seen this news,
sorry.

@zr19980402
Copy link
Author

Make it! Thanks for your general answer!
Best wishes!

@zr19980402
Copy link
Author

And there may be a little misktake. In your /extract_match_features.py line 16-18~

assert feature_type in [
'sift_default', 'sift_sparse', 'superpoint', 'r2d2', 'd2net', 'disk'
# 'sift_default', 'sift_strict', 'superpoint', 'r2d2', 'd2net', 'disk'
]

@lxxue
Copy link
Collaborator

lxxue commented Jun 8, 2022

Indeed it is a typo. Thanks for pointing it out!

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

2 participants