Skip to content
/ gan Public

A 1D toy example of optimizing a generative model using the WGAN-GP model.

Notifications You must be signed in to change notification settings

kremerj/gan

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

A 1D toy example of optimizing a generative model using the WGAN-GP model.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages