Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Newest release of KERAS does not support LeakyRELU #1

Closed
roestigraben opened this issue Apr 12, 2016 · 2 comments
Closed

Newest release of KERAS does not support LeakyRELU #1

roestigraben opened this issue Apr 12, 2016 · 2 comments

Comments

@roestigraben
Copy link

I use Keras v0.3.3 and the parameter

activation=LeakyReLU()

inside the model.add(Convolution2D()) method

does not work anymore compared to v0.3.2

see bug report on URL

@intact-project
Copy link
Owner

@roestigraben you can remove the optional argument activation=LeakyReLU() from the Convolution2D() layer and add an extra layer with the activations just after each convolutional layer:

model.add(Convolution2D())
model.add(LeakyReLU())

please refer to fchollet/keras/#2272 for more details

@roestigraben
Copy link
Author

Thanks for the hint. Very appreciated!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants