Open shubham-monarch opened 7 months ago
Pixsfm
must be built with:
ceres-solver 2.1.0
. The newer one (2.2.0) is not working.
pyceres v1.0
with CUDA that built by ceres-solver 2.1.0
.
pycolmap 0.4.0
with CUDA that built by ceres-solver 2.1.0
.
hloc 1.4
with CUDA that built by ceres-solver 2.1.0
. instead of hloc 1.5
colmap 3.8
with CUDA that built by ceres-solver 2.1.0
instead of colmap 3.9.1
.
Maybe we must add it explicitly in readme for clearer instruction.
@ichsan2895 Thanks for this list. I had not figured out yet that you need ceres-solver 2.1.0 and hloc 1.4, which is not documented anywhere yet.
Also: For COLMAP 3.8 you need CUDA 11.x which in turn requires a gcc <= 10 (higher versions won't work). Also use cmake 3.26
.
After updating to
COLMAP 3.9.1
, I wasn't able to installPixSFM
usingpip install -e . --verbose
.To make it work, I made a lot of changes to the
PixSFM
repo (will make a pull request later) and was able to install it successfully.However, when I am trying to import
PixSFM
in my notebook as follows =>I am getting the following error =>
It looks like some sort of binding error to me. Let me also share the updated
bundle_adjustment/bindings.cc
,bundle_adjustment/src/bundle_adjustment_options.h
andbundle_adjustment_options.cc
with you =>bindings.cc
bundle_adjustment_options.h
bundle_adjustment_options.cc