Element-Research / rnn

Recurrent Neural Network library for Torch7's nn
BSD 3-Clause "New" or "Revised" License
941 stars 313 forks source link

attempt to call field 'Recurrent' (a nil value) #422

Closed twmht closed 7 years ago

twmht commented 7 years ago

It seems that luarocks install rnn does not install Recurrent.lua

/home/tumh/torch/install/bin/luajit: simple-recurrent-network.lua:12: attempt to call field 'Recurrent' (a nil value)
stack traceback:
        simple-recurrent-network.lua:12: in main chunk
        [C]: in function 'dofile'
        ...tumh/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:150: in main chunk
        [C]: at 0x00405d50

it links to https://github.com/torch/rnn. see https://raw.githubusercontent.com/torch/rocks/master/rnn-scm-1.rockspec

nicholas-leonard commented 7 years ago

luarocks install rnn now installs https://github.com/torch/rnn. To install this repo,

git clone git@github.com:Element-Research/rnn.git
cd rnn
luarocks make rocks/rnn-scm-1.rockspec

I have updated the README.md.