25

A technical report on convolution arithmetic in the context of deep learning

 5 years ago
source link: https://www.tuicool.com/articles/hit/rAj2Qvy
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

Convolution arithmetic

A technical report on convolution arithmetic in the context of deep learning.

The code and/or the images of this tutorial are free to use for non-commercial purposes with proper attribution:

Convolution animations

N.B.: Blue maps are inputs, and cyan maps are outputs.

aEZ7Jvi.gif3ieqau6.gifZfAniey.gifi2m6ryR.gif No padding, no strides Arbitrary padding, no strides Half padding, no strides Full padding, no strides qEBJryj.gif7vy2eyV.gifjmUrmaZ.gif No padding, strides Padding, strides Padding, strides (odd)

Transposed convolution animations

N.B.: Blue maps are inputs, and cyan maps are outputs.

eiyUnuv.gifiMB7zqE.gifnYfUN3U.gifQVFF3yi.gif No padding, no strides, transposed Arbitrary padding, no strides, transposed Half padding, no strides, transposed Full padding, no strides, transposed 3QZNNvb.gif7Br6raI.gifJNFJZnj.gif No padding, strides, transposed Padding, strides, transposed Padding, strides, transposed (odd)

Dilated convolution animations

N.B.: Blue maps are inputs, and cyan maps are outputs.

Y7faaay.gif No padding, no stride, dilation

Generating the Makefile

From the repository's root directory:

$ ./bin/generate_makefile

Generating the animations

From the repository's root directory:

$ make all_animations

The animations will be output to the gif directory. Individual animation steps will be output in PDF format to the pdf directory and in PNG format to the png directory.

Compiling the document

From the repository's root directory:

$ make

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK