Initial commit: Synthetic Defect Factory digital twin & automated AOI pipeline

This commit is contained in:
om_karande
2026-10-26 11:36:16 +05:30
commit 99329b476f
2089 changed files with 28059 additions and 0 deletions
Binary file not shown.

After

Width:  |  Height:  |  Size: 122 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 98 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 96 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 123 KiB

+114
View File
@@ -0,0 +1,114 @@
task: detect
mode: train
model: yolov8n.pt
data: C:\Ai India Innovations\synthetic-defect-factory\dataset\data.yaml
epochs: 30
time: null
patience: 100
batch: 8
imgsz: 640
save: true
save_period: -1
cache: false
device: '0'
workers: 0
project: C:\Ai India Innovations\synthetic-defect-factory\runs\detect
name: train
exist_ok: true
pretrained: true
cls_remap: true
optimizer: auto
verbose: true
seed: 0
deterministic: true
single_cls: false
rect: false
cos_lr: false
close_mosaic: 10
resume: false
amp: true
fraction: 1.0
profile: false
freeze: null
multi_scale: 0.0
compile: false
channels_last: null
overlap_mask: true
mask_ratio: 4
dropout: 0.0
val: true
split: val
save_json: false
conf: null
iou: 0.7
max_det: 300
quantize: null
dnn: false
plots: true
nms: null
source: null
vid_stride: 1
stream_buffer: false
visualize: false
augment: false
agnostic_nms: false
classes: null
retina_masks: false
embed: null
show: false
save_frames: false
save_txt: false
save_conf: false
save_crop: false
show_labels: true
show_conf: true
show_boxes: true
line_width: null
format: torchscript
optimize: false
dynamic: false
simplify: true
opset: null
workspace: null
lr0: 0.01
lrf: 0.01
momentum: 0.937
weight_decay: 0.0005
warmup_epochs: 3.0
warmup_momentum: 0.8
warmup_bias_lr: 0.1
distill_model: null
dis: 6.0
box: 7.5
cls: 0.5
cls_pw: 0.0
dfl: 1.5
pose: 12.0
kobj: 1.0
rle: 1.0
angle: 1.0
dlog: 1.0
dgrad: 0.5
dlam: 1.0
nbs: 64
hsv_h: 0.015
hsv_s: 0.7
hsv_v: 0.4
degrees: 0.0
translate: 0.1
scale: 0.5
shear: 0.0
perspective: 0.0
flipud: 0.0
fliplr: 0.5
bgr: 0.0
mosaic: 1.0
mixup: 0.0
cutmix: 0.0
copy_paste: 0.0
copy_paste_mode: flip
auto_augment: randaugment
erasing: 0.4
cfg: null
tracker: tracktrack.yaml
save_dir: C:\Ai India Innovations\synthetic-defect-factory\runs\detect\train
Binary file not shown.

After

Width:  |  Height:  |  Size: 131 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 132 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 93 KiB

