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

I got issue during training #1

Open
Simon006 opened this issue Mar 9, 2023 · 0 comments
Open

I got issue during training #1

Simon006 opened this issue Mar 9, 2023 · 0 comments

Comments

@Simon006
Copy link

Simon006 commented Mar 9, 2023

creating model and diffusion...
creating data loader...
training...
Traceback (most recent call last):
File "D:\conditional-polyp-diffusion-main\improved-diffusion\scripts\image_train.py", line 83, in
main()
File "D:\conditional-polyp-diffusion-main\improved-diffusion\scripts\image_train.py", line 41, in main
TrainLoop(
File "D:\conditional-polyp-diffusion-main\improved-diffusion\scripts\improved_diffusion\train_util.py", line 78, in init
self._load_and_sync_parameters()
File "D:\conditional-polyp-diffusion-main\improved-diffusion\scripts\improved_diffusion\train_util.py", line 127, in _load_and_sync_parameters
dist_util.sync_params(self.model.parameters())
File "D:\conditional-polyp-diffusion-main\improved-diffusion\scripts\improved_diffusion\dist_util.py", line 75, in sync_params
dist.broadcast(p, 0)
File "C:\Users\OMEN\miniconda3\lib\site-packages\torch\distributed\distributed_c10d.py", line 1408, in broadcast
work.wait()
RuntimeError: a leaf Variable that requires grad is being used in an in-place operation.

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