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

Feature matching loss values #1

Closed
guiandrade2 opened this issue Sep 30, 2021 · 3 comments
Closed

Feature matching loss values #1

guiandrade2 opened this issue Sep 30, 2021 · 3 comments

Comments

@guiandrade2
Copy link

While using the feature matching loss GAN on another datasets, I verify that the feature matching loss achieves very small values, yet the discriminator can still distinguish between real and fake images for the big majority of cases. Is this expected? Is this a problem? Is it a desired effect?

@etaoxing
Copy link
Owner

Hi, thanks for the interest in this codebase. As a disclaimer, I haven't looked at this in a couple years.

From the original improved GAN paper, Section 3.2:

Interestingly, however, feature matching was found to work much better if the goal is to obtain a strong classifier using the approach to semi-supervised learning described in Section 5.

This project trains a GAN for classification. We want the classifier (discriminator of the GAN) to be good, so it can distinguish b/w the different classes (including the added "fake" class). You can check out Section 4 of this paper for more details on an application of this approach.

I'm not sure about your specific use case, but that is an expected result for the implementation in this codebase.

@guiandrade2
Copy link
Author

Thank you for the answer, I would like to ask as well, is there any resource regarding architectures of generators for GAN systems? I am having a lot of trouble finding something solid about it.

Thank you for your time

@etaoxing
Copy link
Owner

etaoxing commented Oct 5, 2021

Image generation is probably a better direction for training generators.

@etaoxing etaoxing closed this as completed Oct 5, 2021
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