Description
I have modified the caffe source code according to
Region of Interest pooling layer (ROIPooling). This is the same layer used by fast RCNN and faster RCNN. A C++ implementation can be found in BVLC/caffe#4163
But cannot succeed compilation. The error is showed in the following. Is there some modification of caffe code between my version (cloned in April,2019) and yours?
And how to run your test code of deep retrieval model At present.
src/caffe/solver.cpp: In member function 'void caffe::Solver<Dtype>::InitTrainNet()': src/caffe/solver.cpp:116:38: error: 'class caffe::SolverParameter' has no member named 'weights_size' for (int w_idx = 0; w_idx < param_.weights_size(); ++w_idx) { ^ src/caffe/solver.cpp:117:33: error: 'class caffe::SolverParameter' has no member named 'weights' LoadNetWeights(net_, param_.weights(w_idx)); ^ src/caffe/solver.cpp: In member function 'void caffe::Solver<Dtype>::InitTestNets()': src/caffe/solver.cpp:194:40: error: 'class caffe::SolverParameter' has no member named 'weights_size' for (int w_idx = 0; w_idx < param_.weights_size(); ++w_idx) { ^ src/caffe/solver.cpp:195:44: error: 'class caffe::SolverParameter' has no member named 'weights' LoadNetWeights(test_nets_[i], param_.weights(w_idx)); ^ Makefile:591: recipe for target '.build_release/src/caffe/