From 8d1ab548c11426ae810efead6ec791c4cbd1b174 Mon Sep 17 00:00:00 2001 From: Glenn Jocher Date: Fri, 25 Oct 2019 11:04:10 -0500 Subject: [PATCH] updates --- train.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/train.py b/train.py index 4a43eec6..7ada1dfc 100644 --- a/train.py +++ b/train.py @@ -22,9 +22,9 @@ results_file = 'results.txt' # Hyperparameters (k-series, 53.3 mAP yolov3-spp-320) https://github.com/ultralytics/yolov3/issues/310 hyp = {'giou': 3.31, # giou loss gain - 'cls': 42.4, # cls loss gain (CE=~1.0, uCE=~20) + 'cls': 42.4, # cls loss gain 'cls_pw': 1.0, # cls BCELoss positive_weight - 'obj': 40.0, # obj loss gain (*=80 for uBCE with 80 classes) + 'obj': 40.0, # obj loss gain 'obj_pw': 1.0, # obj BCELoss positive_weight 'iou_t': 0.213, # iou training threshold 'lr0': 0.00261, # initial learning rate (SGD=1E-3, Adam=9E-5)