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

Strange outputs when running dcgan example #125

Open
zxmeng98 opened this issue Jun 22, 2022 · 0 comments
Open

Strange outputs when running dcgan example #125

zxmeng98 opened this issue Jun 22, 2022 · 0 comments

Comments

@zxmeng98
Copy link

When I ran the dcgan.py in examples(autoscale batch size off), I found the outputs very strange and did not tend to converge:
image

But when I remove the following two rows:

netD = adl.AdaptiveDataParallel(netD, optimizerD, scheduleD, name="netD")
netG = adl.AdaptiveDataParallel(netG, optimizerG, scheduleG, name="netG")

The results seem better:
1655875134833

Could you please help me solve this? Is this may be caused by the warning related to the zero_grad?

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