LynnHo / DCGAN-LSGAN-WGAN-GP-DRAGAN-Tensorflow-2

MIT License
419 stars 104 forks source link

A problem for your DCGAN architecture #19

Open RayGuo-C opened 3 years ago

RayGuo-C commented 3 years ago

Hi, - Your work is really interesting. But I have found there is a problem for your DCGAN that I didn't understand. You generate noise twice when train discriminator and generator for each iteration, like the blue lines in the following picture. In soumith code (includes some official DCGAN code), he only generate noise once: https://github.com/soumith/dcgan.torch. Could you please tell me the reason?

image

LynnHo commented 3 years ago

@RayGuo-C Because G and D training are separated,they don't need the same noise input.