You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Looks like you're setting activation='sigmoid' in layer_3. If you're using your custom_activation function in layer_2 can you please share how the function is being passed?
A common construct in Keras for using custom_functions is to just use them in the argument.
For example:
@ritchieng Where did you put colons? Even I am trying to use piecewise linear functions instead of sigmoid function as activation. I am stuck around the same issue. Thanks in advance.
This is what I tried to do.
I got the following error:
Exception: Invalid activation function: custom_activation
The text was updated successfully, but these errors were encountered: