src/data.c
@@ -165,7 +165,7 @@ w = constrain(0, 1, w); h = constrain(0, 1, h); if (w == 0 || h == 0) continue; if (w < .01 || h < .01) continue; if(1){ //w = sqrt(w); //h = sqrt(h); @@ -174,7 +174,7 @@ } int index = (i+j*num_boxes)*(4+classes+background); //if(truth[index+classes+background+2]) continue; if(truth[index+classes+background+2]) continue; if(background) truth[index++] = 0; truth[index+id] = 1; index += classes;