ShaoqingRen / faster_rcnn

Faster R-CNN
Other
2.7k stars 1.22k forks source link

After trained faster-rcnn use other image formats like .bmp, running demo had error #155

Open abner2015 opened 7 years ago

abner2015 commented 7 years ago

After trained faster-rcnn use other image formats like .bmp, running demo had error: Error using gpuArray/subsref Index exceeds matrix dimension.

Error in proposal_im_detect (line 16) im_blob = im_blob(:, :, [3, 2, 1], :); % from rgb to brg

Error in script_faster_rcnn_demo (line 96) [boxes, scores] = proposal_im_detect(proposal_detection_model.conf_proposal, rpn_net, im);

how can i solve it ? Thanks for u help!