validation_epoch_end or on_train_epoch_end receive extra arguments/data #5888
Unanswered
congchan
asked this question in
Lightning Trainer API: Trainer, LightningModule, LightningDataModule
Replies: 1 comment
-
Hi! thanks for your contribution!, great first issue! |
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.
-
❓ Questions and Help
What is your question?
Basically I need to validate my model after each epoch, but the labels information is a little tricky(mixture of list of tuple of int and string), that it could not be included in DataLoader.
however,
validation_epoch_end, validation_step, etc..
only receives DataLoader output.Is there any solution?
I actually dun want to add the raw data into module which make the code difficult to understand.
Code
Beta Was this translation helpful? Give feedback.
All reactions