Basset
Basset copied to clipboard
how to install 'convnet' module
/root/torch/install/bin/luajit: /root/torch/install/share/lua/5.1/trepl/init.lua:383: module 'convnet' not found:No LuaRocks module found for convnet
convnet isn't a luarocks module; it's part of this package: https://github.com/davek44/Basset/blob/master/src/convnet.lua
I'm guessing your PATH variables aren't set properly. I'm copying the instructions in the README here:
Basset relies on the environmental variable BASSETDIR to orient itself. In your startup script (e.g. .bashrc), write
export BASSETDIR=the/dir/where/basset/is/installed
To make the code available for use in any directory, also write
export PATH=$BASSETDIR/src:$PATH
export PYTHONPATH=$BASSETDIR/src:$PYTHONPATH
export LUA_PATH="$BASSETDIR/src/?.lua;$LUA_PATH"