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

How does layer-wise feature matching help with discriminator and GAN training objective? #330

Open
Zephyr69 opened this issue Jan 14, 2024 · 0 comments

Comments

@Zephyr69
Copy link

The GAN_feat_loss seems to be calculating MAE between feature maps produced by the discriminator when it is doing forward pass using real and fake images.

How does this help with the training of discriminator and the whole GAN? I thought the discriminator could (and should) totally produce very different feature maps when forward passing real and fake images and still be effective, especially when using BCEWithLogitsLoss instead of MAE or MSE in discriminator losses.
Wouldn't minimizing this loss lead to collapse?

Could someone explain this?

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

1 participant