grid-lstm
grid-lstm copied to clipboard
nngraph: Got 3 inputs instead of 5
Hi, Training runs fine, but sampling gives the following error:
th ./sample.lua cv/lm_lstm_epoch7.01_1.3587.t7
nngraph/gmodule.lua:362: Got 3 inputs instead of 5
stack traceback:
[C]: in function 'error'
/home/user/torch/install/share/lua/5.1/nngraph/gmodule.lua:362: in function 'forward'
./sample.lua:173: in main chunk
[C]: in function 'dofile'
/home/user/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:150: in main chunk
[C]: at 0x00406670
char-rnn on the same machine doesn't give error.
Updated the nngraph package:
luarocks install nngraph
The issue remains. Thank you for looking into it and for sharing.