Skip to content

AttributeError: 'CameraInfo' object has no attribute 'mask' #46

@FengzhongYanqing

Description

@FengzhongYanqing

Hello! When I use python train.py -s data/endonerf/pulling --port 6017 --expname endonerf/pulling --configs arguments/endonerf/pulling.py
to train the EndoNeRF dataset, I meet an error:

Traceback (most recent call last):
  File "/media/vdail/E/ly/EndoGaussian/train.py", line 379, in <module>
    training(lp.extract(args), hp.extract(args), op.extract(args), pp.extract(args), args.test_iterations, \
  File "/media/vdail/E/ly/EndoGaussian/train.py", line 265, in training
    scene_reconstruction(dataset, opt, hyper, pipe, testing_iterations, saving_iterations,
  File "/media/vdail/E/ly/EndoGaussian/train.py", line 103, in scene_reconstruction
    viewpoint_cams = [viewpoint_stack[idx]]
  File "/media/vdail/E/ly/EndoGaussian/scene/dataset.py", line 29, in __getitem__
    mask = caminfo.mask
AttributeError: 'CameraInfo' object has no attribute 'mask'
Training progress:   0%|                                                    | 0/1000 [00:02<?, ?it/s]

Have you encountered this issue? I am using the colmap gui to generate the content of the Sparse file, and I am not sure if this is the 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