diff --git a/nets/yolo_training.py b/nets/yolo_training.py index 25b14405e6109b02b8b1886c9ae9507e8e9c6951..cea2186fef58ff3f9ba30638f3657e4686466188 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)