From 0c8e9ce4b2cd770a5cbe68e7d61169c5a565e305 Mon Sep 17 00:00:00 2001 From: AlexeyAB Date: Sun, 15 Mar 2020 00:50:27 +0300 Subject: [PATCH] Minor fix --- src/detector.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/detector.c b/src/detector.c index d403f38c..92ce5864 100644 --- a/src/detector.c +++ b/src/detector.c @@ -191,7 +191,7 @@ void train_detector(char *datacfg, char *cfgfile, char *weightfile, int *gpus, i if (dim_w < net.resize_step) dim_w = net.resize_step; if (dim_h < net.resize_step) dim_h = net.resize_step; int dim_b = (init_b * max_dim_w * max_dim_h) / (dim_w * dim_h); - int new_dim_b = (int)(dim_b * 0.8); + int new_dim_b = (int)(dim_b * 0.9); if (new_dim_b > init_b) dim_b = new_dim_b; args.w = dim_w;