This commit is contained in:
Hamza Zakaria 2026-05-03 15:06:59 +01:00
parent bd9103f822
commit 6ac1b3cd5f
86 changed files with 58 additions and 35 deletions

View File

@ -1,30 +1,30 @@
task: detect
mode: train
model: runs\detect\runs\detect\coffee_v1\weights\last.pt
data: dataset.yml
epochs: 150
model: yolov8n.pt
data: /kaggle/working/fixed_data.yaml
epochs: 50
time: null
patience: 30
batch: 8
imgsz: 640
patience: 10
batch: -1
imgsz: 800
save: true
save_period: 10
save_period: 5
cache: false
device: cpu
workers: 0
project: runs/detect
name: coffee_v1
exist_ok: true
device: '0'
workers: 4
project: kaggle/working/runs
name: exp-6
exist_ok: false
pretrained: true
optimizer: auto
optimizer: AdamW
verbose: true
seed: 42
seed: 0
deterministic: true
single_cls: false
rect: false
cos_lr: false
close_mosaic: 10
resume: runs\detect\runs\detect\coffee_v1\weights\last.pt
resume: false
amp: true
fraction: 1.0
profile: false
@ -37,8 +37,8 @@ dropout: 0.0
val: true
split: val
save_json: false
conf: 0.25
iou: 0.5
conf: null
iou: 0.7
max_det: 300
half: false
dnn: false
@ -71,13 +71,13 @@ simplify: true
opset: null
workspace: null
nms: false
lr0: 0.005
lr0: 0.002
lrf: 0.01
momentum: 0.938
momentum: 0.937
weight_decay: 0.0005
warmup_epochs: 5
warmup_epochs: 3.0
warmup_momentum: 0.8
warmup_bias_lr: 0.0
warmup_bias_lr: 0.1
box: 7.5
cls: 0.5
cls_pw: 0.0
@ -90,7 +90,7 @@ nbs: 64
hsv_h: 0.015
hsv_s: 0.7
hsv_v: 0.4
degrees: 5.0
degrees: 0.0
translate: 0.1
scale: 0.5
shear: 0.0
@ -99,12 +99,12 @@ flipud: 0.0
fliplr: 0.5
bgr: 0.0
mosaic: 1.0
mixup: 0.1
mixup: 0.0
cutmix: 0.0
copy_paste: 0.1
copy_paste: 0.0
copy_paste_mode: flip
auto_augment: randaugment
erasing: 0.4
cfg: null
tracker: botsort.yaml
save_dir: C:\Users\TRIZ\clones\YOLO-Coffee-Object-Detection\runs\detect\runs\detect\coffee_v1
save_dir: /kaggle/working/runs/detect/kaggle/working/runs/exp-6

Binary file not shown.

Before

Width:  |  Height:  |  Size: 220 KiB

View File

@ -1,2 +0,0 @@
epoch,time,train/box_loss,train/cls_loss,train/dfl_loss,metrics/precision(B),metrics/recall(B),metrics/mAP50(B),metrics/mAP50-95(B),val/box_loss,val/cls_loss,val/dfl_loss,lr/pg0,lr/pg1,lr/pg2
1,3381.49,1.0705,3.09597,1.50767,0.60417,0.5,0.4975,0.31896,1.31385,1.90113,1.49596,0.000117376,0.000117376,0.000117376
1 epoch time train/box_loss train/cls_loss train/dfl_loss metrics/precision(B) metrics/recall(B) metrics/mAP50(B) metrics/mAP50-95(B) val/box_loss val/cls_loss val/dfl_loss lr/pg0 lr/pg1 lr/pg2
2 1 3381.49 1.0705 3.09597 1.50767 0.60417 0.5 0.4975 0.31896 1.31385 1.90113 1.49596 0.000117376 0.000117376 0.000117376

Binary file not shown.

Before

Width:  |  Height:  |  Size: 444 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 395 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 364 KiB

BIN
runs/labels.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 102 KiB

33
runs/results.csv Normal file
View File

