When resuming with BackboneFinetuning callback, backbone parameters has requires_grad=False #9703
Unanswered
sour4bh
asked this question in
Lightning Trainer API: Trainer, LightningModule, LightningDataModule
Replies: 1 comment
-
can you share a minimal example to reproduce. will help debug this |
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.
-
When I resume from a checkpoint that has the backbone unfrozen (i.e. current_epoch > unfreeze_backbone_at_epoch), the parameters of the backbone are once again frozen.
I checked this in the following manner:
Although I was able to verify that the optimizer upon resuming from checkpoint does contain two param groups which is expected.
Beta Was this translation helpful? Give feedback.
All reactions