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

Error: AttributeError: 'NoneType' object has no attribute 'momentum' #1571

Open
j20120307 opened this issue Mar 18, 2016 · 3 comments
Open

Comments

@j20120307
Copy link

File "/pylearn2/pylearn2/training_algorithms/learning_rule.py", line 232, in _apply_momentum
momentum = algorithm.learning_rule.momentum
AttributeError: 'NoneType' object has no attribute 'momentum'

@gokul-uf
Copy link

could you give more information like what was the code you were trying to run?
thanks

@veinpy
Copy link

veinpy commented Apr 27, 2016

I tried to run scripts/gsn_example.py
when perform function test_train_supervised, it raise error :
" init() got an unexpected keyword argument 'init_momentum' "
and I found that SGD function does not have parameter ini_momentum.

please check this error

@nouiz
Copy link
Member

nouiz commented Apr 28, 2016

Pylearn2 don't have a maintainer anymore. Check Pylearn2 website for
alternative library: blocks, keras, lasagne, ...

On Wed, Apr 27, 2016 at 12:49 PM, veinpy [email protected] wrote:

I tried to run scripts/gsn_example.py
when perform function test_train_supervised, it raise error :
" init() got an unexpected keyword argument 'init_momentum' "
and I found that SGD function does not have parameter ini_momentum.

please check this error


You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
#1571 (comment)

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

4 participants