Popular CNN Architectures: LeNet, VGG, ResNet & EfficientNet

Deep Learning with Keras and TensorFlow 9 min min read Updated: Nov 16, 2026 Intermediate
Popular CNN Architectures: LeNet, VGG, ResNet & EfficientNet
Intermediate Topic 8 of 9

Why Learn About Architectures?

Most successful vision models are variations of a few famous designs. Knowing their main ideas helps you choose a model and understand papers and tutorials.

A Short Timeline

ModelYearBig idea
LeNet-51998The first practical CNN, read handwritten digits on bank checks
AlexNet2012Deep CNN with ReLU and dropout trained on GPUs. It started the deep learning boom
VGG2014Use only small 3 x 3 filters, stacked deeply
Inception2014Several filter sizes in parallel in one block
ResNet2015Skip connections allow networks with 50 to 150+ layers
MobileNet2017Depthwise separable convolutions: small and fast for phones
EfficientNet2019Scale width, depth and resolution together in a balanced way

ResNet: The Skip Connection

Very deep networks were hard to train because gradients faded. ResNet adds the input of a block to its output, so the block only has to learn the change (the residual). Gradients flow easily through the shortcut.

python from keras import layers def residual_block(x, filters): shortcut = x x = layers.Conv2D(filters, 3, padding="same", activation="relu")(x) x = layers.Conv2D(filters, 3, padding="same")(x) x = layers.Add()([shortcut, x]) # the skip connection return layers.Activation("relu")(x)

MobileNet: Cheaper Convolutions

A depthwise separable convolution splits a normal convolution into two cheaper steps, which reduces the computation by about 8 to 9 times with a small loss in accuracy.

python layers.SeparableConv2D(64, 3, padding="same", activation="relu")

Load Any of Them in Keras

python import keras resnet = keras.applications.ResNet50(weights="imagenet") effnet = keras.applications.EfficientNetB0(weights="imagenet") mobile = keras.applications.MobileNetV2(weights="imagenet") print(resnet.count_params()) # around 25.6 million print(mobile.count_params()) # around 3.5 millio

Classify a Picture with ImageNet Weights

python import numpy as np img = keras.utils.load_img("photo.jpg", target_size=(224, 224)) x = np.expand_dims(keras.utils.img_to_array(img), 0) x = keras.applications.resnet.preprocess_input(x) preds = resnet.predict(x) print(keras.applications.resnet.decode_predictions(preds, top=3)[0])

Which One Should I Choose?

NeedChoice
Fast and small, for mobileMobileNetV2 / V3
Good accuracy for the sizeEfficientNetB0 to B3
Strong, simple baselineResNet50
Learning purposesVGG16

Conclusion

You do not need to design architectures from scratch. Pick a proven one and apply transfer learning.

Quick Summary: ResNet introduced skip connections, MobileNet made models light and EfficientNet balanced size and accuracy.

Get Newsletter

Subscibe to our newsletter and we will notify you about the newest updates on Edugators