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

Visualization problem when training with multiple GPUs #33

Open
llbbcc opened this issue Dec 19, 2023 · 0 comments
Open

Visualization problem when training with multiple GPUs #33

llbbcc opened this issue Dec 19, 2023 · 0 comments

Comments

@llbbcc
Copy link

llbbcc commented Dec 19, 2023

Thanks for your codes!
When I train the model with multiple GPUs with net_model = torch.nn.DataParallel(net_model), images obtained from sampling are noise images. I load the model with model = torch.nn.DataParallel(model) model.load_state_dict(ckpt).
Has anyone encountered this problem?

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