From 181967937ddfdd86c3f2c1259be45cc66880225e Mon Sep 17 00:00:00 2001 From: AlexeyAB Date: Tue, 24 Nov 2020 14:24:35 +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 8ec3f1ae..5d284e02 100644 --- a/src/detector.c +++ b/src/detector.c @@ -301,7 +301,7 @@ void train_detector(char *datacfg, char *cfgfile, char *weightfile, int *gpus, i int calc_map_for_each = 4 * train_images_num / (net.batch * net.subdivisions); // calculate mAP for each 4 Epochs calc_map_for_each = fmax(calc_map_for_each, 100); int next_map_calc = iter_map + calc_map_for_each; - next_map_calc = 1000;// fmax(next_map_calc, net.burn_in); + next_map_calc = fmax(next_map_calc, net.burn_in); //next_map_calc = fmax(next_map_calc, 400); if (calc_map) { printf("\n (next mAP calculation at %d iterations) ", next_map_calc);