-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhyp.yaml
25 lines (25 loc) · 1.3 KB
/
hyp.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# Example hyperparameters
lr0: 0.01 # Initial learning rate
lrf: 0.2 # Final OneCycleLR learning rate
momentum: 0.937 # SGD momentum
weight_decay: 0.0005 # Optimizer weight decay
warmup_epochs: 3.0 # Warmup epochs (fractions ok)
warmup_momentum: 0.8 # Warmup initial momentum
warmup_bias_lr: 0.1 # Warmup initial bias lr
box: 0.05 # Box loss gain
cls: 0.5 # Classification loss gain
obj: 1.0 # Objectness loss gain
iou_t: 0.2 # IoU threshold for training
anchor_t: 4.0 # Anchor-multiple threshold
fl_gamma: 0.0 # Focal Loss gamma (0 = disabled)
hsv_h: 0.015 # Image HSV-Hue augmentation (fraction)
hsv_s: 0.7 # Image HSV-Saturation augmentation (fraction)
hsv_v: 0.4 # Image HSV-Value augmentation (fraction)
degrees: 0.0 # Image rotation (+/- deg)
translate: 0.1 # Image translation (+/- fraction)
scale: 0.5 # Image scale (+/- gain)
shear: 0.0 # Image shear (+/- deg)
perspective: 0.0 # Image perspective (+/- fraction), range 0-0.001
flipud: 0.0 # Image flip up-down (probability)
fliplr: 0.5 # Image flip left-right (probability)
mixup: 0.0 # Image mixup (probability)