Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

example_gan.py always generates same digit (1 in my case). #24

Open
Phani-Nidadavolu opened this issue May 19, 2017 · 2 comments
Open

Comments

@Phani-Nidadavolu
Copy link

I am using Keras 2 and the latest keras-adverserial code that you wrote for keras-2. @bstriner Could you help me debug this?

@mynameisvinn
Copy link

theres no easy way to debug this issue.

in simple GANs, the discriminator has strong bias on what a "real" image looks like. as result, it teaches the generator to produce a single image, regardless of the initial input.

ive seen some research around minibatch discrimination, which makes sure features within various samples remain varied, and therefore avoids a single output.

@kechan
Copy link

kechan commented Feb 27, 2018

I ran example_gan.py and I got mostly 1's and 7's. @mynameisvinn Could you elaborate a bit more if you know how to improve this? I don't get anything close to the picture show in this git.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants