From 9e9a6a1425c61c05db28a1e9867f188085cc3e1b Mon Sep 17 00:00:00 2001 From: Glenn Jocher Date: Wed, 27 Nov 2019 15:50:29 -1000 Subject: [PATCH] updates --- train.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/train.py b/train.py index 69299fcb..0038db97 100644 --- a/train.py +++ b/train.py @@ -63,8 +63,8 @@ def train(): # Initialize init_seeds() if opt.multi_scale: - img_sz_min = round(img_size / 32 / 1.5) - 1 - img_sz_max = round(img_size / 32 * 1.5) + 1 + img_sz_min = round(img_size / 32 / 1.5) + img_sz_max = round(img_size / 32 * 1.5) img_size = img_sz_max * 32 # initiate with maximum multi_scale size print('Using multi-scale %g - %g' % (img_sz_min * 32, img_size))