Skip to content

'pycolmap._core.Image' object has no attribute 'id' #2

@Kuni05

Description

@Kuni05

Hi!

Thanks for your work!

When I test VGGT-X model in our dataset, some errors happens. May I ask what is the correct pycolmap version?

Using confidence threshold: 1.0
No ground truth points3D.bin found, using random sampling
Converting to COLMAP format
E20251029 02:10:57.061998 123907492607040 helpers.h:110] Internal AttributeError: 'pycolmap._core.Image' object has no attribute 'id'
Traceback (most recent call last):
File "/mnt/dataset4/VGGT-X/demo_colmap.py", line 307, in
demo_fn(args)
File "/mnt/dataset4/VGGT-X/demo_colmap.py", line 258, in demo_fn
reconstruction = batch_np_matrix_to_pycolmap_wo_track(
File "/mnt/dataset4/VGGT-X/vggt/dependency/np_to_pycolmap.py", line 256, in batch_np_matrix_to_pycolmap_wo_track
image = pycolmap.Image(
AttributeError: 'pycolmap._core.Image' object has no attribute 'id'

pip show pycolmap
Name: pycolmap
Version: 3.12.6

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions