From 89b0c687b2dd9fff1a7946b24bfeeb0d12837308 Mon Sep 17 00:00:00 2001 From: Joseph Redmon Date: Sun, 25 Sep 2016 14:36:55 -0700 Subject: [PATCH] not all airplanes --- src/yolo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);