sfm-disambiguation-colmap icon indicating copy to clipboard operation
sfm-disambiguation-colmap copied to clipboard

with no file ".npy"

Open zr19980402 opened this issue 2 years ago • 10 comments

error

They say CANNOT load .npy file.

zr19980402 avatar May 27 '22 09:05 zr19980402

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

zr19980402 avatar May 27 '22 12:05 zr19980402

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

zr19980402 avatar May 31 '22 03:05 zr19980402

Can you post a minimal example to reproduce this error?

lxxue avatar May 31 '22 12:05 lxxue

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.

zr19980402 avatar Jun 01 '22 06:06 zr19980402

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?

lxxue avatar Jun 01 '22 12:06 lxxue

OK。I will try it at next day

zr19980402 avatar Jun 05 '22 05:06 zr19980402

Thanks! I have not seen this news, sorry.

zr19980402 avatar Jun 05 '22 05:06 zr19980402

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

zr19980402 avatar Jun 08 '22 06:06 zr19980402

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' ]

zr19980402 avatar Jun 08 '22 06:06 zr19980402

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

lxxue avatar Jun 08 '22 15:06 lxxue