Closed Linxius closed 11 months ago
This indeed seems to be a linking error. As described in issue #81 this might be related to libraries being linked to the wrong ceres library (do you have different versions of ceres installed?). I suggest rebuilding all packages and checking that the correct ceres version is used in each package (printed during CMake). Otherwise, you can send me a docker file of your environment and I can have a look.
This indeed seems to be a linking error. As described in issue #81 this might be related to libraries being linked to the wrong ceres library (do you have different versions of ceres installed?). I suggest rebuilding all packages and checking that the correct ceres version is used in each package (printed during CMake). Otherwise, you can send me a docker file of your environment and I can have a look.
Thank you for your reply. The 'callbacks' keyword in ka.FeatureMetricKeypointOptimizerOptions cause this issue. When I replace all the to_optim_ctr(self.conf.optimizer, callbacks)
with to_ctr(self.conf.optimizer)
, it works well.
I got the same error with issue#81 when running the
refined, sfm_outputs = sfm.reconstruction(ref_dir, images, sfm_pairs, features, matches, image_list=references)
at demo.ipynb,the code
ka.FeatureMetricKeypointOptimizer(optimizer_options,problem_setup, to_ctr(self.conf.interpolation))
results in errors:I have tried
and got
and
Maybe the bug is in the binding. I have no idea how to solve it or try to make further debug.
ceres-solver, colmap, pycolmap, pyceres, and pixel-perfect-sfm are built from latest commits on Ubuntu 22.04