-
Hi @mrdbourke . Regarding to your lesson, it happened to me a confusion between the terms of transfer learning and feature extraction. Are those terms is actually similar or interchangeable, or it has a slight different on definition? Appreciate for your time. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Hi @Ammar-Azman , Good question! Yes the terms are quite similar. I'd say feature extraction is a form of transfer learning. If transfer learning is taking what one model knows about a certain problem and applying it to your own, feature extraction is one way to do it. Another form of transfer learning is fine-tuning which is a more involved technique. For example:
You can see an example of each of these in Notebook 05: https://github.com/mrdbourke/tensorflow-deep-learning/blob/main/05_transfer_learning_in_tensorflow_part_2_fine_tuning.ipynb -- PS I noticed this is closed, I re-opened it but let me know if you'd like to keep it closed! |
Beta Was this translation helpful? Give feedback.
Yes your definitions are correct.
Feature extraction is usually great to get quick and good results (if your data is similar to the trained model's data).
Fine-tuning usually works best when you've got a larger amount of data and can "tune" the pretrained model to your own data.
In general, start with feature extraction to see how it goes, then move to fine-tuning.