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

module 'loadcaffe' not found:No LuaRocks module found for loadcaffe #180

Open
ghost opened this issue Jul 10, 2017 · 2 comments
Open

module 'loadcaffe' not found:No LuaRocks module found for loadcaffe #180

ghost opened this issue Jul 10, 2017 · 2 comments

Comments

@ghost
Copy link

ghost commented Jul 10, 2017

when i run this
th eval.lua -model /path/to/model -photos /path/to/image/directory -num_images 10 -gpuid -1
the result like this and i don't know where is the problem
/home/tam_g/torch/install/bin/luajit: /home/tam_g/torch/install/share/lua/5.1/trepl/init.lua:389: module 'loadcaffe' not found:No LuaRocks module found for loadcaffe
no field package.preload['loadcaffe']
no file '/home/tam_g/.luarocks/share/lua/5.1/loadcaffe.lua'
no file '/home/tam_g/.luarocks/share/lua/5.1/loadcaffe/init.lua'
no file '/home/tam_g/torch/install/share/lua/5.1/loadcaffe.lua'
no file '/home/tam_g/torch/install/share/lua/5.1/loadcaffe/init.lua'
no file './loadcaffe.lua'
no file '/home/tam_g/torch/install/share/luajit-2.1.0-beta1/loadcaffe.lua'
no file '/usr/local/share/lua/5.1/loadcaffe.lua'
no file '/usr/local/share/lua/5.1/loadcaffe/init.lua'
no file '/home/tam_g/.luarocks/lib/lua/5.1/loadcaffe.so'
no file '/home/tam_g/torch/install/lib/lua/5.1/loadcaffe.so'
no file '/home/tam_g/torch/install/lib/loadcaffe.so'
no file './loadcaffe.so'
no file '/usr/local/lib/lua/5.1/loadcaffe.so'
no file '/usr/local/lib/lua/5.1/loadall.so'
stack traceback:
[C]: in function 'error'
/home/tam_g/torch/install/share/lua/5.1/trepl/init.lua:389: in function 'require'
eval.lua:5: in main chunk
[C]: in function 'dofile'
...am_g/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:150: in main chunk
[C]: at 0x00406670

@nguyenhuyanhh
Copy link

You need to install loadcaffe following this instruction

@mrgloom
Copy link

mrgloom commented Nov 4, 2019

sudo luarocks install loadcaffe

Error: No results matching query were found.

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