最近在看实例分割的相关算法,始终无法很好的理解反卷积的相关内容,在github上找到了大佬制作的卷积和反卷积动图,放在博客保存一波。
github:https://github.com/vdumoulin/conv_arithmetic
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 |