yolov5/data/voc.yaml

22 lines
735 B
YAML
Raw Normal View History

2020-07-05 07:11:14 +08:00
# PASCAL VOC dataset http://host.robots.ox.ac.uk/pascal/VOC/
# Train command: python train.py --data voc.yaml
2020-07-13 01:37:06 +08:00
# Default dataset location is next to /yolov5:
2020-07-05 07:11:14 +08:00
# /parent_folder
# /VOC
# /yolov5
2020-07-03 05:06:59 +08:00
2020-07-13 01:37:06 +08:00
# download command/URL (optional)
download: bash data/scripts/get_voc.sh
2020-07-13 01:37:06 +08:00
# train and val data as 1) directory: path/images/, 2) file: path/images.txt, or 3) list: [path1/images/, path2/images/]
train: ../VOC/images/train/ # 16551 images
val: ../VOC/images/val/ # 4952 images
2020-07-03 05:06:59 +08:00
# number of classes
nc: 20
# class names
2020-07-05 07:50:11 +08:00
names: ['aeroplane', 'bicycle', 'bird', 'boat', 'bottle', 'bus', 'car', 'cat', 'chair', 'cow', 'diningtable', 'dog',
'horse', 'motorbike', 'person', 'pottedplant', 'sheep', 'sofa', 'train', 'tvmonitor']