Skip to content

Question regarding freezing layers #1733

Answered by felixdittrich92
ep0p asked this question in Q&A
Discussion options

You must be logged in to vote

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 😅

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by ep0p
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants