Open bowieshi opened 1 month ago
same problem. did you fix it?
Hi, Sorry that you are running into troubles. Which version of COLMAP/pycolmap are you using? built from source or downloaded from PyPI?
Hi, Sorry that you are running into troubles. Which version of COLMAP/pycolmap are you using? built from source or downloaded from PyPI?
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 reconstruction = pycolmap.triangulate_points( IndexError: _Map_base::at
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
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!