yolov8.yaml可在此链接下载 : https://github.com/ultralytics/ultralytics/tree/main/ultralytics/cfg/models/v8
nc:数据集类别数
scales:不同尺寸的模型大小
# YOLOv8 object detection model with P3-P5 outputs. For Usage examples see https://docs.ultralytics.com/tasks/detect
# Parameters
nc: 80 # number of classes
scales: # model compound scaling constants, i.e. 'model=yolov