caffe-yolo9000 icon indicating copy to clipboard operation
caffe-yolo9000 copied to clipboard

about this cpp “eval_detection_layer.cpp”

Open boyang24 opened this issue 6 years ago • 6 comments

Hello,choasup when compile caffe-yolo9000 project,when i put "eval_detection_layer.cpp" file in the project,it has the errors like "src/caffe/layers/eval_detection_layer.cpp: In member function ‘virtual void caffe::EvalDetectionLayer<Dtype>::LayerSetUp(const std::vector<caffe::Blob<Dtype>>&, const std::vector<caffe::Blob<Dtype>>&)’: src/caffe/layers/eval_detection_layer.cpp:328:10: error: ‘names’ was not declared in this scope names_.push_back(name); ^ src/caffe/layers/eval_detection_layer.cpp:329:10: error: ‘width_’ was not declared in this scope width_.push_back(width); ^_" so but when i take the cpp file away,the compile will be ok,so how to solve this problem?and what is that file for?and it this file affect the training?thanks!

boyang24 avatar Jul 17 '18 02:07 boyang24

I have the same question

Shadowalker1995 avatar Jul 31 '18 05:07 Shadowalker1995

Same question.

litingsjj avatar Aug 27 '18 09:08 litingsjj

delete the file

ccosc avatar Sep 04 '18 09:09 ccosc

I think this file affect on "Test a image".

deeppower avatar Sep 17 '18 02:09 deeppower

我的解决办法是升级gcc 到5.5,boost升级到1.58.0,若按照我的方法,这个文件最好别删,不然会报错,有关boost未定义的错误

shuishiwojiade avatar Oct 31 '18 08:10 shuishiwojiade

the same problem, anyone solved it?

buptlj avatar Sep 27 '19 01:09 buptlj