src/data.c
@@ -167,12 +167,14 @@ h = constrain(0, 1, h); if (w == 0 || h == 0) continue; if(1){ w = sqrt(w); h = sqrt(h); //w = sqrt(w); //h = sqrt(h); w = pow(w, 1./2.); h = pow(h, 1./2.); } 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;