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 in cuda version #14

Open
attardi opened this issue Feb 25, 2016 · 1 comment
Open

error in cuda version #14

attardi opened this issue Feb 25, 2016 · 1 comment

Comments

@attardi
Copy link

attardi commented Feb 25, 2016

Trying to run the cuda version I get this error:

luajit: ~/tools/torch/install/share/lua/5.1/nn/THNN.lua:804: wrong number of arguments for function call
stack traceback:
[C]: in function 'v'
~/tools/torch/install/share/lua/5.1/nn/THNN.lua:804: in function 'LookupTable_accGradParameters'
~/tools/torch/install/share/lua/5.1/nn/LookupTable.lua:73: in function 'accGradParameters'
~/tools/torch/install/share/lua/5.1/nngraph/gmodule.lua:409: in function 'neteval'
~/tools/torch/install/share/lua/5.1/nngraph/gmodule.lua:420: in function 'accGradParameters'
~/tools/torch/install/share/lua/5.1/nn/Module.lua:31: in function 'backward'
./util/HLogSoftMax.lua:91: in function 'updateGradInput'
./util/HLogSoftMax.lua:98: in function 'backward'
main.lua:327: in function 'feval'
main.lua:380: in main chunk
[C]: at 0x00406670

@attardi
Copy link
Author

attardi commented Feb 25, 2016

I fixed this by pulling the latest nn fromL

https://github.com/torch/nn

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