Closed lr87 closed 7 years ago
are you running it from the same directory in which spynet.lua is present?
Sorry, something was wrong when I downloaded the code , and the 'spynet.lua' file was missing. I download the code again, and everything works well. Thanks a lot !
I have installed the required packages : 'spybhwd' and 'stnbhwd'
But, when I run the command 'spynet = require('spynet')' in torch, it goes wrong. Here's the message:
th> spynet = require('spynet') /home/liran/torch/install/share/lua/5.1/trepl/init.lua:389: module 'spynet' not found:No LuaRocks module found for spynet no field package.preload['spynet'] no file '/home/liran/.luarocks/share/lua/5.1/spynet.lua' no file '/home/liran/.luarocks/share/lua/5.1/spynet/init.lua' no file '/home/liran/torch/install/share/lua/5.1/spynet.lua' no file '/home/liran/torch/install/share/lua/5.1/spynet/init.lua' no file './spynet.lua' no file '/home/liran/torch/install/share/luajit-2.1.0-beta1/spynet.lua' no file '/usr/local/share/lua/5.1/spynet.lua' no file '/usr/local/share/lua/5.1/spynet/init.lua' no file '/home/liran/.luarocks/lib/lua/5.1/spynet.so' no file '/home/liran/torch/install/lib/lua/5.1/spynet.so' no file '/home/liran/torch/install/lib/spynet.so' no file './spynet.so' no file '/usr/local/lib/lua/5.1/spynet.so' no file '/usr/local/lib/lua/5.1/loadall.so' stack traceback: [C]: in function 'error' /home/liran/torch/install/share/lua/5.1/trepl/init.lua:389: in function 'require' [string "spynet = require('spynet')"]:1: in main chunk [C]: in function 'xpcall' /home/liran/torch/install/share/lua/5.1/trepl/init.lua:679: in function 'repl' ...iran/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:199: in main chunk [C]: at 0x00406670