jzbontar / mc-cnn

Stereo Matching by Training a Convolutional Neural Network to Compare Image Patches
BSD 2-Clause "Simplified" License
707 stars 232 forks source link

got problem when running './main.lua kitti fast -a predict -net_fname net/net_kitti_fast_-a_train_all.t7 -left samples/input/kittiL.png -right samples/input/kittiR.png -disp_max 70' #36

Closed GoodStudyDayUpUp closed 7 years ago

GoodStudyDayUpUp commented 7 years ago

Hello all,

I am trying 'mc-cnn' but I got problem when I try to run './main.lua kitti fast -a predict -net_fname net/net_kittifast-a_train_all.t7 -left samples/input/kittiL.png -right samples/input/kittiR.png -disp_max 70' to use the pretrained network. The problem is like this (copy from terminal): luajit: ./main.lua:324: module 'cunn' not found: no field package.preload['cunn'] no file './cunn.lua' no file '/usr/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 '/usr/share/lua/5.1/cunn.lua' no file '/usr/share/lua/5.1/cunn/init.lua' no file './cunn.so' no file '/usr/local/lib/lua/5.1/cunn.so' no file '/usr/lib/lua/5.1/cunn.so' no file '/usr/local/lib/lua/5.1/loadall.so' stack traceback: [C]: in function 'require' ./main.lua:324: in main chunk [C]: at 0x00406670 Anyone knows what is wrong? I am new to machine learning and GPU programming! I use ubuntu 16.04 and a server (from intranet) with GeForce GTX TITAN installed.