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
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!