Skip to content

Demo broken with latest COLMAP release #440

Open
@kocurvik

Description

@kocurvik

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions