2026-02-09 12:50:10 +05:30

17 lines
584 B
YAML

# 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: D:/Time-Pass-Projects/pothole-roadsign detection/datasets/road_signs_potholes # dataset root dir
train: train/images
val: val/images
# Classes
names:
0: Traffic Sign
1: Pothole
2: Manhole
# Key:
# data.yaml is the "Map" for YOLO.
# 1. It tells YOLO where to find the images for training and validation.
# 2. It tells YOLO how many classes there are and what their names are (0, 1, 2...).
# 3. YOLO reads this file first to verify everything exists.