How to implement multiple discriminator updates per generator update #19554
Unanswered
aaronmkts
asked this question in
code help: CV
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi there,
I’m currently trying to train a GAN using PyTorch lightning and I want to implement multiple discriminator updates per generator update but i am unsure of the best practice.
Here is my training step:
I have seen two schools of thought, either write a for loop over the discriminator training aspect or in the configure optimizers set the ‘frequency’ parameter, to something like the following:
Any advice on what implementation to use in this framework would be greatly appreciated!1
Beta Was this translation helpful? Give feedback.
All reactions