🏗️ CNN Architecture Builder

Build and understand convolutional neural networks layer by layer

Your Progress

0 / 5 completed
Previous Module
Activation Functions Zoo

Introduction to CNNs

Convolutional Neural Networks (CNNs) revolutionized computer vision by automatically learning spatial hierarchies of features. Instead of manually designing features, CNNs learn them directly from pixels.

🎯 Why CNNs?

Spatial relationships: Pixels close together are more related than distant ones
Translation invariance: A cat is a cat whether in the corner or center
Parameter sharing: Same filter applied everywhere = fewer parameters
🔍

Convolution

Extracts features like edges, textures, and patterns using learnable filters

📉

Pooling

Reduces spatial dimensions while keeping important features

🧠

Dense Layers

Combines features for final classification or regression

📊 Typical CNN Architecture

Input:224×224×3 (RGB image)
Conv Layer:32 filters, 3×3 kernel → 224×224×32
MaxPool:2×2 pool → 112×112×32
Conv Layer:64 filters, 3×3 kernel → 112×112×64
MaxPool:2×2 pool → 56×56×64
Flatten:→ 200,704 features
Dense:128 units → Classification