Register
Login
Resources
Docs Blog Datasets Glossary Case Studies Tutorials & Webinars
Product
Data Engine LLMs Platform Enterprise
Pricing Explore
Connect to our Discord channel

hyp.scratch-p6.yaml 1.6 KB

You have to be logged in to leave a comment. Sign In
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
26
27
28
29
30
31
32
33
34
  1. # YOLOv5 🚀 by Ultralytics, GPL-3.0 license
  2. # Hyperparameters for COCO training from scratch
  3. # python train.py --batch 32 --cfg yolov5m6.yaml --weights '' --data coco.yaml --img 1280 --epochs 300
  4. # See tutorials for hyperparameter evolution https://github.com/ultralytics/yolov5#tutorials
  5. lr0: 0.01 # initial learning rate (SGD=1E-2, Adam=1E-3)
  6. lrf: 0.2 # final OneCycleLR learning rate (lr0 * lrf)
  7. momentum: 0.937 # SGD momentum/Adam beta1
  8. weight_decay: 0.0005 # optimizer weight decay 5e-4
  9. warmup_epochs: 3.0 # warmup epochs (fractions ok)
  10. warmup_momentum: 0.8 # warmup initial momentum
  11. warmup_bias_lr: 0.1 # warmup initial bias lr
  12. box: 0.05 # box loss gain
  13. cls: 0.3 # cls loss gain
  14. cls_pw: 1.0 # cls BCELoss positive_weight
  15. obj: 0.7 # obj loss gain (scale with pixels)
  16. obj_pw: 1.0 # obj BCELoss positive_weight
  17. iou_t: 0.20 # IoU training threshold
  18. anchor_t: 4.0 # anchor-multiple threshold
  19. # anchors: 3 # anchors per output layer (0 to ignore)
  20. fl_gamma: 0.0 # focal loss gamma (efficientDet default gamma=1.5)
  21. hsv_h: 0.015 # image HSV-Hue augmentation (fraction)
  22. hsv_s: 0.7 # image HSV-Saturation augmentation (fraction)
  23. hsv_v: 0.4 # image HSV-Value augmentation (fraction)
  24. degrees: 0.0 # image rotation (+/- deg)
  25. translate: 0.1 # image translation (+/- fraction)
  26. scale: 0.9 # image scale (+/- gain)
  27. shear: 0.0 # image shear (+/- deg)
  28. perspective: 0.0 # image perspective (+/- fraction), range 0-0.001
  29. flipud: 0.0 # image flip up-down (probability)
  30. fliplr: 0.5 # image flip left-right (probability)
  31. mosaic: 1.0 # image mosaic (probability)
  32. mixup: 0.0 # image mixup (probability)
  33. copy_paste: 0.0 # segment copy-paste (probability)
Tip!

Press p or to see the previous file or, n or to see the next file

Comments

Loading...