From d5176e4fc41c6b3b71a59daf2ca17f6c65deab21 Mon Sep 17 00:00:00 2001 From: Glenn Jocher Date: Sat, 7 Dec 2019 00:01:18 -0800 Subject: [PATCH] updates --- train.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/train.py b/train.py index 434daba3..a8dc6106 100644 --- a/train.py +++ b/train.py @@ -21,6 +21,7 @@ best = wdir + 'best.pt' results_file = 'results.txt' # Hyperparameters (results68: 59.2 mAP@0.5 yolov3-spp-416) https://github.com/ultralytics/yolov3/issues/310 + hyp = {'giou': 3.54, # giou loss gain 'cls': 37.4, # cls loss gain 'cls_pw': 1.0, # cls BCELoss positive_weight @@ -37,7 +38,7 @@ hyp = {'giou': 3.54, # giou loss gain 'hsv_v': 0.36, # image HSV-Value augmentation (fraction) 'degrees': 1.98, # image rotation (+/- deg) 'translate': 0.0779, # image translation (+/- fraction) - 'scale': 0.11, # image scale (+/- gain) + 'scale': 0.10, # image scale (+/- gain) 'shear': 0.641} # image shear (+/- deg) # Overwrite hyp with hyp*.txt (optional)