faster_rcnn icon indicating copy to clipboard operation
faster_rcnn copied to clipboard

After running "caffe_('set_device', device_id);", matlab will lose response in Matlab2016b, Cuda 8.0

Open m274d opened this issue 7 years ago • 0 comments

Problem I encountered: When I excute 'script_faster_rcnn_demo.m', my matlab will lose response. After some debug work, I find that matlab can get GPU id:

gpu_id = auto_select_gpu; GPU 1: free memory 5295693004 Use GPU 1

But when the program runs to active_caffe_mex.m and to the line caffe.set_device(gpu_id-1)

To be more specific, to the line caffe_('set_device', device_id); in \external\caffe\matlab\caffe_faster_rcnn+caffe\set_device.m

The matlab will lose response. Did anybody meet the same problem before?

Here is my working envirnment:

OS: Windows 10 64bit Home Matlab: 2016b Cuda: 8.0 GPU: GTX1060 notebook

I compiled the mexw64 on my own and I will upload my file for your reference. https://1drv.ms/u/s!AvNefce6_jw8cI0vyFdv3bg5Ndg

If anyone can test my file and report whether it works or not, it will be very helpful!!

m274d avatar Jan 12 '17 07:01 m274d