pixel-perfect-sfm
pixel-perfect-sfm copied to clipboard
error running demo.ipynb, type error
when running below code, error occurs
sfm = PixSfM({"dense_features": {"max_edge": 1024}}) refined, sfm_outputs = sfm.reconstruction(ref_dir, images, sfm_pairs, features, matches, image_list=references)
but the type of 'reconstruction' is
pycolmap.reconstruction
, how to figure it out?
Hi, this is caused by an incompatibe pycolmap installation (usually the one from pypi). As written in the readme, pixsfm requires installing COLMAP and pycolmap from source.
Thanks, but I tried pip install git+https://github.com/colmap/pycolmap
, it didn't work out. So the only solution is installing COLMAP and pycolmap from source right?
If COLMAP is already installed, pip install git+https://github.com/colmap/pycolmap
should work because it builds from source too.