Best practices for customize the evaluation #14553
Unanswered
tshu-w
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.
-
Hi, I need a custom evaluation without
val_dataloaders
orvalidation_step
, just the model and a custom function.Somewhat similar to the following code, which uses SentEval
Currently, I define empty step and dataloader and write my own
EvaluationLoop
:However since the evaluation logic doesn't require dataloader etc, it's somewhat hacky and I'm struggling with the logic when training with multiple GPUs. I was wondering if there is a better way to customize the evaluation.
Beta Was this translation helpful? Give feedback.
All reactions