Deep Learning: deconvolution (transposed convolution) introduction

Source: Internet
Author: User
inverse convolution and convolution

Deconvolution, as the name suggests, is the reverse operation of convolution operations.

In order to facilitate understanding, suppose convolution is a picture before convolution is the characteristic of the picture.

Convolution, input picture, output picture characteristics, theoretical basis is the statistical invariance of Translational invariance (translation invariance), play a role in dimensionality reduction. Move diagram as follows:

Deconvolution, input the characteristics of the picture, output pictures, play a role in reducing. Move diagram as follows:

We know that convolution combined with the reduced-dimensional role of the pool, the neural network to the depth of learning, open the new World of neural networks, then the role of deconvolution. the effect of deconvolution

The deconvolution emerges in "unsupervised representations Learning with Deep convolutionalgenerative adversarial Networks", The main work of this paper is to use Gans to generate pictures, of which generator and discriminator are used in depth learning, Generator to generate pictures in the process of using deconvolution operations (of course, discriminator to use the convolution of the generator generated by the image to distinguish the authenticity). Generator generate pictures to indicate:
types of Reverse convolution

General type:

Input: 2*2
Calculation process: 2+2*2-3+1
Output: 4

Fractionally-strided convolution:

Input: 3*3
Calculation process: 3+4-3+1
Output: 5

Fractionally-strided, the number of decimal steps, reflected in the gap padding, nominally stride=1, but the actual effect is less than 1. the realization of deconvolution in TensorFlow

Tf.nn.conv2d_transpose (value, filter, Output_shape, strides, padding= ' SAME ', data_format= ' NHWC ', Name=none)
Parameter explanation:

Value:[batch,in_height,in_width,in_channels]
Filter:[batch,k_width,out_channels,in_channels]
Output_shape:[batch,output_height,output_width,output_channels]
Strides: The number of moves that correspond to each dimension

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.