@ -0,0 +1,33 @@
epoch,time,train/box_loss,train/cls_loss,train/dfl_loss,metrics/precision(B),metrics/recall(B),metrics/mAP50(B),metrics/mAP50-95(B),val/box_loss,val/cls_loss,val/dfl_loss,lr/pg0,lr/pg1,lr/pg2
1,298.964,1.62204,1.02302,1.1134,0.82235,0.69285,0.75768,0.42485,1.50384,0.91321,1.07475,0.000665365,0.000665365,0.0673971
2,594.378,1.51481,0.81704,1.06289,0.85136,0.76997,0.82042,0.47616,1.42227,0.74608,1.05633,0.00130566,0.00130566,0.0347041
3,886.895,1.47852,0.77122,1.04828,0.85285,0.75723,0.81025,0.47538,1.40857,0.74017,1.05422,0.00191955,0.00191955,0.00198465
4,1187.33,1.45859,0.74801,1.04231,0.84926,0.7754,0.82669,0.48423,1.39473,0.73813,1.04419,0.0018812,0.0018812,0.0018812
5,1485.21,1.45086,0.73348,1.03643,0.87207,0.78797,0.84217,0.49743,1.38491,0.70756,1.03865,0.0018416,0.0018416,0.0018416
6,1790.57,1.43305,0.71747,1.03132,0.88086,0.80176,0.85288,0.51052,1.3666,0.665,1.03534,0.001802,0.001802,0.001802
7,2101.18,1.42223,0.70489,1.02486,0.87883,0.81013,0.85937,0.51088,1.37522,0.65936,1.03485,0.0017624,0.0017624,0.0017624
8,2406.69,1.41538,0.69896,1.02261,0.88346,0.7923,0.84857,0.51053,1.36116,0.66102,1.0341,0.0017228,0.0017228,0.0017228
9,2710.47,1.40907,0.69111,1.019,0.88993,0.81581,0.86486,0.52451,1.34579,0.64278,1.02602,0.0016832,0.0016832,0.0016832
10,3012.23,1.40411,0.68449,1.018,0.88504,0.81723,0.86655,0.52414,1.35339,0.64271,1.02361,0.0016436,0.0016436,0.0016436
11,3313.75,1.39398,0.67356,1.01501,0.88973,0.81439,0.86642,0.52574,1.34671,0.63856,1.02203,0.001604,0.001604,0.001604
12,3611.99,1.39509,0.67533,1.01638,0.88952,0.81898,0.87354,0.52879,1.34098,0.62767,1.02077,0.0015644,0.0015644,0.0015644
13,3912.55,1.38935,0.66841,1.01127,0.89337,0.82266,0.87532,0.53122,1.33866,0.62477,1.02014,0.0015248,0.0015248,0.0015248
14,4209.97,1.38636,0.6636,1.01122,0.89486,0.8254,0.87521,0.53287,1.33237,0.6185,1.01971,0.0014852,0.0014852,0.0014852
15,4508.48,1.38534,0.66145,1.01159,0.89459,0.82635,0.87778,0.5344,1.33719,0.61997,1.01854,0.0014456,0.0014456,0.0014456
16,4806.82,1.37901,0.65645,1.00878,0.89501,0.82124,0.87646,0.53428,1.33301,0.61215,1.01729,0.001406,0.001406,0.001406
17,5102.34,1.37241,0.65013,1.00791,0.90169,0.82537,0.87885,0.53883,1.31803,0.60878,1.01149,0.0013664,0.0013664,0.0013664
18,5396.49,1.37095,0.64943,1.00434,0.89609,0.82613,0.87809,0.53907,1.31939,0.60735,1.01153,0.0013268,0.0013268,0.0013268
19,5693.91,1.37178,0.6459,1.00493,0.89847,0.82609,0.8793,0.54091,1.31886,0.60573,1.00957,0.0012872,0.0012872,0.0012872
20,5988.24,1.36873,0.64506,1.00591,0.89575,0.83129,0.87989,0.54,1.32496,0.60344,1.0134,0.0012476,0.0012476,0.0012476
21,6282.55,1.36923,0.64402,1.00345,0.90276,0.8271,0.88131,0.54121,1.31404,0.59937,1.01172,0.001208,0.001208,0.001208
22,6578.6,1.36276,0.63608,0.99973,0.90177,0.8331,0.88607,0.54501,1.31349,0.59531,1.00841,0.0011684,0.0011684,0.0011684
23,6872.15,1.36205,0.63477,0.99992,0.90114,0.8297,0.88236,0.54458,1.30991,0.59453,1.00575,0.0011288,0.0011288,0.0011288
24,7164.42,1.36184,0.63531,1.00031,0.90061,0.83785,0.8824,0.54505,1.31396,0.5868,1.00806,0.0010892,0.0010892,0.0010892
25,7456.16,1.35983,0.6314,0.99873,0.90309,0.83703,0.88175,0.54563,1.30872,0.58395,1.00731,0.0010496,0.0010496,0.0010496
26,7754.35,1.35597,0.62932,0.99774,0.90218,0.8353,0.8836,0.54699,1.3093,0.5886,1.00711,0.00101,0.00101,0.00101
27,8047.38,1.35281,0.62943,0.99818,0.9019,0.83835,0.89041,0.54984,1.30498,0.58522,1.00375,0.0009704,0.0009704,0.0009704
28,8343.28,1.34987,0.62539,0.99544,0.90184,0.83865,0.88981,0.54777,1.3083,0.58203,1.00792,0.0009308,0.0009308,0.0009308
29,8639.37,1.34829,0.62335,0.99726,0.90319,0.83922,0.88868,0.55003,1.30036,0.57793,1.00399,0.0008912,0.0008912,0.0008912
30,8938.33,1.34706,0.62084,0.99524,0.90394,0.83925,0.89153,0.55074,1.30479,0.57726,1.00451,0.0008516,0.0008516,0.0008516
31,9236.98,1.34524,0.61868,0.99464,0.90914,0.83612,0.8912,0.55122,1.3004,0.57732,1.00286,0.000812,0.000812,0.000812
32,9529.61,1.35044,0.61915,0.99549,0.90384,0.84221,0.89182,0.55285,1.30134,0.57489,1.00418,0.0007724,0.0007724,0.0007724
1 epoch time train/box_loss train/cls_loss train/dfl_loss metrics/precision(B) metrics/recall(B) metrics/mAP50(B) metrics/mAP50-95(B) val/box_loss val/cls_loss val/dfl_loss lr/pg0 lr/pg1 lr/pg2
2 1 298.964 1.62204 1.02302 1.1134 0.82235 0.69285 0.75768 0.42485 1.50384 0.91321 1.07475 0.000665365 0.000665365 0.0673971
3 2 594.378 1.51481 0.81704 1.06289 0.85136 0.76997 0.82042 0.47616 1.42227 0.74608 1.05633 0.00130566 0.00130566 0.0347041
4 3 886.895 1.47852 0.77122 1.04828 0.85285 0.75723 0.81025 0.47538 1.40857 0.74017 1.05422 0.00191955 0.00191955 0.00198465
5 4 1187.33 1.45859 0.74801 1.04231 0.84926 0.7754 0.82669 0.48423 1.39473 0.73813 1.04419 0.0018812 0.0018812 0.0018812
6 5 1485.21 1.45086 0.73348 1.03643 0.87207 0.78797 0.84217 0.49743 1.38491 0.70756 1.03865 0.0018416 0.0018416 0.0018416
7 6 1790.57 1.43305 0.71747 1.03132 0.88086 0.80176 0.85288 0.51052 1.3666 0.665 1.03534 0.001802 0.001802 0.001802
8 7 2101.18 1.42223 0.70489 1.02486 0.87883 0.81013 0.85937 0.51088 1.37522 0.65936 1.03485 0.0017624 0.0017624 0.0017624
9 8 2406.69 1.41538 0.69896 1.02261 0.88346 0.7923 0.84857 0.51053 1.36116 0.66102 1.0341 0.0017228 0.0017228 0.0017228
10 9 2710.47 1.40907 0.69111 1.019 0.88993 0.81581 0.86486 0.52451 1.34579 0.64278 1.02602 0.0016832 0.0016832 0.0016832
11 10 3012.23 1.40411 0.68449 1.018 0.88504 0.81723 0.86655 0.52414 1.35339 0.64271 1.02361 0.0016436 0.0016436 0.0016436
12 11 3313.75 1.39398 0.67356 1.01501 0.88973 0.81439 0.86642 0.52574 1.34671 0.63856 1.02203 0.001604 0.001604 0.001604
13 12 3611.99 1.39509 0.67533 1.01638 0.88952 0.81898 0.87354 0.52879 1.34098 0.62767 1.02077 0.0015644 0.0015644 0.0015644
14 13 3912.55 1.38935 0.66841 1.01127 0.89337 0.82266 0.87532 0.53122 1.33866 0.62477 1.02014 0.0015248 0.0015248 0.0015248
15 14 4209.97 1.38636 0.6636 1.01122 0.89486 0.8254 0.87521 0.53287 1.33237 0.6185 1.01971 0.0014852 0.0014852 0.0014852
16 15 4508.48 1.38534 0.66145 1.01159 0.89459 0.82635 0.87778 0.5344 1.33719 0.61997 1.01854 0.0014456 0.0014456 0.0014456
17 16 4806.82 1.37901 0.65645 1.00878 0.89501 0.82124 0.87646 0.53428 1.33301 0.61215 1.01729 0.001406 0.001406 0.001406
18 17 5102.34 1.37241 0.65013 1.00791 0.90169 0.82537 0.87885 0.53883 1.31803 0.60878 1.01149 0.0013664 0.0013664 0.0013664
19 18 5396.49 1.37095 0.64943 1.00434 0.89609 0.82613 0.87809 0.53907 1.31939 0.60735 1.01153 0.0013268 0.0013268 0.0013268
20 19 5693.91 1.37178 0.6459 1.00493 0.89847 0.82609 0.8793 0.54091 1.31886 0.60573 1.00957 0.0012872 0.0012872 0.0012872
21 20 5988.24 1.36873 0.64506 1.00591 0.89575 0.83129 0.87989 0.54 1.32496 0.60344 1.0134 0.0012476 0.0012476 0.0012476
22 21 6282.55 1.36923 0.64402 1.00345 0.90276 0.8271 0.88131 0.54121 1.31404 0.59937 1.01172 0.001208 0.001208 0.001208
23 22 6578.6 1.36276 0.63608 0.99973 0.90177 0.8331 0.88607 0.54501 1.31349 0.59531 1.00841 0.0011684 0.0011684 0.0011684
24 23 6872.15 1.36205 0.63477 0.99992 0.90114 0.8297 0.88236 0.54458 1.30991 0.59453 1.00575 0.0011288 0.0011288 0.0011288
25 24 7164.42 1.36184 0.63531 1.00031 0.90061 0.83785 0.8824 0.54505 1.31396 0.5868 1.00806 0.0010892 0.0010892 0.0010892
26 25 7456.16 1.35983 0.6314 0.99873 0.90309 0.83703 0.88175 0.54563 1.30872 0.58395 1.00731 0.0010496 0.0010496 0.0010496
27 26 7754.35 1.35597 0.62932 0.99774 0.90218 0.8353 0.8836 0.54699 1.3093 0.5886 1.00711 0.00101 0.00101 0.00101
28 27 8047.38 1.35281 0.62943 0.99818 0.9019 0.83835 0.89041 0.54984 1.30498 0.58522 1.00375 0.0009704 0.0009704 0.0009704
29 28 8343.28 1.34987 0.62539 0.99544 0.90184 0.83865 0.88981 0.54777 1.3083 0.58203 1.00792 0.0009308 0.0009308 0.0009308
30 29 8639.37 1.34829 0.62335 0.99726 0.90319 0.83922 0.88868 0.55003 1.30036 0.57793 1.00399 0.0008912 0.0008912 0.0008912
31 30 8938.33 1.34706 0.62084 0.99524 0.90394 0.83925 0.89153 0.55074 1.30479 0.57726 1.00451 0.0008516 0.0008516 0.0008516
32 31 9236.98 1.34524 0.61868 0.99464 0.90914 0.83612 0.8912 0.55122 1.3004 0.57732 1.00286 0.000812 0.000812 0.000812
33 32 9529.61 1.35044 0.61915 0.99549 0.90384 0.84221 0.89182 0.55285 1.30134 0.57489 1.00418 0.0007724 0.0007724 0.0007724

