Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Demo broken with latest COLMAP release #440

Open
kocurvik opened this issue Dec 1, 2024 · 1 comment · May be fixed by #446
Open

Demo broken with latest COLMAP release #440

kocurvik opened this issue Dec 1, 2024 · 1 comment · May be fixed by #446

Comments

@kocurvik
Copy link

kocurvik commented Dec 1, 2024

Since the release of COLMAP 3.11.0 the demo does not work. An error occurs when the method hloc.localize_sfm.pose_from_cluster is called. Internally, it calls pycolmap.absolute_pose_estimation which was removed in the latest COLMAP release and replaced with estimate_and_refine_absolute_pose.

A quick fix is to specify the older COLMAP version during the initial pip installs in the demo: !pip install pycolmap==3.10. I guess ideally it would be better to update the relevant calls within hloc.

Note that I found that once pycolmap is installed in Colab, downgrading it or uninstalling it using pip within the notebook does not seem to work for some reason.

@NhatUS03
Copy link

NhatUS03 commented Dec 2, 2024

I think the best approach currently is to create your own repository and fork it from the original. Then update it to follow the PYCOLMAP version 3.11.0. In the Colab notebook, simply replace the URL with your repository's URL.

@B1ueber2y B1ueber2y linked a pull request Dec 12, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants