facebookresearch / multipathnet

A Torch implementation of the object detection network from "A MultiPath Network for Object Detection" (https://arxiv.org/abs/1604.02135)
Other
1.34k stars 275 forks source link

problem:th demo.lua -img ./deepmask/data/testImage.jpg #42

Open Jimjipeng opened 7 years ago

Jimjipeng commented 7 years ago

/home/jp/torch/install/bin/luajit: /home/jp/torch/install/share/lua/5.1/trepl/init.lua:389: /home/jp/torch/install/share/lua/5.1/trepl/init.lua:389: module 'cunn' not found:No LuaRocks module found for cunn no field package.preload['cunn'] no file '/home/jp/.luarocks/share/lua/5.1/cunn.lua' no file '/home/jp/.luarocks/share/lua/5.1/cunn/init.lua' no file '/home/jp/torch/install/share/lua/5.1/cunn.lua' no file '/home/jp/torch/install/share/lua/5.1/cunn/init.lua' no file './cunn.lua' no file '/home/jp/torch/install/share/luajit-2.1.0-beta1/cunn.lua' no file '/usr/local/share/lua/5.1/cunn.lua' no file '/usr/local/share/lua/5.1/cunn/init.lua' no file '/home/jp/.luarocks/lib/lua/5.1/cunn.so' no file '/home/jp/torch/install/lib/lua/5.1/cunn.so' no file '/home/jp/torch/install/lib/cunn.so' no file './cunn.so' no file '/usr/local/lib/lua/5.1/cunn.so' no file '/usr/local/lib/lua/5.1/loadall.so' stack traceback: [C]: in function 'error' /home/jp/torch/install/share/lua/5.1/trepl/init.lua:389: in function 'require' demo.lua:11: in main chunk [C]: in function 'dofile' ...e/jp/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:150: in main chunk [C]: at 0x00405d50

samson-wang commented 7 years ago

Did you install cunn? try luarocks install cunn

Jimjipeng commented 7 years ago

try luarocks install cunn 【result】 CMake Error at /usr/share/cmake-3.5/Modules/FindCUDA.cmake:617 (message): Specify CUDA_TOOLKIT_ROOT_DIR Call Stack (most recent call first): CMakeLists.txt:7 (FIND_PACKAGE)

samson-wang commented 7 years ago

It said Specify CUDA_TOOLKIT_ROOT_DIR try CUDA_TOOLKIT_ROOT_DIR=/path/to/cuda/root luarocks install cunn