Skip to content

lovecambi/DCGAN-WGAN-TF

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

58 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DCGAN (WGAN)

TensorFlow 1.0 compatible implementation

It currently works well on LSUN for vanilla gan loss, and converges slow for wgan loss (too small learning rate) 😅 .

To run WGAN, set

d_learningrate=5e-5
g_learningrate=5e-5
Wloss=True
Adam=False
noise='normal'

and

f_h=4, f_w=4, Cc=64

in both generator and discriminator (same setting as the original torch implementation).

Results of GAN Loss

After 1.5 Epoch with Batch Normalization:

DCGAN with BN

After 1 Epoch without Batch Normalization (but with bias; if no bias, the generated image is still sharp but less light):

DCGAN no BN

Results of WGAN Loss

After 4 Epochs with Batch Normalization:

WGAN with BN

About

DCGAN TensorFlow 1.0 implementation

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages