Files
yolov5_birdproject/data/coco128.yaml
T
2026-05-26 12:45:11 +08:00

24 lines
779 B
YAML

# Ultralytics 🚀 AGPL-3.0 License - https://ultralytics.com/license
# COCO128 dataset https://www.kaggle.com/datasets/ultralytics/coco128 (first 128 images from COCO train2017) by Ultralytics
# Example usage: python train.py --data coco128.yaml
# parent
# ├── yolov5
# └── datasets
# └── coco128 ← downloads here (7 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: /data6/zhangw/yolov5_KTY_fromYNDC_addKTYneg/images # dataset root dir
train: train # train images (relative to 'path') 128 images
val: test # val images (relative to 'path') 128 images
test: # test images (optional)
nc: 5
# Classes
names:
0: bird
1: bicycle
2: car
3: motorcycle
4: airplane