AvoCahDoe commited on
Commit
b2c33ed
·
verified ·
1 Parent(s): 6088e5e

Upload config/train_comparison.yaml with huggingface_hub

Browse files
Files changed (1) hide show
  1. config/train_comparison.yaml +66 -0
config/train_comparison.yaml ADDED
@@ -0,0 +1,66 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Multi-model YOLO comparison training (optimized for RTX 4070 Laptop)
2
+ epochs: 100
3
+ patience: 25
4
+ device: 0
5
+ workers: 0
6
+ cache: disk
7
+ project: runs/comparison
8
+
9
+ # Optimizer
10
+ optimizer: AdamW
11
+ cos_lr: true
12
+ lr0: 0.01
13
+ lrf: 0.01
14
+ momentum: 0.937
15
+ weight_decay: 0.0005
16
+ warmup_epochs: 3.0
17
+
18
+ # Loss weights
19
+ box: 7.5
20
+ cls: 0.5
21
+ dfl: 1.5
22
+
23
+ # Geometric augmentation
24
+ mosaic: 1.0
25
+ mixup: 0.15
26
+ copy_paste: 0.1
27
+ scale: 0.5
28
+ perspective: 0.0005
29
+ degrees: 3.0
30
+ translate: 0.1
31
+ fliplr: 0.0
32
+ flipud: 0.0
33
+ close_mosaic: 10
34
+
35
+ # Visual augmentation
36
+ hsv_h: 0.015
37
+ hsv_s: 0.7
38
+ hsv_v: 0.4
39
+ erasing: 0.4
40
+
41
+ # Per-model overrides — train smallest first (n → s → m → 11m → v8x → 11x)
42
+ models:
43
+ yolov8n:
44
+ weights: yolov8n.pt
45
+ batch: 8
46
+ imgsz: 1024
47
+ yolov8s:
48
+ weights: yolov8s.pt
49
+ batch: 8
50
+ imgsz: 1024
51
+ yolov8m:
52
+ weights: yolov8m.pt
53
+ batch: 6
54
+ imgsz: 1024
55
+ yolo11m:
56
+ weights: yolo11m.pt
57
+ batch: 6
58
+ imgsz: 1024
59
+ yolov8x:
60
+ weights: yolov8x.pt
61
+ batch: 2
62
+ imgsz: 1024
63
+ yolo11x:
64
+ weights: yolo11x.pt
65
+ batch: 2
66
+ imgsz: 1024