Improve headers and comments in TOML/YAML files (#18698)

Co-authored-by: Glenn Jocher <glenn.jocher@ultralytics.com>
Co-authored-by: UltralyticsAssistant <web@ultralytics.com>
This commit is contained in:
Paula Derrenger 2025-01-15 19:33:16 +01:00 committed by GitHub
parent be819455af
commit 5a58950a7c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
98 changed files with 339 additions and 148 deletions

View file

@ -1,5 +1,8 @@
# Ultralytics YOLO 🚀, AGPL-3.0 license
# YOLO11-cls image classification model. For Usage examples see https://docs.ultralytics.com/tasks/classify
# Ultralytics 🚀 AGPL-3.0 License - https://ultralytics.com/license
# Ultralytics YOLO11-cls image classification model with ResNet18 backbone
# Model docs: https://docs.ultralytics.com/models/yolo11
# Task docs: https://docs.ultralytics.com/tasks/classify
# Parameters
nc: 10 # number of classes
@ -11,7 +14,7 @@ scales: # model compound scaling constants, i.e. 'model=yolo11n-cls.yaml' will c
l: [1.00, 1.00, 1024]
x: [1.00, 1.25, 1024]
# YOLO11n backbone
# ResNet18 backbone
backbone:
# [from, repeats, module, args]
- [-1, 1, TorchVision, [512, "resnet18", "DEFAULT", True, 2]] # truncate two layers from the end