pixel-perfect-sfm icon indicating copy to clipboard operation
pixel-perfect-sfm copied to clipboard

error running demo.ipynb, type error

Open specular-zxy opened this issue 2 years ago • 3 comments

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) image but the type of 'reconstruction' is pycolmap.reconstruction, how to figure it out?

specular-zxy avatar Jun 17 '22 09:06 specular-zxy

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.

Phil26AT avatar Jun 17 '22 10:06 Phil26AT

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?

specular-zxy avatar Jun 18 '22 09:06 specular-zxy

If COLMAP is already installed, pip install git+https://github.com/colmap/pycolmap should work because it builds from source too.

sarlinpe avatar Jun 24 '22 23:06 sarlinpe