Multiple optimizer in pytorch_lightning version 1.9.4. #17310
Unanswered
Bk073
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.
-
I have 2 optimizers, where the model is trained on adversarial way. On using self.toggle_optimizers(), it gives error saying optimizer_idx is not passed, when I just pass the optimizer.
How can I train using multiple optimizers in version 1.9.4?
Beta Was this translation helpful? Give feedback.
All reactions