Skip to content

Replace forked pycolmap with official version for examples - #951

Open
ice1080 wants to merge 2 commits into
nerfstudio-project:mainfrom
ice1080:pycolmap-update
Open

Replace forked pycolmap with official version for examples#951
ice1080 wants to merge 2 commits into
nerfstudio-project:mainfrom
ice1080:pycolmap-update

Conversation

@ice1080

@ice1080 ice1080 commented May 15, 2026

Copy link
Copy Markdown

The version of pycolmap used in the examples folder was a fork that was used to import a SceneManager for reading the cameras, images, and points3D binary (or txt) files from colmap output. This caused issues if a different version of pycolmap was installed (such as the official version), as the SceneManager doesn't exist. The official pycolmap repo has a Reconstruction class now for this purpose.

Update to the official pycolmap version and use this for loading the cameras, images, and points3D files into usable objects.

I was able to run a successful training (using simple_trainer.py) with this change.

Fixes #830

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 this pull request may close these issues.

How to solve the problem about "AttributeError: module 'pycolmap' has no attribute 'SceneManager'"

1 participant