Skip to content

train error #21

Description

@XLR-man

i download pretrained diffusion model you provided,but when i train,it got error:
Uploading error.png…

  File "/data/xielangren/project/Aleth-NeRF/src/model/llnerf/model.py", line 81, in setup
    patch_diffusion_model = load_patch_diffusion_model(Path(self.patch_regulariser_path))
  File "/data/xielangren/project/Aleth-NeRF/src/model/llnerf/learned_regularisation/patch_regulariser.py", line 138, in load_patch_diffusion_model
    trainer.load(str(reg_checkpoint_path))
  File "/data/xielangren/project/Aleth-NeRF/src/model/llnerf/learned_regularisation/diffusion/denoising_diffusion_pytorch.py", line 836, in load
    self.ema.load_state_dict(data['ema'])
AttributeError: 'Trainer' object has no attribute 'ema'

how to fix the error

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