From b3720871b68c947467d705e3e60ee9a24437fe71 Mon Sep 17 00:00:00 2001 From: Bubbliiiing <47347516+bubbliiiing@users.noreply.github.com> Date: Mon, 7 Sep 2020 22:09:21 +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 0935681..0e841e4 100644 --- a/nets/yolo_training.py +++ b/nets/yolo_training.py @@ -325,7 +325,7 @@ class Generator(object): # resize image new_ar = w/h * rand(1-jitter,1+jitter)/rand(1-jitter,1+jitter) - scale = rand(.25, 2) + scale = rand(.5, 1.5) if new_ar < 1: nh = int(scale*h) nw = int(nh*new_ar) -- GitLab