Keras adversarial GANs for forging MNIST

Keras adversarial ( is an open source Python package for building GANs developed by Ben Striner ( and Since Keras just recently moved to 2.0, I suggest downloading latest Keras adversarial package:

git clone --depth=50 --branch=master

And install

python install

Note that compatibility with Keras 2.0 is tracked in this issue

 If the generator G and the discriminator D are based on the same model, M, then they can be combined into ...

Get Deep Learning with Keras now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.