Skip to content

Strange outputs when running dcgan example #125

@zxmeng98

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?

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