daijifeng001 / R-FCN

R-FCN: Object Detection via Region-based Fully Convolutional Networks
Other
1.24k stars 542 forks source link

Error when running "script_rfcn_demo.m"? #22

Closed YingjieYin closed 8 years ago

YingjieYin commented 8 years ago

Hi, when i run the Code "script_rfcn_demo.m" ,there is the error as follows, (my platform is win64 + matlab2014a) Invalid MEX-file 'D:\FCN\R-FCN-master\external\caffe\matlab\cafferfcn+caffe\private\caffe.mexw64': D:\FCN\R-FCN-master\external\caffe\matlab\cafferfcn+caffe\private\caffe.mexw64 不是有效的 Win32 应用程序。

出错 caffe.setdevice (line 9) caffe('set_device', device_id);

出错 active_caffe_mex (line 26) caffe.set_device(gpu_id-1);

出错 script_rfcn_demo (line 21) active_caffe_mex(opts.gpu_id, opts.caffe_version);

daijifeng001 commented 8 years ago

It seems that there is some dependencies for the mex file missing. You may use a dependency walker to check it. I suggest you install VS 2013 first.

YingjieYin commented 8 years ago

Thank you very much, the problem has been resolved. "I put all the ".dll"files in the same file of caffe_.mexw64 " @daijifeng001

ldachuan commented 6 years ago

你好,我也遇到了同样的问题,请问是哪些dll文件放到同一文件夹