Skip to content

A keras implementation of conditional wgan-gp

Notifications You must be signed in to change notification settings

shanhuhaifeng/cwgan-gp

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Conditional WGAN-GP (cWGAN-GP) in Keras

Conditional version of WGAN-GP is the combination of cgan and wgan-gp. It can be used to generate samples of a particular class.

Datasets

Mnist dataset is used in the experiment.

Usage

python3 cwgan_gp.py

Result

avatar

Generate image of a specific class

Use the code wgan.generate_images(class_names).

Defining a new task for cWGAN-GP

Need to change img_rows, img_cols, channels, nclasses, load your own dataset and change the network structure to corresponding size.

About

A keras implementation of conditional wgan-gp

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%