Loss Module with inner Network #8445
-
I have a loss module which is part of my lightning module with its own inner pretrained vgg network. Is there a way to load my model properly? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Dear @vasl12, You have multiple options:
Best, |
Beta Was this translation helpful? Give feedback.
-
Dear @tchaton, thank you very much for your answer. Regarding the first option, I am not sure in which function to pass it, since I am trying to load the checkpoint using the I appreciate your help! Thank you very much! |
Beta Was this translation helpful? Give feedback.
Dear @vasl12,
You have multiple options:
strict=False
on_save_checkpoint
hook to access the checkpoint and drop the associated key.Best,
T.C