jacobgil / keras-dcgan

Keras implementation of Deep Convolutional Generative Adversarial Networks
973 stars 413 forks source link

Activation function of generator and discriminator? #27

Open YongWookHa opened 5 years ago

YongWookHa commented 5 years ago

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.