Rajat2712 / Conv-AutoEncoder

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Convulation basics

Each neuron receives some inputs, performs a dot product and optionally follows it with a non-linearity. The whole network still expresses a single differentiable score function: from the raw image pixels on one end to class scores at the other.

Input image

capture

Kernal Matrix used:-

[[-1 -1 -1] [-1 8 -1] [-1 -1 -1]]

Output image

After applying matrix dot product with the image the resulted output image is capture2

Convolutional autoencoders

Encoder

The encoder consists of three convolutional layers. The number of features changes from 1, the input data, to 16 for the first convolutional layer, then from 16 to 32 for the second layer, and finally, from 32 to 64 for the final convolutional layer.

While transacting from one convolutional layer to another, the shape undergoes an image compression: en

Decoder

The decoder consists of three deconvolution layers arranged in sequence. For each deconvolution operation, we reduce the number of features to obtain an image that must be the same size as the original image. In addition to reducing the number of features, deconvolution involves a shape transformation of the images: de

Complete figure:-

conv_autoencoder

About


Languages

Language:Jupyter Notebook 100.0%