Lesson 5 of 12
CNN Architecture
A CNN architecture is the specific arrangement of layers. Understanding standard architectures helps you choose the right model for your task.
Standard CNN Layer Stack
A typical CNN for image classification has this structure:
Input: image (e.g., 224×224×3)
↓
Conv + ReLU: apply filters to detect features
↓
Max Pooling: reduce spatial dimensions
↓
[Repeat Conv + ReLU + Pooling blocks]
↓
Flatten: convert 3D feature maps to 1D vector
↓
Fully Connected layers: combine features
↓
Softmax: output class probabilities
Key activation: ReLU (Rectified Linear Unit): max(0, x) — sets negative values to 0, introduces non-linearity which is essential for learning complex patterns.
Famous CNN architectures:
- AlexNet (2012): first deep CNN to win ImageNet
- VGG-16 (2014): simple, deep — 16 layers
- ResNet (2015): residual connections — 50 to 152 layers
- MobileNet: efficient architecture for phones
- EfficientNet: state-of-the-art accuracy/efficiency trade-off
Machine Learning follows a structured pipeline from data to deployment
Finished this lesson?