Intermediate level · Module 8 of 8 · 12 guided hours
Transfer Learning
Adapting pretrained models: feature extraction versus fine-tuning, choosing small pretrained backbones, training on small local datasets, measuring domain shift, and completing the level project.
Learning objectives
- Apply feature extraction and fine-tuning with pretrained torchvision models
- Measure and reduce domain shift on local images
- Complete and present the level project
Topics
- why transfer learning works
- feature extraction vs fine-tuning
- choosing small backbones
- learning rates for fine-tuning
- domain shift and local data
- project integration
Lessons
-
Lesson 1 Feature Extraction and Fine-Tuning
Learners adapt a pretrained MobileNet or ResNet to a new image task, first by training only a new classifier head, then by fine-tuning deeper layers.
pretrained weightsfrozen backbone (requires_grad=False)new classifier headfine-tuningdifferential learning rates
-
Lesson 2 Domain Shift and Adapting to Local Images
Learners measure how a model trained on public images performs on local photographs, and test strategies to close the gap: local fine-tuning data, augmentation and capture rules.
domain shiftlocal fine-tuning setmixed training datacapture protocolsper-source evaluation
-
Lesson 3 Completing and Presenting the Detection Project
Learners integrate the dataset, augmentation, YOLO training, evaluation, explanations and licence notes into a reproducible project and present it.
reproducibilityrequirements and versionsresults on local datalimitationsresponsible use statement
Practical activity
Run the transfer-learning and domain-shift experiments, then complete and present the level project detector.
Expected outcomes
- Practical transfer learning on small local datasets
- A complete, documented detection system
Assessment
Domain-shift experiment (30%) and the level project, assessed against the level criteria (70%).
Taught live by an instructor — online or in person. Free course lessons are for self-study and do not lead to a certificate — see registration options.