Skip to content

Strange outputs when running dcgan example #125

Description

@zxmeng98

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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