Tutorvo

A Tiny CNN by Hand: Conv → ReLU → Pool → Score

Lesson 8 of 822 minLab

This lesson is part of the course

In this lesson

You push a 6×6 handwritten "1" through a complete mini CNN: a vertical-line kernel with bias, ReLU, 2×2 max pooling and a dense layer with a sigmoid, and read the network's probability that the image shows a 1.

Buy the course once for $9.99 to unlock every lesson and lab, the final exam and the certificate – lifetime access, no subscription.

Lessons in this course

  1. Pixels as Numbers: RGB to Greyscale with Weighted LuminanceLab14 min Locked
  2. Brightness, Contrast & the Histogram (FREQUENCY, with a Chart)Lab18 min Locked
  3. Thresholding & Binary Masks: Separating an Object from the BackgroundLab16 min Locked
  4. 3×3 Convolution with SUMPRODUCT: a Gaussian BlurLab18 min Locked
  5. Sharpening & Edge Detection: Sobel Gx, Gy and Gradient MagnitudeLab20 min Locked
  6. Padding & Stride: the Output-Size Formula and a Stride-2 ConvolutionLab18 min Locked
  7. Max & Average Pooling: Shrinking Feature MapsLab16 min Locked
  8. A Tiny CNN by Hand: Conv → ReLU → Pool → ScoreLab22 min Locked