Open superchenyan opened 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; }
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; }