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 to use projection in models with sigmoid activation? #35

Open
youkaichao opened this issue Sep 3, 2018 · 1 comment
Open

how to use projection in models with sigmoid activation? #35

youkaichao opened this issue Sep 3, 2018 · 1 comment

Comments

@youkaichao
Copy link

the output of inner-product is a scalar. In current implementation, this repo uses hinge loss without sigmoid activation.

So I wonder how to use projection in models with sigmoid activation. Can you give some suggestions?

@takerum
Copy link
Contributor

takerum commented Sep 4, 2018

Do you mean you want to train models with the loss proposed in the original GANs paper?
If so, you can do that by setting loss_type to 'dcgan' in our code:
https://github.com/pfnet-research/sngan_projection/blob/master/updater.py#L37

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