# Ultralytics YOLO 🚀, AGPL-3.0 license | |
# YOLOv8n object detection model with P3-P5 outputs. For details see https://docs.ultralytics.com/tasks/detection | |
# Parameters | |
nc: 8 # number of classes | |
scales: # model compound scaling constants, i.e. 'model=yolov8n.yaml' will call yolov8.yaml with scale 'n' | |
# [depth, width, max_channels] | |
n: [0.33, 0.25, 1024] # YOLOv8n summary: 225 layers, 3157200 parameters, 3157184 gradients, 8.9 GFLOPs | |
s: [0.33, 0.50, 1024] # YOLOv8s summary: 225 layers, 11166560 parameters, 11166544 gradients, 28.8 GFLOPs | |
m: [0.67, 0.75, 768] # YOLOv8m summary: 295 layers, 25902640 parameters, 25902624 gradients, 79.3 GFLOPs | |
l: [1.00, 1.00, 512] # YOLOv8l summary: 365 layers, 43691520 parameters, 4369 |