Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

train error #21

Open
XLR-man opened this issue Apr 28, 2024 · 1 comment
Open

train error #21

XLR-man opened this issue Apr 28, 2024 · 1 comment

Comments

@XLR-man
Copy link

XLR-man commented Apr 28, 2024

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

@XLR-man
Copy link
Author

XLR-man commented Apr 28, 2024

I found that this seems to be the case for multi-GPU training, but not for single-GPU training. Why is that?

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

No branches or pull requests

1 participant