Deep Ensemble. Error in Backwards Pass #8749
Unanswered
cemde
asked this question in
Lightning Trainer API: Trainer, LightningModule, LightningDataModule
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.
Uh oh!
There was an error while loading. Please reload this page.
-
I am implementing a deep ensemble in lightning and keep getting an error during manual back propagation.
Let
k
be the number of ensemble methods. My strategy is:1 My LightningModule has
k
networks2 My DataModule has
k
DataLoaders3 My Optimizer has
k
parameter groups4 Each training step I get
k
batches and do the forward pass through thek
nets.I am not sure how to do backpropagation now. I am attempting as follows below (
k=8
):I keep getting this error message:
What am I doing wrong? How am I supposed to do the back propagation with
k
ensemble members?Beta Was this translation helpful? Give feedback.
All reactions