word-rnn
word-rnn copied to clipboard
bad argument #2 to '?' (start index out of bound)
i'm new to both torch and lua, i ran across this issue, which drives me crazy: /home/handa/torch/install/bin/luajit: bad argument #2 to '?' (start index out of bound at /tmp/luarocks_torch-scm-1-9476/torch7/generic/Tensor.c:984) stack traceback: [C]: at 0x7f8ee1c75b70 [C]: in function '__index' /home/handa/DataHandler.lua:85: in function '__init' /home/handa/torch/install/share/lua/5.1/torch/init.lua:91: in function </home/handa/torch/install/share/lua/5.1/torch/init.lua:87> [C]: in function 'DataHandler' train_match.lua:51: in main chunk [C]: in function 'dofile' ...anda/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:150: in main chunk [C]: at 0x00405d50
anyone can help me out? thanks a lot!
hello, have you solved this problem? i have the same problem.