pytorch-tutorial icon indicating copy to clipboard operation
pytorch-tutorial copied to clipboard

Some questions about GAN code

Open jindongwang opened this issue 7 years ago • 2 comments

In the GAN code, why L98 is repeated in L115? I tried to delete L115, it works fine. Is there something I miss?

jindongwang avatar Nov 15 '18 13:11 jindongwang

@jindongwang It does not repeat. These two lines generate different random tensors. One is for training discriminator, the other is for training generator.

OrangeC93 avatar Dec 10 '19 18:12 OrangeC93