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

Why do we need the last activation layer?

Open Dave1991 opened this issue 6 years ago • 0 comments

In the networks.py, I saw the last layer for generator is tanh, and the last layer for discriminator is sigmoid. However, in the network architecture proposed on the paper, the generator and the discriminator doesn't seem to need the last activation layer. Why do we add them?

Dave1991 avatar Nov 22 '18 02:11 Dave1991