YoloBackboneOptions

Options & Configuration · AiDotNet.ComputerVision.Detection.Backbones

Configuration options for the YOLOv8, YOLOv9 and YOLO11 detection backbones.

Inheritance: ModelOptions → NeuralNetworkOptions → ModelHyperparameterOptions → DetectionBackboneOptions → YoloBackboneOptions

For Beginners

A YOLO backbone is the feature extractor a YOLO detector sits on. The same architecture ships in several sizes; Size picks one.

How It Works

These values were constructor parameters (size, inChannels), so the backbones advertised no configuration surface and nothing could be set through an options object. The three backbones take the same two knobs - one scale and the input channels - so they share one options type rather than three identical ones.

Constructors

Constructor Summary
YoloBackboneOptions()

Properties

Property Summary
ModelSize Size { get; set; } The model scale (Nano, Small, Medium, Large, XLarge).

Methods

Method Summary
void Validate() Throws when a value on this instance cannot produce a working backbone.