README.md 495 字节
Newer Older
C
cxysteven 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13
#Variational Autoencoder (VAE)

This demo implements VAE training described in the original paper (https://arxiv.org/abs/1312.6114).


In order to run the model, first download the MNIST dataset by running the shell script in ./data.

Then you can run the command below. The flag --useGpu specifies whether to use gpu for training (0 is cpu, 1 is gpu).  

$python vae_train.py [--use_gpu 1]

The generated images will be stored in ./samples/
The corresponding models will be stored in ./params/