VAE models for experiments and education usage.
Saving data of MNIST.
A python script implemented by tensorflow and experiments conducted.
A python script implemented by keras and experiments conducted.
- python2
- Tensorflow1.4.1
- Keras2.1.5
- the keras version:
python vae_keras.py
- the tensorflow version:
python vae_tf.py
tensorboard --logdir=tf_record/
epoch=5, distribution of z:
epoch=5, the output of generator(decoder):
epoch=50, distribution of z:
epoch=50, the output of generator(decoder):
training for 1000 steps, and the training loss is as follows:
Please visit http://skyhigh233.com/blog/2018/04/04/vae/ for more information.
MIT LICENSE