Edmond Yoo
2018-09-16 9c2c220c88aff4d0bcbdd5b03b10c6d1a7db56d3
src/detector.c
@@ -568,6 +568,7 @@
    }
    //set_batch_network(&net, 1);
    fuse_conv_batchnorm(net);
    calculate_binary_weights(net);
    srand(time(0));
    list *plist = get_paths(valid_images);
@@ -1094,6 +1095,7 @@
    }
    //set_batch_network(&net, 1);
    fuse_conv_batchnorm(net);
    calculate_binary_weights(net);
    if (net.layers[net.n - 1].classes != names_size) {
        printf(" Error: in the file %s number of names %d that isn't equal to classes=%d in the file %s \n",
            name_list, names_size, net.layers[net.n - 1].classes, cfgfile);