How to give more training time to generator and less to disciminator in GAN-like model #6085
Unanswered
MarcoAlbertoGrimaldi
asked this question in
Lightning Trainer API: Trainer, LightningModule, LightningDataModule
Replies: 1 comment
-
if self.current_epoch%5: |
Beta Was this translation helpful? Give feedback.
0 replies
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.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
as title I was wandering how I can train more one sub-model than another.
Like 5 epochs on generator and 1 on discriminator
My code is:
` def configure_optimizers(self):
#stuff
return [optimizer_G, optimizer_D], []
Beta Was this translation helpful? Give feedback.
All reactions