osh / KerasGAN

A couple of simple GANs in Keras
501 stars 177 forks source link

Discriminator "bullies" generator #14

Open eeilon79 opened 6 years ago

eeilon79 commented 6 years ago

Hi, I've got the code running in Python 3.6/Keras 2.0 (Tensorflow backend). So far (epoch ~5000 out of the first 6000) there seems to be no convergence whatsoever, at least not of the generator loss. Discriminator loss is stuck on 0; generator loss is stuck on 16 (the maximum, no doubt), and the generated images are noise. Is this due to the face I've used tensorflow instead of theano? Or is this just some random draw effect?

eeilon79 commented 6 years ago

There's incosistency in the batch sizes and learning rates between the notebook MNIST_CNN_GAN.ipynb MNIST_CNN_GAN_v2.ipynb which is the latest and the py file mnist_gan.py (which fits the graphic results). Which one is right? Does the genrrator have higher learning rate or vice versa?