updates
This commit is contained in:
parent
2c0985f366
commit
d5176e4fc4
3
train.py
3
train.py
|
@ -21,6 +21,7 @@ best = wdir + 'best.pt'
|
||||||
results_file = 'results.txt'
|
results_file = 'results.txt'
|
||||||
|
|
||||||
# Hyperparameters (results68: 59.2 mAP@0.5 yolov3-spp-416) https://github.com/ultralytics/yolov3/issues/310
|
# Hyperparameters (results68: 59.2 mAP@0.5 yolov3-spp-416) https://github.com/ultralytics/yolov3/issues/310
|
||||||
|
|
||||||
hyp = {'giou': 3.54, # giou loss gain
|
hyp = {'giou': 3.54, # giou loss gain
|
||||||
'cls': 37.4, # cls loss gain
|
'cls': 37.4, # cls loss gain
|
||||||
'cls_pw': 1.0, # cls BCELoss positive_weight
|
'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)
|
'hsv_v': 0.36, # image HSV-Value augmentation (fraction)
|
||||||
'degrees': 1.98, # image rotation (+/- deg)
|
'degrees': 1.98, # image rotation (+/- deg)
|
||||||
'translate': 0.0779, # image translation (+/- fraction)
|
'translate': 0.0779, # image translation (+/- fraction)
|
||||||
'scale': 0.11, # image scale (+/- gain)
|
'scale': 0.10, # image scale (+/- gain)
|
||||||
'shear': 0.641} # image shear (+/- deg)
|
'shear': 0.641} # image shear (+/- deg)
|
||||||
|
|
||||||
# Overwrite hyp with hyp*.txt (optional)
|
# Overwrite hyp with hyp*.txt (optional)
|
||||||
|
|
Loading…
Reference in New Issue