less than 1 minute read

Here are a collection of animations I made for visualizing typical operations in Convolutional Neural Networks. I used them in the context of IVADO/Mila’s deep learning schools.

All animations were done using the 3blue1brown’s manim library. Check out the code to reproduce the images.

1D Convolution

conv1d

2D Convolution

Zero Padding

zeropad

Valid Convolution

valid

Same Convolution

same

Full Convolution

full

Strided Convolution

strided

Strided 1 and Stride 2

strided2

Pooling

pooling

Dilated Convolution

dilated

MNIST Convolution

mnist_conv

Depth

depth

RGB Convolution

rgb_conv

RGB to Volume

rgb2vol

Volume to Volume

rgb2vol

1x1 Convolution

onebyone

Global Pooling

globalpool

Transpose Convolution

transpose_conv transpose-2

Comments