21 lines
823 B
YAML
21 lines
823 B
YAML
# 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安全帽识别/安全帽鞋头数据集 # dataset root dir
|
|
train: train # train images (relative to 'path') 4 images
|
|
val: val # val images (relative to 'path') 4 images
|
|
test: # test images (optional)
|
|
|
|
# Classes
|
|
names:
|
|
0: Helmet
|
|
1: Non-Helmet
|
|
2: Shoes
|
|
# ['Gloves','Helmet','Non-Helmet','Person','Shoes','Vest','bare-arms'] |