diff --git a/nets/yolo_training.py b/nets/yolo_training.py index 0935681d0a65de0fa89d104b8b85958d09db9302..0e841e49f95da086666671f5294ea9c605d96eb1 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)