yolov5-5.0的yaml文件:
train: dataset-DIOR/images/train # train images (relative to 'path') 118287 images
val: dataset-DIOR/images/val # train images (relative to 'path') 5000 images
test: dataset-DIOR/images/test
# Classes
nc: 20 # number of classes
names: ['airplane',
'airport',
'baseballfield',
'basketballcourt']
yolov5-6.2的yaml文件:
path: dataset-DIOR/images/ # dataset root dir
train: train # train images (relative to 'path') 118287 images
val: val # train images (relative to 'path') 5000 images
test: test
# Classes
nc: 20 # number of classes
names: ['airplane',
'airport',
'baseballfield',
'basketballcourt']
注:6.2版本更新了路径的方式