Skip to content

nerfmm/spiral.py bug if trained with colmap initialized pose #19

@SuX97

Description

@SuX97

Hi,

Thanks for you great work!

One bug I have encountered here is if train with:

--start_refine_pose_epoch 1000
--start_refine_focal_epoch 1000

There will be a field named init_c2ws in the models state dict of LearnPose.

However if use spiral for inference, the default action is to initialize a LearnPose with self.init_c2ws as None, which leads to Unexpected key(s) in state_dict: "init_c2w". when load it in spiral.py.

Maybe this can be fixed by add a arg that controlls whether the R, t in LearnPose is learnt from scratch or the offset from COLMAP ones in nerfmm/spiral.py

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