Does calling trainer.fit() reset model weights? #9725
Unanswered
GV1028
asked this question in
Lightning Trainer API: Trainer, LightningModule, LightningDataModule
Replies: 1 comment
-
trainer doesn't know how to reinitialize the weights, so it won't. it will just continue using the weights you passed. |
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.
-
Hi,
I am currently training multiple models and am trying to update model weights outside the trainer.fit() function as well. The code looks something like this:
What is the behavior of trainer.fit() here? Will it start the training with the current model weights or reinitialize it every time?
Beta Was this translation helpful? Give feedback.
All reactions