jacobgil / keras-dcgan

Keras implementation of Deep Convolutional Generative Adversarial Networks

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Activation function of generator and discriminator?

YongWookHa opened this issue · comments

Hello.

In dcgan.py generator_model(), the model uses tanh for not only last layer but every layer.
Original paper said, it's recommended to use ReLU for every layer except the last one.
Same difference exsist in discriminator_model as well.

Do you have some specific reason that you build these differently?

Thank you for sharing your code, though.