martinarjovsky / WassersteinGAN

BSD 3-Clause "New" or "Revised" License
3.2k stars 725 forks source link

Why did not tell the label to the discriminator #79

Open chenyuhaosuai opened 3 years ago

chenyuhaosuai commented 3 years ago

errD_real = netD(inputv) errD_real.backward(one)

errD_fake = netD(inputv) errD_fake.backward(mone)

when we train discriminator, why don not tell the label to the discriminator