Skip to content
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

Can not add ROIPooling layer problem #5

Open
hetianle opened this issue Apr 11, 2019 · 0 comments
Open

Can not add ROIPooling layer problem #5

hetianle opened this issue Apr 11, 2019 · 0 comments

Comments

@hetianle
Copy link

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/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant