Skip to content

ujjawalsharma15/cVAE-in-pytorch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Implementation of cVAE in pytorch

Implementation of convolutional VAE in pytorch

Dataset

MNIST dataset which consists of images of shape 1x28x28

Implementation Details

Encoder-Decoder network consisting of conv and convtranspose layers respectively, activation function used is LeakyReLU instead of sigmoid as suggested in original paper to tackle vanishing gradient problem.

Learning Rate = 2*e-05

Batch Size = 16

Epochs = 50

Optimizer = Adam with betas-(0.5,0.999)

Results

Reconstructed Images from original images:

img-1 img-2

Images constructed from sampled noise:

img-3 img-4 img-5

Loss Curve:-

img-6 img-7

Releases

No releases published

Packages

No packages published

Languages