Skip to content

Latest commit

 

History

History
24 lines (15 loc) · 912 Bytes

README.md

File metadata and controls

24 lines (15 loc) · 912 Bytes

1D Generative Adversarial Network Example

Example output of the WGAN-GP optimization

Generates a GAN to approximate a 1D Gaussian using the improved Wasserstein GAN (WGAN-GP). Based on the codes from the repositories of Ishaan Gulrajani and AYLIAN and the blog posts by Eric Jang and John Glover.

Running the example

This code uses Python 3.6.1. Install the dependencies via

$ pip install -r requirements.txt

To generate the animated gif, you need to install the ImageMagick library.

To run the code just run

$ python main.py

and it should produce output similar to the animation above.