Manually call model.eval() and model.train() inside the training loop #6718
Answered
by
kkirtac
rwbfd
asked this question in
Lightning Trainer API: Trainer, LightningModule, LightningDataModule
-
How to manually call |
Beta Was this translation helpful? Give feedback.
Answered by
kkirtac
Mar 29, 2021
Replies: 1 comment 2 replies
-
You can use |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
akihironitta
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can use
self.freeze()
andself.unfreeze()
.