Joseph Redmon
2015-06-13 d572dc7e667a0e3e95be3f3e72fd6d395e69da6b
src/detection_layer.c
@@ -29,10 +29,10 @@
    l.coords = coords;
    l.rescore = rescore;
    l.objectness = objectness;
    l.background = background;
    l.joint = joint;
    l.cost = calloc(1, sizeof(float));
    l.does_cost=1;
    l.background = background;
    int outputs = get_detection_layer_output_size(l);
    l.outputs = outputs;
    l.output = calloc(batch*outputs, sizeof(float));