Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.

1234567891011121314151617181920212223242526272829
  1. # Hyperparameters for COCO training from scratch
  2. # python train.py --batch 40 --cfg yolov5m.yaml --weights '' --data coco.yaml --img 640 --epochs 300
  3. # See tutorials for hyperparameter evolution https://github.com/ultralytics/yolov5#tutorials
  4. lr0: 0.01 # initial learning rate (SGD=1E-2, Adam=1E-3)
  5. lrf: 0.2 # final OneCycleLR learning rate (lr0 * lrf)
  6. momentum: 0.937 # SGD momentum/Adam beta1
  7. weight_decay: 0.0005 # optimizer weight decay 5e-4
  8. giou: 0.05 # box loss gain
  9. cls: 0.5 # cls loss gain
  10. cls_pw: 1.0 # cls BCELoss positive_weight
  11. obj: 1.0 # obj loss gain (scale with pixels)
  12. obj_pw: 1.0 # obj BCELoss positive_weight
  13. iou_t: 0.20 # IoU training threshold
  14. anchor_t: 4.0 # anchor-multiple threshold
  15. # anchors: 0 # anchors per output grid (0 to ignore)
  16. fl_gamma: 0.0 # focal loss gamma (efficientDet default gamma=1.5)
  17. hsv_h: 0.015 # image HSV-Hue augmentation (fraction)
  18. hsv_s: 0.7 # image HSV-Saturation augmentation (fraction)
  19. hsv_v: 0.4 # image HSV-Value augmentation (fraction)
  20. degrees: 0.0 # image rotation (+/- deg)
  21. translate: 0.1 # image translation (+/- fraction)
  22. scale: 0.5 # image scale (+/- gain)
  23. shear: 0.0 # image shear (+/- deg)
  24. perspective: 0.0 # image perspective (+/- fraction), range 0-0.001
  25. flipud: 0.0 # image flip up-down (probability)
  26. fliplr: 0.5 # image flip left-right (probability)
  27. mixup: 0.0 # image mixup (probability)