Train.predict() call in callback raises an error #10361
Unanswered
whaowhao
asked this question in
Lightning Trainer API: Trainer, LightningModule, LightningDataModule
Replies: 1 comment
-
Dear @whaowhao. Using trainer.preditct I would advise you to use Loop Customization instead. Here is an example with KFold: https://github.com/PyTorchLightning/pytorch-lightning/blob/master/pl_examples/loop_examples/kfold.py#L158 Best, |
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.
-
I have having the same error as here where calling trainer.predict inside a custom callback raises error
Beta Was this translation helpful? Give feedback.
All reactions