loading weights from another model #7641
Unanswered
hkmztrk
asked this question in
Lightning Trainer API: Trainer, LightningModule, LightningDataModule
Replies: 1 comment
-
I guess it's way too late for a reply but that won't work. what you could use is
|
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.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I have two models, let's say ModelA and ModelB. ModelB is an extended version of ModelA. Let's say I trained Model A and saved it, now I want the load pretrained weights from ModelA to ModelB.
Would simply using
ModelB.load_from_checkpoint()
work?Beta Was this translation helpful? Give feedback.
All reactions