BIN
runs/train_batch0.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 MiB

BIN
runs/train_batch1.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 MiB

BIN
runs/train_batch2.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 MiB

BIN
runs/weights/best.pt Normal file

Binary file not shown.

BIN
runs/weights/epoch10.pt Normal file

Binary file not shown.

BIN
runs/weights/epoch25.pt Normal file

Binary file not shown.

BIN
runs/weights/epoch30.pt Normal file

Binary file not shown.

BIN
runs/weights/epoch5.pt Normal file

Binary file not shown.

BIN
runs/weights/last.pt Normal file

Binary file not shown.

File diff suppressed because one or more lines are too long

Binary file not shown.

Before

Width:  |  Height:  |  Size: 179 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 161 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 156 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 121 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 171 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 155 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 121 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 165 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 75 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 79 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 86 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 85 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 56 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 83 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 55 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 81 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 121 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 121 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 71 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 161 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 179 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 155 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 171 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 165 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 156 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 87 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 91 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 128 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 105 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 108 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 115 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 72 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 167 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 146 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 140 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 67 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 98 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 74 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 90 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 215 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 140 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 95 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 144 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 146 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 116 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 124 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 100 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 124 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 102 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 144 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 141 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 138 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 81 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 158 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 113 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 145 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 103 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 124 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 158 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 251 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 99 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 145 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 120 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 151 KiB

View File

@ -1,7 +0,0 @@
$i = 1
Get-ChildItem -File | Where-Object { $_.Extension -match "jpg|jpeg|png" } | Sort-Object Name | ForEach-Object {
$newName = "{0:D2}{1}" -f $i, $_.Extension
Rename-Item $_.FullName -NewName $newName
$i++
}