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

Generator doesn't work #15

Open
qlinsey opened this issue Sep 30, 2022 · 2 comments
Open

Generator doesn't work #15

qlinsey opened this issue Sep 30, 2022 · 2 comments

Comments

@qlinsey
Copy link

qlinsey commented Sep 30, 2022

Hi,
How are you?
Thanks for this great work. I have one question: I ran the pytorch code and the generator doesn't work. It means: only model learned and saved, I used generator to generate the random noise and discriminator classify label. However, it always classify to one single or very few labels. I tried so many ways: change noise to normal distribution, add some more layers , but it looks like generator doesn't learn ...

Can please give some guidance or workable code? thanks a lot!

Look forward to hearing from you soon!

@crux82
Copy link
Owner

crux82 commented Sep 30, 2022

Hi Linsey,

Honestly, I cannot help you understand whether the generator "works" or not.
GAN-BERT does not aim to get a good generator. The goal is to constantly challenge the discriminator to improve its quality when few labeled data are available (in a semi-supervised fashion).

We have not thoroughly investigated the quality of the generator-derived material, even considering that it is an MLP applied to random noise. A more in-depth discussion of this topic can be found here:

https://proceedings.neurips.cc/paper/2017/file/79514e888b8f2acacc68738d0cbb803e-Paper.pdf

At the same time, we investigated the possibility to generate real examples but using a different approach here:

https://github.com/crux82/dats

Hope this helps

Bests

Danilo

@qlinsey
Copy link
Author

qlinsey commented Sep 30, 2022

Hi, Danilo,

Thank you so much for your response! It helps!

Linsey

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