Skip to content

Commit d0039f6

Browse files
committed
Temporary fix
1 parent 6d56c38 commit d0039f6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/network.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -543,7 +543,7 @@ void custom_get_region_detections(layer l, int w, int h, int net_w, int net_h, f
543543
float **probs = calloc(l.w*l.h*l.n, sizeof(float *));
544544
int i, j;
545545
for (j = 0; j < l.w*l.h*l.n; ++j) probs[j] = calloc(l.classes, sizeof(float *));
546-
get_region_boxes(l, w, h, thresh, probs, boxes, 0, map);
546+
get_region_boxes(l, 1, 1, thresh, probs, boxes, 0, map);
547547
for (j = 0; j < l.w*l.h*l.n; ++j) {
548548
dets[j].classes = l.classes;
549549
dets[j].bbox = boxes[j];

0 commit comments

Comments
 (0)