hyp.no-augmentation.yaml 1.6 KB

1234567891011121314151617181920212223242526272829303132333435
  1. # YOLOv5 🚀 by Ultralytics, AGPL-3.0 license
  2. # Hyperparameters when using Albumentations frameworks
  3. # python train.py --hyp hyp.no-augmentation.yaml
  4. # See https://github.com/ultralytics/yolov5/pull/3882 for YOLOv5 + Albumentations Usage examples
  5. lr0: 0.01 # initial learning rate (SGD=1E-2, Adam=1E-3)
  6. lrf: 0.1 # 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. # this parameters are all zero since we want to use albumentation framework
  21. fl_gamma: 0.0 # focal loss gamma (efficientDet default gamma=1.5)
  22. hsv_h: 0 # image HSV-Hue augmentation (fraction)
  23. hsv_s: 0 # image HSV-Saturation augmentation (fraction)
  24. hsv_v: 0 # image HSV-Value augmentation (fraction)
  25. degrees: 0.0 # image rotation (+/- deg)
  26. translate: 0 # image translation (+/- fraction)
  27. scale: 0 # image scale (+/- gain)
  28. shear: 0 # image shear (+/- deg)
  29. perspective: 0.0 # image perspective (+/- fraction), range 0-0.001
  30. flipud: 0.0 # image flip up-down (probability)
  31. fliplr: 0.0 # image flip left-right (probability)
  32. mosaic: 0.0 # image mosaic (probability)
  33. mixup: 0.0 # image mixup (probability)
  34. copy_paste: 0.0 # segment copy-paste (probability)