Transfer learning for Flax ResNet #1874
-
I found a pretrained Flax ResNet in this repo: https://github.com/matthias-wright/flaxmodels
After that, I would like to do transfer learning (i.e. freeze the body weight and replace a fresh head) on the pretrained ResNet. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hi @riven314, check out my answer in #1706. |
Beta Was this translation helpful? Give feedback.
Hi @riven314, check out my answer in #1706.
There is also an accompanying Colab, where I show how to freeze a subset of layers for transfer learning.
Hope that helps!