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

I publish a Pytorch version, welcom to follow. #60

Open
shoutOutYangJie opened this issue Feb 19, 2021 · 3 comments
Open

I publish a Pytorch version, welcom to follow. #60

shoutOutYangJie opened this issue Feb 19, 2021 · 3 comments

Comments

@shoutOutYangJie
Copy link

Thank you. The code and training code can be found here.
https://github.com/shoutOutYangJie/Morph-UGATIT

@markduon
Copy link

Dear sir,

I am a little confused with 2 CAM loss functions (5) and (6) in the paper. I don't know why one function uses BCE for generator, one uses MSE for discriminator? Can someone explain it? Many thanks.

@shoutOutYangJie
Copy link
Author

Dear sir,

I am a little confused with 2 CAM loss functions (5) and (6) in the paper. I don't know why one function uses BCE for generator, one uses MSE for discriminator? Can someone explain it? Many thanks.

The two CAM losses have a different effects. The CAM in Generator helps to generate more realistic image. The CAM in D helps to distinct the real image and fake image.

@markduon
Copy link

Thank you for your response, sir!
I also do not know that what is the main function of auxiliary classifier in Generator and Discriminator? Are they the same in both?

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