NVlabs / FUNIT

Translate images to unseen domains in the test time with few example images.
https://nvlabs.github.io/FUNIT/
Other
1.58k stars 238 forks source link

How the gradient penalty works? Where is the code? #18

Closed liwei92 closed 5 years ago

liwei92 commented 5 years ago

First, thank you very much for sharing the code with the community.

I am curious about why and how the gradient penalty works.

As you said in the Table5 (on page 13 of the arxiv version paper), the gradient penalty loss is very import for the results, but I didn't find the specific description for it in the paper.

So can you point out how it works and where the code is?

Thanks again for the attractive work.

liwei92 commented 5 years ago

I've found the code (calc_grad2) and the original paper (https://arxiv.org/abs/1705.09367).