diff --git a/dataset_20250428_HardHatsV1_helmet_head_shoe_new.yaml b/dataset_20250428_HardHatsV1_helmet_head_shoe_new.yaml new file mode 100644 index 0000000..ac2c25c --- /dev/null +++ b/dataset_20250428_HardHatsV1_helmet_head_shoe_new.yaml @@ -0,0 +1,24 @@ +# Ultralytics YOLO 🚀, AGPL-3.0 license +# COCO8 dataset (first 8 images from COCO train2017) by Ultralytics +# Documentation: https://docs.ultralytics.com/datasets/detect/coco8/ +# Example usage: yolo train data=coco8.yaml +# parent +# ├── ultralytics +# └── datasets +# └── coco8 ← downloads here (1 MB) + +# Train/val/test sets as 1) dir: path/to/imgs, 2) file: path/to/imgs.txt, or 3) list: [path/to/imgs1, path/to/imgs2, ..] +path: /home/admin-root/haotian/python哈汽锻8安全帽识别/DatasetHelmetHeadShoe # dataset root dir +train: train # train images (relative to 'path') 4 images +val: train # val images (relative to 'path') 4 images + +with_negatives: True # 显式启用空白图片加载 +# test: test # test images (optional) + +# Classes +names: + 0: Helmet + 1: Non-Helmet + 2: Shoes + +# ['Gloves','Helmet','Non-Helmet','Person','Shoes','Vest','bare-arms'] \ No newline at end of file