diff --git a/src/yolo.c b/src/yolo.c index 82faffd0..fd2fccc9 100644 --- a/src/yolo.c +++ b/src/yolo.c @@ -316,7 +316,7 @@ void test_yolo(char *cfgfile, char *weightfile, char *filename, float thresh) time=clock(); network_predict(net, X); printf("%s: Predicted in %f seconds.\n", input, sec(clock()-time)); - get_detection_boxes(l, 1, 1, thresh, probs, boxes, 1); + get_detection_boxes(l, 1, 1, thresh, probs, boxes, 0); if (nms) do_nms_sort(boxes, probs, l.side*l.side*l.n, l.classes, nms); //draw_detections(im, l.side*l.side*l.n, thresh, boxes, probs, voc_names, alphabet, 20); draw_detections(im, l.side*l.side*l.n, thresh, boxes, probs, voc_names, alphabet, 20);