Syllabus

  1. 01Images as TensorsHow a picture becomes a tensor, how Keras loads folders of images into batches with labels, and how random augmentation stretches a small training set without changing what the pictures mean.3 lessons
    1. 01Pixels, Channels and Batches
    2. 02Loading Pictures from Folders
    3. 03Augmentation That Keeps the Label
  2. 02From Dense to ConvolutionBuild the dense baseline and count its weights, then work out what a convolution filter computes by hand, how its output size follows from stride and padding, and why its parameter count does not depend on the picture size.3 lessons
    1. 01Why Dense Layers Struggle with Pictures
    2. 02A Filter Sliding Over a Picture
    3. 03Stride, Padding and Output Size
  3. 03Pooling and StackingShrink feature maps with max pooling, then trace shapes and parameter counts through a whole stack of convolution and pooling layers, and measure how much of the picture each output value can see.2 lessons
    1. 01Max Pooling
    2. 02Reading a Whole Stack
  4. 04Train and JudgeCompile and fit a convolutional model straight from image datasets, compare it with a dense baseline with and without augmentation, keep the best epoch with callbacks, and read a confusion matrix and a distribution shift honestly.4 lessons
    1. 01Compile and Fit from Image Datasets
    2. 02Compare Designs and Keep the Best Epoch
    3. 03Judge the Errors
    4. 04Review: Trace Any Stack