-
Notifications
You must be signed in to change notification settings - Fork 131
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
IndexError: _Map_base::at when runing pycolmap.triangulate_points #289
Comments
same problem. did you fix it? |
Hi, |
In pipeline.py under Aachen_v1_1, replace feature_conf with “r2d2“ and matcher_conf with “NN-mutual”. The same error is displayed: File "/home/edward_li/vision/vslam/Hierarchical-Localization/hloc/triangulation.py", line 211, in run_triangulation |
If you experience the same error, it may be worth downgrading your COLMAP installation. The current COLMAP installation is broken for triangulation as can be seen in the given issue |
Hello, did you solve this problem? I encountered the same problem and cannot fix it even after downgrading the COLMAP. |
Hi. I am using hloc triangulation to reconstruct my scene when I have camera ground truth pose and images. I first use
rec.add_camera(camera)
,rec.add_image(img)
,rec.register_image(image_id)
to build therec
. I have setimg
attributecam_from_world = pycolmap.Rigid3d(pycolmap.Rotation3d(qvec), tvec)
with ground truth pose. Then I export them usingrec.write(export_dir / 'reference_model')
. I got 3.bin
file and I tried usingcolmap model_converter --output_type TXT
to.bin
. And I got 3.txt
file. I found my image information looks complete, like following:Then, I use the following code to reconstruct my scene under ground truth poses:
However, I got strange error when run
pycolmap.triangulate_points
:Can I inquire whether I missed something? I looked through all issues but can not find similar problem. I have stuck here for several days. If you can help, many thanks!
The text was updated successfully, but these errors were encountered: