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

Inloc test by Loftr #444

Open
boyagesmile opened this issue Dec 11, 2024 · 0 comments
Open

Inloc test by Loftr #444

boyagesmile opened this issue Dec 11, 2024 · 0 comments

Comments

@boyagesmile
Copy link

When I try to use Loftr to test the Inloc dataset. I got the error in localize_inloc.py

0%|                                                                                                                                                                              | 0/356 [00:00<?, ?it/s]
Traceback (most recent call last):
 File "/home/ubuntu/anaconda3/envs/hloc/lib/python3.9/runpy.py", line 197, in _run_module_as_main                                                                                                         
   return _run_code(code, main_globals, None,
 File "/home/ubuntu/anaconda3/envs/hloc/lib/python3.9/runpy.py", line 87, in _run_code                                                                                                                    
   exec(code, run_globals)   
 File "/home/ubuntu/Projects/wby/Hierarchical-Localization/hloc/pipelines/Inloc/pipeline_loftr.py", line 73, in <module>                                                                                  
   run(args)                 
 File "/home/ubuntu/Projects/wby/Hierarchical-Localization/hloc/pipelines/Inloc/pipeline_loftr.py", line 42, in run                                                                                       
   localize_inloc.main(      
 File "/home/ubuntu/Projects/wby/Hierarchical-Localization/hloc/localize_inloc.py", line 139, in main                                                                                                     
   ret, mkpq, mkpr, mkp3d, indices, num_matches = pose_from_cluster(
 File "/home/ubuntu/Projects/wby/Hierarchical-Localization/hloc/localize_inloc.py", line 89, in pose_from_cluster                                                                                         
   mkpq, mkpr = kpq[v], kpr[m[v]]
IndexError: boolean index did not match indexed array along axis 0; size of axis is 8192 but size of corresponding boolean axis is 8191    

it seems like that, keypoints cant match the matchpoints size.

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