GAN-MNIST icon indicating copy to clipboard operation
GAN-MNIST copied to clipboard

clipping raw value of discriminator

Open Hopfgartner opened this issue 7 years ago • 0 comments

Hey, just browsed your code in mnist/model.py and I guess that you should not clip the output of the discriminator to 1e-7 and 1. - 1e-7.

In line 84 / 85 you pass the output of the descriminator (which is the result of conv2d_transpose) to your function bce, which clips the value. I guess you intended to clip the sigmoid.

Hopfgartner avatar Mar 21 '17 16:03 Hopfgartner