Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
twmht opened this issue Oct 11, 2017 · 1 comment
Closed

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

twmht opened this issue Oct 11, 2017 · 1 comment

Comments

@twmht
Copy link

twmht commented Oct 11, 2017

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
Copy link
Member

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants