Validation step: error when trying to return object #11916
Answered
by
rohitgr7
mcomunita
asked this question in
Lightning Trainer API: Trainer, LightningModule, LightningDataModule
-
Hi, As part of my validation_step in a AE I am trying to return an object containing input and reconstructed output. validation_epoch_end does not get the accumulated outputs. Here's the code:
these are the shapes: and this is what validation_step_outputs looks like: Any idea why? Thanks |
Beta Was this translation helpful? Give feedback.
Answered by
rohitgr7
Feb 17, 2022
Replies: 1 comment 2 replies
-
hey @mcomunita! this shouldn't happen. Quick ques: are you using DP? |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
rohitgr7
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
hey @mcomunita!
this shouldn't happen. Quick ques: are you using DP?