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

Semi-supervised learning GANs for classification #15

Closed
rjpg opened this issue Jul 7, 2018 · 0 comments
Closed

Semi-supervised learning GANs for classification #15

rjpg opened this issue Jul 7, 2018 · 0 comments
Assignees

Comments

@rjpg
Copy link

rjpg commented Jul 7, 2018

Hello,

I have been reading the book to try to understand the GANS. I would like to try it (GANs) for classification.

I have been looking to this code :https://github.com/PacktPublishing/Deep-Learning-with-Keras/blob/master/Chapter04/example_gan_convolutional.py

To try to adapt it to a GAN with N+1 outputs being N the number of classes and +1 for the forge output.
Some things I dont understand on the example, like the output generation gan_targets(xtest.shape[0]). ... How exactly can the GAN architecture test if the output is fake or not ?

And to adapt this example, to make a Semi-supervised learning for classification, how should we incorporate the output layer of 10 with soft max and construct the outputs align with the inputs (and generated -fake- inputs with label ) ?

I would be grateful if there was some example, based on this one, were we could see GANs performing classification ?

Thanks in advance,
Rui

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

No branches or pull requests

3 participants