From 106b1961b620d8479f52736e817a0b7f68f4912b Mon Sep 17 00:00:00 2001 From: Glenn Jocher Date: Fri, 7 Feb 2020 10:53:09 -0800 Subject: [PATCH] updates --- train.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/train.py b/train.py index dc82ceef..46bcdd11 100644 --- a/train.py +++ b/train.py @@ -264,7 +264,7 @@ def train(): # Multi-Scale training if opt.multi_scale: - if ni / accumulate % 10 == 0: #  adjust (67% - 150%) every 10 batches + if ni / accumulate % 1 == 0: #  adjust (67% - 150%) every 10 batches img_size = random.randrange(img_sz_min, img_sz_max + 1) * 32 sf = img_size / max(imgs.shape[2:]) # scale factor if sf != 1: