From d0039f6dfd749feb8ef0be9137d6d19058093933 Mon Sep 17 00:00:00 2001 From: AlexeyAB Date: Thu, 29 Mar 2018 02:49:40 +0300 Subject: [PATCH] Temporary fix --- src/network.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/network.c b/src/network.c index 51d290c9..175c1029 100644 --- a/src/network.c +++ b/src/network.c @@ -543,7 +543,7 @@ void custom_get_region_detections(layer l, int w, int h, int net_w, int net_h, f float **probs = calloc(l.w*l.h*l.n, sizeof(float *)); int i, j; for (j = 0; j < l.w*l.h*l.n; ++j) probs[j] = calloc(l.classes, sizeof(float *)); - get_region_boxes(l, w, h, thresh, probs, boxes, 0, map); + get_region_boxes(l, 1, 1, thresh, probs, boxes, 0, map); for (j = 0; j < l.w*l.h*l.n; ++j) { dets[j].classes = l.classes; dets[j].bbox = boxes[j];