AttributeError: ‘Model’ object has no attribute ‘freeze’ #14946
koshinryuu
started this conversation in
General
Replies: 0 comments
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.
-
I load my own model (torch) from pretrained path, while I could not freeze them.
I have error : AttributeError: 'Model' object has no attribute 'freeze'.
I guess because the model is not LightningModule.
If the model is not LightningModule, how to freeze this model?
Beta Was this translation helpful? Give feedback.
All reactions