Skip to content

pravn/cvae

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Conditional Variational Autoencoder (CVAE)

Implemented for MNIST images by modifying pytorch VAE example. Condition by providing labels and passing them along with input images. We condition in 2 places:

  1. As the input to the encoder
  2. As the input to the decoder

Creating labels was a bit of a problem, solved by using the scatter_() method. See here:

https://discuss.pytorch.org/t/convert-int-into-one-hot-format/507/3

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published