conv_arithmetic README

The project's README from github.com/vdumoulin/conv_arithmetic. As one markdown file: README.md.

Convolution arithmetic

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

The code and the images of this tutorial are free to use as regulated by the licence and subject to proper attribution:

Convolution animations

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

No padding, no strides Arbitrary padding, no strides Half padding, no strides Full padding, no strides
No padding, strides Padding, strides Padding, strides (odd)

Transposed convolution animations

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

No padding, no strides, transposed Arbitrary padding, no strides, transposed Half padding, no strides, transposed Full padding, no strides, transposed
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.

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

conv_arithmetic (vdumoulin/conv_arithmetic)

Searching Database…

14.7K ·GitHub
archived
这是什么?这是一份技术报告(论文),解释深度学习中的卷积算术,并配有一组动画 GIF,用来展示不同卷积操作的行为。
这是库还是论文?这是一份 LaTeX 文档加上预先渲染好的动画,不是可以导入项目的代码库;它是用来阅读和引用的。
我怎样自己生成动画或编译文档?在仓库根目录下先生成 Makefile,再生成动画。输出的 GIF 会放在 gif 目录,PDF 和 PNG 步骤的结果分别放在 pdf 和 png 目录;你也可以单独编译完整文档。
构建它需要 LaTeX 或其他工具吗?需要。这是一份基于 TeX 的技术报告,所以你需要 LaTeX 工具链(以及 Makefile 目标所用的其他工具)来生成 Makefile、生成动画并编译文档。
这个项目还在维护吗?不再维护。仓库已归档,因此它是一份已完成的静态参考资料,而不是仍在积极开发的项目。
这对谁有用?面向深度学习的学生和从业者,帮助他们直观、形象地理解卷积、转置卷积和空洞卷积操作如何改变输入和输出特征图的尺寸。
包含哪些类型的卷积动画?该仓库涵盖标准卷积(包含多种填充与步长组合)、转置卷积的等价形式,以及空洞卷积,所有动画都使用蓝色输入特征图和青色输出特征图。
我应该如何引用这项工作?请引用配套论文《A guide to convolution arithmetic for deep learning》,作者为 Vincent Dumoulin 和 Francesco Visin,README 中提供了 BibTeX 引用格式。
为什么看动画比只读公式更有用?动画能直观展示填充、步长和膨胀率的选择如何改变输入与输出特征图之间的空间关系,这是单看公式较难理解的。
Creator
vdumoulin
Size
5.5 MB
Stars
14.7K
Age
10y
Commits · 90 Days