UGATIT-pytorch icon indicating copy to clipboard operation
UGATIT-pytorch copied to clipboard

I publish a Pytorch version, welcom to follow.

Open shoutOutYangJie opened this issue 4 years ago • 3 comments

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

shoutOutYangJie avatar Feb 19 '21 15:02 shoutOutYangJie

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.

markduon avatar Mar 17 '21 02:03 markduon

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.

shoutOutYangJie avatar Mar 17 '21 02:03 shoutOutYangJie

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?

markduon avatar Mar 29 '21 10:03 markduon