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

Unexplainable GAN losses, need help #57

Open
lennert130994 opened this issue Jul 16, 2019 · 3 comments
Open

Unexplainable GAN losses, need help #57

lennert130994 opened this issue Jul 16, 2019 · 3 comments

Comments

@lennert130994
Copy link

So i have a simple GAN with dense layers and leakyReLU activation, nothing special.
When the GAN is training correctly and the generated samples look good, the training loss looks like this:
image
With blue being D and orange G.

A lot of times the GAN training goes wrong and the generated sample look like, well, shit. The training loss in this case looks like this:
image

Any help to what might cause this would be greatly appreciated!

@shaurov2253
Copy link

Hi, have you figured this out? I am trying to train a GAN and my losses look somewhat similar to your second figure.

@lennert130994
Copy link
Author

lennert130994 commented Oct 8, 2020 via email

@shaurov2253
Copy link

I am using a u-net for generator and 8-layer CNN for discriminator. I was also thinking that it may be happening because discriminator has too many layers. My understanding is the generator has much complex task than the discriminator (generating samples vs simple binary classification), which is why discriminator needs to be simpler to strike the balance. Thank you for your reply. If you got something to add, or think I'm thinking in the wrong direction. please let me know. Thanks again!

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

2 participants