Question regarding freezing layers #1733
-
I have a question in regards to the layers freezing, since i stumbled on this suggestion a couple of times in the Q&As :
Is this the same as the backbone-freezing or is it close, but not the same? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hi @ep0p 👋, In the case of Personally i have never tried to tune only the head 😅 |
Beta Was this translation helpful? Give feedback.
Hi @ep0p 👋,
In the case of
backbone-freezing
we do really only freeze the feature extractor model part all other parts including the head are trainable ... in the snippet we freeze everything up to the head ..so only the last linear layer is trainable .. the layer names will change depending on the model / architecture :)Personally i have never tried to tune only the head 😅