-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdata.yaml.template
More file actions
33 lines (26 loc) · 835 Bytes
/
data.yaml.template
File metadata and controls
33 lines (26 loc) · 835 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# YOLOv8 Dataset Configuration Template
# Copy this file to your dataset directory and update paths
# CRITICAL: Use absolute paths, not relative paths
# YOLOv8 will fail with relative paths like './train/images'
# Path to training images
train: /absolute/path/to/your/dataset/train/images
# Path to validation images
val: /absolute/path/to/your/dataset/val/images
# Number of classes
nc: 2
# Class names (must match label files)
names:
0: drone
1: IR-Drone
# Example for 4-class dataset:
# nc: 4
# names:
# 0: AirPlane
# 1: Drone
# 2: Helicopter
# 3: IR-Drone
# Notes:
# - Images should be in train/images/ and val/images/
# - Labels should be in train/labels/ and val/labels/
# - Label format: class x_center y_center width height (normalized 0-1)
# - Empty label files are valid (negative samples with no objects)