Does PL train and validate at the same time? #13077
Answered
by
rohitgr7
arunpatro-meesho
asked this question in
Lightning Trainer API: Trainer, LightningModule, LightningDataModule
-
I wasn't able to find this on github -> https://forums.pytorchlightning.ai/t/dose-pl-validate-and-train-at-the-same-time/1362/2 I am logging step wise in training_step and validation_step but i see this while training ->
How can the model start validating before training has completed? |
Beta Was this translation helpful? Give feedback.
Answered by
rohitgr7
May 15, 2022
Replies: 1 comment 6 replies
-
by default, it validates after each epoch given that you can configured validation using |
Beta Was this translation helpful? Give feedback.
6 replies
Answer selected by
arunpatro-meesho
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
by default, it validates after each epoch given that you can configured validation using
validation_step
andval_dataloader
.do you need to validate the model right after training is done?