【笔记】Wgan-Gp:重点关注判别器损失

    问题:有人训练的wgan-gp,判别器器损很高,但是生成器的损失函数为0,是否代表生成器效果太好?


    个人遇到的问题:生成器逐渐升高,不收敛。但是判别器的loss收敛

    回答:That’s not a problem, your charts look okay. The generator loss is actually meaningless by itself, since the critic’s loss is invariant to any constant offset (I.e. A critic F(x) and a critic F(x)+c will perform the same under the critic objective). This means that constant offset will randomly vary up and down (and the generator loss with it). So in general you should pay attention only to the critic loss (actually, the negative of that, if you want your loss curve to look more like the typical supervised curves).


    其实意思就是:
    生成器的损失没有意义,把关注点放在判别器的loss上就好。
   #W

你可能感兴趣的:(小菜鸡加油,python,pytorch,人工智能)