+31
View File
@@ -0,0 +1,31 @@
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,47.6388,2.06166,9.55892,1.66118,0.63443,0.51875,0.50685,0.35036,1.07019,2.78419,1.19514,0.0004125,0.0004125,0.0004125
2,95.3108,1.3763,2.45701,1.29177,0.58004,0.69157,0.6986,0.51666,1.05467,2.06147,1.20886,0.000801804,0.000801804,0.000801804
3,142.41,1.2747,1.98287,1.25975,0.91436,0.63644,0.75393,0.57347,0.93334,2.16777,1.1331,0.00116361,0.00116361,0.00116361
4,189.761,1.1519,1.80122,1.21778,0.69874,0.78631,0.81157,0.62805,1.00422,1.24561,1.14654,0.00112625,0.00112625,0.00112625
5,237.199,1.02937,1.48355,1.13191,0.72527,0.80625,0.78509,0.667,0.72447,1.32187,1.00801,0.001085,0.001085,0.001085
6,282.458,0.97714,1.43649,1.13717,0.68487,0.79938,0.80837,0.68032,0.76114,1.11627,0.9831,0.00104375,0.00104375,0.00104375
7,327.621,0.96805,1.28357,1.09573,0.82543,0.84375,0.84297,0.69807,0.79534,1.02857,1.05324,0.0010025,0.0010025,0.0010025
8,371.979,0.92175,1.15497,1.08856,0.75445,0.9375,0.85467,0.71742,0.70522,0.8964,0.98844,0.00096125,0.00096125,0.00096125
9,417.491,0.89927,1.14176,1.06763,0.83246,0.85921,0.82878,0.69159,0.70937,0.84645,0.99704,0.00092,0.00092,0.00092
10,465.796,0.8321,1.06614,1.03165,0.74272,0.9375,0.84805,0.77666,0.51159,0.72286,0.90534,0.00087875,0.00087875,0.00087875
11,513.084,0.76376,0.95069,1.02205,0.8296,0.9375,0.82862,0.74483,0.53877,0.82723,0.89957,0.0008375,0.0008375,0.0008375
12,557.129,0.77242,1.00327,1.02558,0.83482,0.9375,0.84673,0.75708,0.58579,0.66338,0.94597,0.00079625,0.00079625,0.00079625
13,601.879,0.72205,0.87326,0.98454,0.83203,0.9375,0.8537,0.76592,0.51214,0.60139,0.87807,0.000755,0.000755,0.000755
14,648.495,0.71604,0.90477,0.98918,0.82164,0.9375,0.8644,0.80076,0.40208,0.60907,0.85649,0.00071375,0.00071375,0.00071375
15,692.979,0.68181,0.83774,0.96044,0.82649,0.9375,0.85538,0.77891,0.49698,0.57446,0.87598,0.0006725,0.0006725,0.0006725
16,739.92,0.6811,0.81144,0.97332,0.8273,0.9375,0.85249,0.80519,0.40155,0.53713,0.84089,0.00063125,0.00063125,0.00063125
17,786.12,0.66607,0.83146,0.96385,0.82788,0.93932,0.86129,0.79845,0.44644,0.5303,0.86238,0.00059,0.00059,0.00059
18,831.469,0.6561,0.79415,0.96941,0.82847,0.9375,0.85852,0.78093,0.47292,0.5623,0.85929,0.00054875,0.00054875,0.00054875
19,877.152,0.63115,0.77961,0.95176,0.83266,0.9375,0.84724,0.81143,0.37262,0.50116,0.8281,0.0005075,0.0005075,0.0005075
20,922.982,0.60191,0.7333,0.93878,0.83459,0.9375,0.83865,0.77698,0.48044,0.53089,0.85745,0.00046625,0.00046625,0.00046625
21,965.761,0.46253,0.62277,0.88719,0.82739,0.9375,0.83903,0.78039,0.36097,0.51568,0.82349,0.000425,0.000425,0.000425
22,1003.82,0.45775,0.5936,0.89369,0.83377,0.9375,0.86116,0.82318,0.30418,0.45929,0.80609,0.00038375,0.00038375,0.00038375
23,1047.55,0.41527,0.57891,0.88469,0.83344,0.9375,0.85524,0.81944,0.35916,0.48422,0.81781,0.0003425,0.0003425,0.0003425
24,1083.12,0.398,0.56296,0.87372,0.83448,0.9375,0.85698,0.81216,0.38176,0.47477,0.82013,0.00030125,0.00030125,0.00030125
25,1123.35,0.38252,0.54256,0.86608,0.83405,0.9375,0.85362,0.82982,0.29632,0.44332,0.80733,0.00026,0.00026,0.00026
26,1164.65,0.38901,0.55832,0.8638,0.83884,0.9375,0.86678,0.8507,0.27382,0.45847,0.79459,0.00021875,0.00021875,0.00021875
27,1205.15,0.38021,0.5428,0.88403,0.83468,0.9375,0.8473,0.82677,0.28757,0.43171,0.79803,0.0001775,0.0001775,0.0001775
28,1245.71,0.36087,0.56457,0.87064,0.82774,0.9375,0.85701,0.84943,0.24779,0.43287,0.78795,0.00013625,0.00013625,0.00013625
29,1286.24,0.33071,0.5246,0.85305,0.83436,0.9375,0.85502,0.84059,0.26498,0.42,0.79108,9.5e-05,9.5e-05,9.5e-05
30,1326.67,0.33704,0.53612,0.85329,0.8294,0.9375,0.85857,0.84788,0.24912,0.42363,0.78624,5.375e-05,5.375e-05,5.375e-05
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 47.6388 2.06166 9.55892 1.66118 0.63443 0.51875 0.50685 0.35036 1.07019 2.78419 1.19514 0.0004125 0.0004125 0.0004125
3 2 95.3108 1.3763 2.45701 1.29177 0.58004 0.69157 0.6986 0.51666 1.05467 2.06147 1.20886 0.000801804 0.000801804 0.000801804
4 3 142.41 1.2747 1.98287 1.25975 0.91436 0.63644 0.75393 0.57347 0.93334 2.16777 1.1331 0.00116361 0.00116361 0.00116361
5 4 189.761 1.1519 1.80122 1.21778 0.69874 0.78631 0.81157 0.62805 1.00422 1.24561 1.14654 0.00112625 0.00112625 0.00112625
6 5 237.199 1.02937 1.48355 1.13191 0.72527 0.80625 0.78509 0.667 0.72447 1.32187 1.00801 0.001085 0.001085 0.001085
7 6 282.458 0.97714 1.43649 1.13717 0.68487 0.79938 0.80837 0.68032 0.76114 1.11627 0.9831 0.00104375 0.00104375 0.00104375
8 7 327.621 0.96805 1.28357 1.09573 0.82543 0.84375 0.84297 0.69807 0.79534 1.02857 1.05324 0.0010025 0.0010025 0.0010025
9 8 371.979 0.92175 1.15497 1.08856 0.75445 0.9375 0.85467 0.71742 0.70522 0.8964 0.98844 0.00096125 0.00096125 0.00096125
10 9 417.491 0.89927 1.14176 1.06763 0.83246 0.85921 0.82878 0.69159 0.70937 0.84645 0.99704 0.00092 0.00092 0.00092
11 10 465.796 0.8321 1.06614 1.03165 0.74272 0.9375 0.84805 0.77666 0.51159 0.72286 0.90534 0.00087875 0.00087875 0.00087875
12 11 513.084 0.76376 0.95069 1.02205 0.8296 0.9375 0.82862 0.74483 0.53877 0.82723 0.89957 0.0008375 0.0008375 0.0008375
13 12 557.129 0.77242 1.00327 1.02558 0.83482 0.9375 0.84673 0.75708 0.58579 0.66338 0.94597 0.00079625 0.00079625 0.00079625
14 13 601.879 0.72205 0.87326 0.98454 0.83203 0.9375 0.8537 0.76592 0.51214 0.60139 0.87807 0.000755 0.000755 0.000755
15 14 648.495 0.71604 0.90477 0.98918 0.82164 0.9375 0.8644 0.80076 0.40208 0.60907 0.85649 0.00071375 0.00071375 0.00071375
16 15 692.979 0.68181 0.83774 0.96044 0.82649 0.9375 0.85538 0.77891 0.49698 0.57446 0.87598 0.0006725 0.0006725 0.0006725
17 16 739.92 0.6811 0.81144 0.97332 0.8273 0.9375 0.85249 0.80519 0.40155 0.53713 0.84089 0.00063125 0.00063125 0.00063125
18 17 786.12 0.66607 0.83146 0.96385 0.82788 0.93932 0.86129 0.79845 0.44644 0.5303 0.86238 0.00059 0.00059 0.00059
19 18 831.469 0.6561 0.79415 0.96941 0.82847 0.9375 0.85852 0.78093 0.47292 0.5623 0.85929 0.00054875 0.00054875 0.00054875
20 19 877.152 0.63115 0.77961 0.95176 0.83266 0.9375 0.84724 0.81143 0.37262 0.50116 0.8281 0.0005075 0.0005075 0.0005075
21 20 922.982 0.60191 0.7333 0.93878 0.83459 0.9375 0.83865 0.77698 0.48044 0.53089 0.85745 0.00046625 0.00046625 0.00046625
22 21 965.761 0.46253 0.62277 0.88719 0.82739 0.9375 0.83903 0.78039 0.36097 0.51568 0.82349 0.000425 0.000425 0.000425
23 22 1003.82 0.45775 0.5936 0.89369 0.83377 0.9375 0.86116 0.82318 0.30418 0.45929 0.80609 0.00038375 0.00038375 0.00038375
24 23 1047.55 0.41527 0.57891 0.88469 0.83344 0.9375 0.85524 0.81944 0.35916 0.48422 0.81781 0.0003425 0.0003425 0.0003425
25 24 1083.12 0.398 0.56296 0.87372 0.83448 0.9375 0.85698 0.81216 0.38176 0.47477 0.82013 0.00030125 0.00030125 0.00030125
26 25 1123.35 0.38252 0.54256 0.86608 0.83405 0.9375 0.85362 0.82982 0.29632 0.44332 0.80733 0.00026 0.00026 0.00026
27 26 1164.65 0.38901 0.55832 0.8638 0.83884 0.9375 0.86678 0.8507 0.27382 0.45847 0.79459 0.00021875 0.00021875 0.00021875
28 27 1205.15 0.38021 0.5428 0.88403 0.83468 0.9375 0.8473 0.82677 0.28757 0.43171 0.79803 0.0001775 0.0001775 0.0001775
29 28 1245.71 0.36087 0.56457 0.87064 0.82774 0.9375 0.85701 0.84943 0.24779 0.43287 0.78795 0.00013625 0.00013625 0.00013625
30 29 1286.24 0.33071 0.5246 0.85305 0.83436 0.9375 0.85502 0.84059 0.26498 0.42 0.79108 9.5e-05 9.5e-05 9.5e-05
31 30 1326.67 0.33704 0.53612 0.85329 0.8294 0.9375 0.85857 0.84788 0.24912 0.42363 0.78624 5.375e-05 5.375e-05 5.375e-05
Binary file not shown.

After

Width:  |  Height:  |  Size: 268 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 196 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 196 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 186 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 182 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 173 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 166 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 296 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 316 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 297 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 317 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 298 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 317 KiB

Binary file not shown.