yoonkim / lstm-char-cnn

LSTM language model with CNN over characters
MIT License
826 stars 221 forks source link

Squeeze error #19

Closed robinsloan closed 8 years ago

robinsloan commented 8 years ago

Trying to run main.lua, I'm getting the following error:

Word vocab size: 599589, Char vocab size: 42, Max word length (incl. padding):  65
creating an LSTM-CNN with 2 layers
/home/robin/dev/torch/install/bin/luajit: ./model/TDNN.lua:27: attempt to call field 'Squeeze' (a nil value)
stack traceback:
        ./model/TDNN.lua:27: in function 'tdnn'
        ./model/LSTMTDNN.lua:53: in function 'lstmtdnn'
        main.lua:150: in main chunk
        [C]: in function 'dofile'
        .../dev/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:145: in main chunk
        [C]: at 0x00406670

I see some recent commits about Squeeze so I presume this is related; any tips?

Thank you!

robinsloan commented 8 years ago

Never mind! Updated packages as recommended in other issues. Sorry about that.