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

attempt to call field 'LogSoftMax_updateOutput' (a nil value) #18

Open
HaiboShi opened this issue Jan 9, 2016 · 1 comment
Open

attempt to call field 'LogSoftMax_updateOutput' (a nil value) #18

HaiboShi opened this issue Jan 9, 2016 · 1 comment

Comments

@HaiboShi
Copy link

HaiboShi commented Jan 9, 2016

Hello, Thanks for your code. but when I tried your code, it always shows the problem that :

/home/shi/torch/install/share/lua/5.1/nn/LogSoftMax.lua:4: attempt to call field 'LogSoftMax_updateOutput' (a nil value)
stack traceback:
/home/shi/torch/install/share/lua/5.1/nn/LogSoftMax.lua:4: in function 'func'
/home/shi/torch/install/share/lua/5.1/nngraph/gmodule.lua:252: in function 'neteval'
/home/shi/torch/install/share/lua/5.1/nngraph/gmodule.lua:287: in function 'forward'
main.lua:165: in function 'fp'
main.lua:246: in function 'main'
main.lua:280: in main chunk
[C]: in function 'dofile'
.../shi/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:145: in main chunk
[C]: at 0x00406670

Any suggestion for that ? thanks!

@taineleau-zz
Copy link

Please make sure you have done:

$ luarocks install nngraph 
$ luarocks install optim
$ luarocks install nn
$ luarocks install cutorch
$ luarocks install cunn

in the terminal

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