From a19604bf5fed9ca1c708e96bfe4879144b33b90f Mon Sep 17 00:00:00 2001
From: Joseph Redmon <pjreddie@gmail.com>
Date: Thu, 08 Sep 2016 05:52:11 +0000
Subject: [PATCH] ok back
---
src/yolo.c | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/src/yolo.c b/src/yolo.c
index fefa763..43d5355 100644
--- a/src/yolo.c
+++ b/src/yolo.c
@@ -178,7 +178,7 @@
int nms = 1;
float iou_thresh = .5;
- int nthreads = 2;
+ int nthreads = 8;
image *val = calloc(nthreads, sizeof(image));
image *val_resized = calloc(nthreads, sizeof(image));
image *buf = calloc(nthreads, sizeof(image));
@@ -328,7 +328,7 @@
char buff[256];
char *input = buff;
int j;
- float nms=.5;
+ float nms=.4;
box *boxes = calloc(l.side*l.side*l.n, sizeof(box));
float **probs = calloc(l.side*l.side*l.n, sizeof(float *));
for(j = 0; j < l.side*l.side*l.n; ++j) probs[j] = calloc(l.classes, sizeof(float *));
@@ -355,7 +355,6 @@
save_image(im, "predictions");
show_image(im, "predictions");
- show_image(sized, "resized");
free_image(im);
free_image(sized);
#ifdef OPENCV
--
Gitblit v1.10.0