eric612 / MobileNet-YOLO

A caffe implementation of MobileNet-YOLO detection network
Other
865 stars 442 forks source link

I think some codes in yolov3_layer.cpp is unreasonable. Should revise it? #280

Open superchenyan opened 3 years ago

superchenyan commented 3 years ago

yolov3_layer.cpp,as the comment out lines

Dtype x = label_data[b MAX_GT_NUM 5 + t 5 + 1]; Dtype y = label_data[b MAX_GT_NUM 5 + t 5 + 2]; Dtype w = label_data[b MAX_GT_NUM 5 + t 5 + 3]; Dtype h = label_data[b MAX_GT_NUM 5 + t 5 + 4]; float real_w = w sidew anchorsscale; float real_h = h sideh anchorsscale; //if(!x) // break;

here is my code: if ((!x)||(real_w<min_detectsize || real_h<min_detectsize)) { continue; }