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

Cause Error when using rectifier as activation function. #8

Closed
iwatobipen opened this issue Feb 22, 2015 · 1 comment
Closed

Cause Error when using rectifier as activation function. #8

iwatobipen opened this issue Feb 22, 2015 · 1 comment

Comments

@iwatobipen
Copy link

Dear Yajie.
I used pdnn for deep learning.
It works fine but when I used 'rectifiler' as activation function, it cause following error.
 
cPickle.dump(cfg, output, cPickle.HIGHEST_PROTOCOL)
cPickle.PicklingError: Can't pickle <type 'function'>: attribute lookup builtin.function failed

I guess, this error be caused by rectifier function is defined as lambda function.
Please give me some advice if you do not mind.
Regards.

@ghost
Copy link

ghost commented Mar 11, 2015

Hello, I just made the following changes which should solve the problem
6e6e840

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

1 participant