Skip to content

GAN example: Only one backward() call? #594

@alainjungo

Description

@alainjungo

In the PyTorch GAN tutorial https://pytorch.org/tutorials/beginner/dcgan_faces_tutorial.html there are two backward() calls for the discriminator. How do you ensure this with your structure, where backward() gets called after the training step?

Best,
Alain

Metadata

Metadata

Assignees

Labels

featureIs an improvement or enhancementlet's do it!approved to implementquestionFurther information is requested

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions