how to call train_one_epoch
explicitly?
#13289
Unanswered
marsggbo
asked this question in
Lightning Trainer API: Trainer, LightningModule, LightningDataModule
Replies: 1 comment
-
@marsggbo Have you tried overriding hooks? PyTorch Lightning provides quite a number of hooks so that you can customise the default behaviour: You can also utilise |
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.
-
Pytorch-lightning seems to provide only
fit
,validate
,test
, andpredict
. How can we explicitly call a function of training only one epoch? Below is a pseudo-codeBeta Was this translation helpful? Give feedback.
All reactions