From a2071e158509cc0120a039638e33af86858eefe5 Mon Sep 17 00:00:00 2001
From: AlexeyAB <alexeyab84@gmail.com>
Date: Fri, 09 Feb 2018 22:48:38 +0000
Subject: [PATCH] Parameter (max) in the cfg-file has an effect on the Yolo-training

---
 src/region_layer.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/region_layer.h b/src/region_layer.h
index a8cdd93..0c754af 100644
--- a/src/region_layer.h
+++ b/src/region_layer.h
@@ -6,7 +6,7 @@
 
 typedef layer region_layer;
 
-region_layer make_region_layer(int batch, int h, int w, int n, int classes, int coords);
+region_layer make_region_layer(int batch, int h, int w, int n, int classes, int coords, int max_boxes);
 void forward_region_layer(const region_layer l, network_state state);
 void backward_region_layer(const region_layer l, network_state state);
 void get_region_boxes(layer l, int w, int h, float thresh, float **probs, box *boxes, int only_objectness, int *map);

--
Gitblit v1.10.0