-
There are already several discussion about transfer learning here, and here, but it seems not clear enough, may be due to their special use case. Let's take a common use case as example, suppose we have ResNet50 pretrained on ImageNet(I mean the model using flax, for example ResNet50 in flax examples), and we want to use it as start point to train our own classification network, there are two operations we need to make:
Then we add our own classification layer on top of it to train on our dataset How to do these in flax? It will be better to add an example for this common use case. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Note that we also have a full transfer learning example ( But still I think what you propose above could be a helpful addition, created #1567 |
Beta Was this translation helpful? Give feedback.
-
We are working on a Transfer Learning guide, for future users you can check it out here: https://flax.readthedocs.io/en/latest/guides/transfer_learning.html In the meanwhile you can check out the unreleased version here: https://flax--2394.org.readthedocs.build/en/2394/guides/transfer_learning.html |
Beta Was this translation helpful? Give feedback.
Note that we also have a full transfer learning example (
vision_transformer
) mentioned in our examples RTD page:https://flax.readthedocs.io/en/latest/examples.html
But still I think what you propose above could be a helpful addition, created #1567