Joseph Redmon
2015-09-16 c53e03348c65462bcba33f6352087dd6b9268e8f
src/data.c
@@ -176,8 +176,10 @@
        int index = (col+row*num_boxes)*(5+classes);
        if (truth[index]) continue;
        truth[index++] = 1;
        if (classes) truth[index+id] = 1;
        if (id < classes) truth[index+id] = 1;
        index += classes;
        truth[index++] = x;
        truth[index++] = y;
        truth[index++] = w;