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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.