A simple demonstration of Generative Adversarial Networks (GAN). The code is based on keras, please install relative packages.
Please check the code or refer to my blog for more details.
A simple demonstration of Generative Adversarial Networks (GAN), maybe problematic.
According to the paper, we also use GAN to generate Gaussian distribution which shown in the left figure. Then we try to generate digits based on MNIST dataset, however, we encouter "the Helvetica scenario" in which G collapses too many values of z to the same value of x. Nevertheless, it is a simple demonstration, please see the details.