Why my parameters do not learn/update? #12970
Unanswered
oschan77
asked this question in
Lightning Trainer API: Trainer, LightningModule, LightningDataModule
Replies: 1 comment
-
return value from return {'loss': gen_loss} reF: https://pytorch-lightning.readthedocs.io/en/stable/common/lightning_module.html#training-step |
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.
-
Hello there, I am training a GAN model (StyleGAN2-ADA) and I find that the parameters are not updating at all. I am using quite a lot of custom layers and blocks. I wonder if it causes the parameters not learning at all. How can I make my model learn and solve this issue? Thank you so much!
my training_step function:
Beta Was this translation helpful? Give feedback.
All reactions