Initial commit: Recycling object detection project

- Added Fast api web application for recycling object detection
- Included YOLOv8 model training notebook
- Set up project structure with datasets and training directories
- Added requirements.txt for dependencies
- Configured .gitignore for Python virtual environment and cache files
This commit is contained in:
boladeE
2025-04-23 19:18:05 +01:00
commit a6e52f8ad0
454 changed files with 2649 additions and 0 deletions
Binary file not shown.

After

Width:  |  Height:  |  Size: 105 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 69 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 89 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 97 KiB

+104
View File
@@ -0,0 +1,104 @@
task: detect
mode: train
model: yolov8n.pt
data: c:\Users\babaw\Documents\Work\Mana Knight Digital\ds_task_recycling_project\datasets\data.yaml
epochs: 10
time: null
patience: 100
batch: 16
imgsz: 640
save: true
save_period: -1
cache: false
device: null
workers: 8
project: null
name: train8
exist_ok: false
pretrained: 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: false
overlap_mask: true
mask_ratio: 4
dropout: 0.0
val: true
split: val
save_json: false
conf: null
iou: 0.7
max_det: 300
half: false
dnn: false
plots: true
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
keras: false
optimize: false
int8: false
dynamic: false
simplify: true
opset: null
workspace: null
nms: false
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
box: 7.5
cls: 0.5
dfl: 1.5
pose: 12.0
kobj: 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
copy_paste: 0.0
copy_paste_mode: flip
auto_augment: randaugment
erasing: 0.4
cfg: null
tracker: botsort.yaml
save_dir: c:\Users\babaw\Documents\Work\Mana Knight Digital\ds_task_recycling_project\datasets\runs\detect\train8
Binary file not shown.

After

Width:  |  Height:  |  Size: 73 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 80 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 128 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 212 KiB

+11
View File
@@ -0,0 +1,11 @@
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,54.1052,2.09071,3.34134,1.92262,0.01333,1,0.44572,0.27186,1.23051,2.59193,1.24848,0.00018,0.00018,0.00018
2,108.428,1.50925,1.64368,1.30782,0.026,0.79167,0.48938,0.22884,1.44,2.58214,1.33161,0.00034238,0.00034238,0.00034238
3,169.2,1.34332,1.3215,1.15863,0.01333,1,0.58594,0.25415,1.57323,2.57662,1.42461,0.00046516,0.00046516,0.00046516
4,234.459,1.31312,1.2712,1.15172,1,0.47543,0.79618,0.35276,1.61652,2.20651,1.3799,0.00054834,0.00054834,0.00054834
5,294.564,1.26273,1.19739,1.13664,1,0.28525,0.74794,0.36812,1.68514,2.29653,1.41218,0.00059192,0.00059192,0.00059192
6,350.243,1.21539,1.14377,1.12547,0.91649,0.45734,0.70839,0.31517,1.94937,1.85537,1.67103,0.0005959,0.0005959,0.0005959
7,404.798,1.23307,1.12771,1.12239,0.84802,0.45833,0.67201,0.32455,1.8349,1.87145,1.56846,0.00056028,0.00056028,0.00056028
8,461.361,1.11852,1.03717,1.09084,0.92189,0.49228,0.66535,0.37511,1.62371,1.64545,1.42783,0.00048506,0.00048506,0.00048506
9,518.598,1.08484,0.99435,1.08017,0.92847,0.54088,0.70312,0.41016,1.44851,1.34793,1.32552,0.00037024,0.00037024,0.00037024
10,579.541,1.03245,0.95569,1.0672,0.88861,0.66487,0.7698,0.44125,1.74982,1.29988,1.50408,0.00021582,0.00021582,0.00021582
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 54.1052 2.09071 3.34134 1.92262 0.01333 1 0.44572 0.27186 1.23051 2.59193 1.24848 0.00018 0.00018 0.00018
3 2 108.428 1.50925 1.64368 1.30782 0.026 0.79167 0.48938 0.22884 1.44 2.58214 1.33161 0.00034238 0.00034238 0.00034238
4 3 169.2 1.34332 1.3215 1.15863 0.01333 1 0.58594 0.25415 1.57323 2.57662 1.42461 0.00046516 0.00046516 0.00046516
5 4 234.459 1.31312 1.2712 1.15172 1 0.47543 0.79618 0.35276 1.61652 2.20651 1.3799 0.00054834 0.00054834 0.00054834
6 5 294.564 1.26273 1.19739 1.13664 1 0.28525 0.74794 0.36812 1.68514 2.29653 1.41218 0.00059192 0.00059192 0.00059192
7 6 350.243 1.21539 1.14377 1.12547 0.91649 0.45734 0.70839 0.31517 1.94937 1.85537 1.67103 0.0005959 0.0005959 0.0005959
8 7 404.798 1.23307 1.12771 1.12239 0.84802 0.45833 0.67201 0.32455 1.8349 1.87145 1.56846 0.00056028 0.00056028 0.00056028
9 8 461.361 1.11852 1.03717 1.09084 0.92189 0.49228 0.66535 0.37511 1.62371 1.64545 1.42783 0.00048506 0.00048506 0.00048506
10 9 518.598 1.08484 0.99435 1.08017 0.92847 0.54088 0.70312 0.41016 1.44851 1.34793 1.32552 0.00037024 0.00037024 0.00037024
11 10 579.541 1.03245 0.95569 1.0672 0.88861 0.66487 0.7698 0.44125 1.74982 1.29988 1.50408 0.00021582 0.00021582 0.00021582
Binary file not shown.

After

Width:  |  Height:  |  Size: 242 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 440 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 424 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 453 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 262 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 261 KiB

Binary file not shown.
Binary file not shown.
Binary file not shown.