Transfer learning
Step 4 of 8 in Computer Vision · Build · Medium
Start from a network pretrained on millions of images and fine-tune it on yours. Works with a few hundred examples.
Build it
Fine-tune ResNet-18
On a 5-class flower dataset: train head only, then unfreeze; compare.
Done when: Over 90% validation accuracy; confusion matrix shown.
Case study: Dermatologist-level skin cancer classification
- An ImageNet-pretrained CNN fine-tuned on ~130k skin images matched dermatologists.
- Transfer learning made it possible without inventing a new architecture.
- Later work found performance drops on darker skin underrepresented in the data.
Resources
- Wikipedia: Transfer learning Article
- Stanford CS231n notes Article
- PyTorch tutorials Article
Earn this star
On the map, you log what you built. Finish the step and its star lights.
Open this step on the map