Basset icon indicating copy to clipboard operation
Basset copied to clipboard

how to install 'convnet' module

Open song984888 opened this issue 4 years ago • 1 comments

/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

song984888 avatar Jun 09 '20 02:06 song984888

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"

davek44 avatar Jun 29 '20 18:06 davek44