当前位置:网站首页>Getting to know the generation confrontation network (12) -- using pytoch to build wgan-gp to generate handwritten digits

Getting to know the generation confrontation network (12) -- using pytoch to build wgan-gp to generate handwritten digits

2022-06-25 08:27:00 wendy_ ya

〇、WGAN-GP Introduce

WGAN-GP (Wasserstein GAN using gradient penalty), That is to say WGAN On the basis of joining gradient penalty Gradient penalty term , Please refer to the paper :《Improved Training of Wasserstein GANs》.

One 、 generator

Generator classes and WGAN identical , The code is as follows :

class Generator(nn.Module):
    def __init__<
原网站

版权声明
本文为[wendy_ ya]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/176/202206250702124938.html