-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error using Caffe_, glog check error, please check log and clear mex #55
Comments
i've checked log file by executing script_faster_rcnn_demo and i figure that the last two line of log file says F0106 19:55:17.793050 7656 syncedmem.cpp:51] Check failed: error == cudaSuccess (2 vs. 0) out of memory it says 'out of memory'. is it because of my gpu? My gpu is gtx 650 ti. if gpu is under Titan or tesla (ex. T20 ,T40 etc..), does it end before start? i mean my running ends without this part below. |
I have similar problem as yours, anyone had solved this problem? Error in caffe.Net/reshape (line 171) Error in caffe.Net/reshape_as_input (line 186) Error in fast_rcnn_train (line 112) Error in Faster_RCNN_Train.do_fast_rcnn_train (line 7) Error in script_faster_rcnn_pku (line 54) |
@Cogito2012 mine is gtx 650 ti |
@Anylee2142 My GPU is Quadro K620, its only 2G memory |
@Cogito2012 but i googled and figured out that the gap between K620 and 650 ti is not that huge. what's wrong with me.. can you tell me your computer specification? |
My computer is a workstation T1700 |
thank you for your advice. i can run demo now ! and if i may, why ' opts.use_gpu = false; ' make it run? i mean obviously faster r-cnn code needs gpu to be runned. Doesn't ' opts.use_gpu = false; ' this mean not using gpu? Do you know difference between opts.use_gpu = true and opts.use_gpu = false ? |
I can also run demo with opts.use_gpu = true only for ZF net. Requirements: hardwareGPU: Titan, Titan Black, Titan X, K20, K40, K80.
but I think these requirements are only for training proccess, in testing process (script_faster_rcnn_demo.m), if you set opts.use_gpu = false, the /functions/nms/nms.m file will not use gpu, thus affects boxes_filter's speed. |
@Anylee2142 You should open /experiments/+Dataset/private/voc2007_devkit.m and voc2012_devkit.m, and set your own VOC dataset devkit directory. |
@Cogito2012 i had simply renamed the folder i downloaded as what path indicate:= VOCdevkit2007 and put VOC2007 folder into VOCdevkit2007 because imdb.img_dir is after doing this, it seemed to run but while MATLAB console displayed some working message, same error appeared, after this, VOCopts.imgsetpath's dir is this is information about VOCopts |
@Anylee2142 I don't actually know whether your local VOC dataset directory is right, I put my VOC2007 at disk E:, because the path in matlab is not permitted too long. |
@Cogito2012 May i ask that you tell me your local configuration of datasets, VOC2007 and VOCdevkit? maybe following your configuration works for me. |
@Anylee2142
And in my /experiments/+Dataset/private/voc2007_devkit.m file: |
@Cogito2012 My VOCdevkit/VOC2007/ImageSets/Main has only 63 txt files. they have name like train+val+trainval+test but lesser than 84. Is the reason why MATLAB displays Error using textread because of missing files? If i may ask, Could you upload your Imagesets zip folder please? |
@Anylee2142 class_train.txt (20 files) In the faster-rcnn training, only the trainval.txt will be used,if you didn't download test datasets, there will be 63 files, but will not affect the training. Here is my ImageSets |
@Cogito2012 why MATLAB can't find trainval.txt .. it's obviously there. anyway, my testing demo problem is solved, i'm closing this issue. thank you Cogito2012 |
@Anylee2142 and @Cogito2012 : I could run script_faster_rcnn_VOC2007_ZF without any problem with the original VOC2007 Dataset. Now I use my own dataset and I changed all path variables to this new dataset which has exactly the same architecture as VOC2007. I cleared all cachefiles and I get exactly this error. Only differences: I am more interested in the RPN and hence I have only 2 object classes, no poses and no parts. Do you know if this error can occur if you have wrong prototxt files or so? I had already a problem to create the roidb, where I set my source path manually. |
As solutions of issues told,
i uncomment 31 line of script_faster_rcnn_demo.m,
replace 7.5 to 6.5 of Cuda driver
and finally i could stop MATLAB crash
but when run script_faster_rcnn_demo,
fast_rcnn startup done
GPU 1: free memory 939069440
Use GPU 1
Error using caffe_
glog check error, please check log and clear mex
Error in caffe.Net/forward_prefilled (line 109)
caffe_('net_forward', self.hNet_self);
Error in caffe.Net/forward (line 142)
self.forward_prefilled();
Error in proposal_im_detect (line 23)
output_blobs = caffe_net.forward(net_inputs);
Error in script_faster_rcnn_demo (line 54)
[boxes, scores] =
proposal_im_detect(proposal_detection_model.conf_proposal, rpn_net, im);
this message and caffe_log.2680 file.
what should i do to run??
tell me if any necessary further information needed
(Windows 7 , VS 2010 , 6.5 Cuda driver, MATLAB 2013 and 2015)
thank you for reading
The text was updated successfully, but these errors were encountered: