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

about this cpp “eval_detection_layer.cpp” #21

Open
boyang24 opened this issue Jul 17, 2018 · 6 comments
Open

about this cpp “eval_detection_layer.cpp” #21

boyang24 opened this issue Jul 17, 2018 · 6 comments

Comments

@boyang24
Copy link

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::LayerSetUp(const std::vector<caffe::Blob>&, const std::vector<caffe::Blob>&)’:
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!

@Shadowalker1995
Copy link

I have the same question

@litingsjj
Copy link

Same question.

@ccosc
Copy link

ccosc commented Sep 4, 2018

delete the file

@deeppower
Copy link

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

@shuishiwojiade
Copy link

shuishiwojiade commented Oct 31, 2018

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

@buptlj
Copy link

buptlj commented Sep 27, 2019

the same problem, anyone solved it?

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

7 participants