Joseph Redmon
2015-09-22 fed6d6e31d819ecae21e9c3b9315b5877deb3f42
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;