mhsszm
mhsszm
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); ^ src/caffe/layers/eval_detection_layer.cpp:330:3: error: ‘height_’ was not declared in this...
边界条件未处理到位的情况,当测试用例1,改为: // 空格在句子中间 void Test1() { const int length = 13; char str[length] = "hello world"; Test("Test1", str, length, "hello%20world"); } 按作者的意思是要return ;的,可实际并没有,导致后面程序崩溃。1楼,2楼讲的很好。