From 8afff0059f67af0878af4a8aece710391683c0b6 Mon Sep 17 00:00:00 2001 From: Bubbliiiing <47347516+bubbliiiing@users.noreply.github.com> Date: Thu, 26 Nov 2020 09:43:50 +0800 Subject: [PATCH] Update yolo_training.py --- nets/yolo_training.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nets/yolo_training.py b/nets/yolo_training.py index 25b1440..cea2186 100644 --- a/nets/yolo_training.py +++ b/nets/yolo_training.py @@ -292,7 +292,7 @@ class Generator(object): # resize image new_ar = w/h * rand(1-jitter,1+jitter)/rand(1-jitter,1+jitter) - scale = rand(.5, 1.5) + scale = rand(.25, 2) if new_ar < 1: nh = int(scale*h) nw = int(nh*new_ar) -- GitLab