Intermediate level · Module 3 of 8 · 13 guided hours
CNN Training and Optimization
Training CNNs well on limited hardware: normalisation, learning rates and optimisers, batch normalisation and dropout, monitoring curves, early stopping, checkpoints and efficient use of CPU and free GPUs.
Learning objectives
- Diagnose training with loss and accuracy curves
- Apply optimisation and regularisation techniques
- Train efficiently on CPU or free notebook GPUs with checkpoints
Topics
- input normalisation
- learning rates, SGD and Adam
- batch normalisation and dropout
- training and validation curves
- early stopping and checkpoints
- efficient CPU and free-GPU training
Lessons
-
Lesson 1 Reading Training Curves
Learners plot training and validation loss and accuracy, and diagnose underfitting, overfitting and learning-rate problems from the curves.
training vs validation lossunderfittingoverfittinglearning rate too high or lownoise in curves
-
Lesson 2 Batch Normalisation, Dropout and Optimisers
Learners add batch normalisation and dropout, compare SGD with momentum and Adam, and use a learning-rate schedule.
nn.BatchNorm2dnn.DropoutSGD with momentumAdamlearning-rate schedulers
-
Lesson 3 Efficient Training on Modest Hardware
Learners make training practical on CPUs and free GPUs: smaller images and subsets, efficient data loading, early stopping, checkpoints to resume interrupted sessions, and timing measurements.
image size and subsetsnum_workerstorch.save checkpointsearly stoppingfree notebook GPU limits
Practical activity
Optimise the CNN with a documented ablation study and produce a resumable, early-stopping training script with a timing plan for lab hardware.
Expected outcomes
- Skill in diagnosing and improving CNN training
- Practical, low-cost training habits
Assessment
Ablation notebook (60%) and training script with timing plan (40%).
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.