Skip to content

Wenri/cvaegan

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TensorFlow cVAEGAN

TensorFlow implementation of cVAEGAN.

Models

  • Conditional variational autoencoder [Kingma et al. 2014]
  • CVAE-GAN [Bao et al. 2017]

Usage

Prepare datasets

MNIST and SVHN

MNIST and SVHN datasets are automatically downloaded from their websites.

CelebA

First, download img_align_celeba.zip and list_attr_celeba.txt from CelebA webpage. Then, place these files to datasets and run create_database.py on databsets directory.

Training

# Both standard and conditional models are available!
python train.py --model=cvaegan --epoch=200 --batchsize=100 --output=output

TensorBoard is also available with the following script.

tensorboard --logdir="output/dcgan/log"

Results

CVAE-GAN (for SVHN 50 epochs)

References

  • Kingma et al., "Auto-Encoding Variational Bayes", arXiv preprint 2013.
  • Goodfellow et al., "Generative adversarial nets", NIPS 2014.
  • Kingma et al., "Semi-supervised learning with deep generative models", NIPS 2014.
  • Bao et al., "CVAE-GAN: Fine-Grained Image Generation through Asymmetric Training", arXiv preprint 2017.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published