faster_rcnn
faster_rcnn copied to clipboard
Matlab stuck at initialization for training
I am using Matlab R2013b, and I can run testing perfectly. However when I do training (e.g., VOC2007 on ZF net), the process gets stuck at
caffe_solver = caffe.Solver(opts.solver_def_file);
in 'proposal_train.m'.
It seems that it's just an initialization of Caffe.
Test on 2 machine and get the same problem. Does anyone meet with this, too?
I've moved to the py-faster-rcnn and it works smoothly on my machine.
I meet the same problem on matlab 2015a(windows7),who can give the solution ?
Doing <get_solver>..... Error using caffe_ glog check error, please check log and clear mex
Error in caffe.get_solver (line 7) pSolver = caffe_('get_solver', solver_file);
Error in caffe.Solver (line 21) self = caffe.get_solver(varargin{:});
Error in proposal_train (line 49) caffe_solver = caffe.Solver(opts.solver_def_file);
Error in Faster_RCNN_Train.do_proposal_train (line 7) model_stage.output_model_file = proposal_train(conf, dataset.imdb_train, dataset.roidb_train, ...
Error in script_faster_rcnn_VOC2007_ZF (line 45) model.stage1_rpn = Faster_RCNN_Train.do_proposal_train(conf_proposal, dataset, model.stage1_rpn, opts.do_val);
@6676401088 please check the log file which has been setup in Line 48, proposal_train.m
I am facing similar issue.
Error using caffe_ glog check error, please check log and clear mex
Is there any solution to this yet?
I was also facing the same issue (on Linux) and found a solution after looking at the prototxt files in the models folder. The location for respective (e.g. in solver_60k80k.prototxt) nets given in these files is incorrect and gives an error of "File Not Found". The location is given as net: ".\models\rpn_prototxts\ZF\train_val.prototxt" Change it to net: "./models/rpn_prototxts/ZF/train_val.prototxt" to resolve the error.
Also make the required changes in the other solver files so that you don't get the same error again.
I have the same problem in linux. Changing "\" to '/' in the prototxt file fixes this bug.
I changed '' to '/' in the prototxt file in windows, but it still didn‘t work