freecoding.school100% FREE · NO SIGNUP
Tensor TownISSUE #37 of 120

cnns · convolutional neural networks

NeuraVSThe Overfit Ogre
Neura saysCNNs (convolutional neural networks) excel at images by learning local visual features.

A CNN slides small learnable filters across an image, detecting local patterns (edges, then textures, then objects) and building up hierarchy layer by layer. Sharing the same filter across the whole image (weight sharing) makes them efficient and translation-invariant. CNNs powered the 2012 deep-learning revival (AlexNet) and still dominate many vision tasks.

Power-ups you unlock

The Overfit Ogre attacks — common mistakes

Boss battleExplain how weight sharing makes CNNs efficient and shift-invariant.

Example code

<!doctype html><html><head><meta charset="utf-8"></head>
<body style="background:#06040d;color:#e6e0ff;font-family:monospace;padding:20px"><pre>filter slides over image → feature map
layer1 edges → layer2 textures → layer3 objects
same filter everywhere = shift-invariant</pre></body></html>
▶ Open the interactive comic issue
‹ Glove · Subword EmbeddingsCnns · Filters · Pooling · Stride ›