Joseph Redmon
2015-05-04 372980d690f84aade1ebfd1a92750ed327ab1c8d
src/data.c
@@ -166,8 +166,10 @@
        w = constrain(0, 1, w);
        h = constrain(0, 1, h);
        if (w == 0 || h == 0) continue;
        if(1){
        w = sqrt(w);
        h = sqrt(h);
        }
        int index = (i+j*num_boxes)*(4+classes+background);
        if(truth[index+classes+background+2]) continue;