YoloStagedBackboneBase<T>
Base Classes ยท AiDotNet.ComputerVision.Detection.ObjectDetection.YOLO
The staged YOLO backbone shared by YOLOv8 and YOLO11: a chain of stages with P3, P4 and P5 tapped at fixed stage indices. Each version supplies only its stage list; extraction, serialization, freezing and metadata live here once, so a fix to any of them reaches both.
Inheritance: NeuralNetworkBase<T> โ YoloStagedBackboneBase<T>
Implements: IDetectionBackbone<T>
Known derived types: YOLOv11Backbone<T>, YOLOv8Backbone<T>
Properties
| Property | Summary |
|---|---|
IReadOnlyList<int> OutputChannels { get; } |
Channels of P3, P4 and P5. |
IReadOnlyList<int> Strides { get; } |
Strides of P3, P4 and P5. |
bool IsFrozen { get; set; } |
Whether the backbone is frozen. |
string Name { get; } |
The backbone name. |
Methods
| Method | Summary |
|---|---|
IFullModel<T, Tensor<T>, Tensor<T>> WithParameters(Vector<T> parameters) |
|
IReadOnlyList<Tensor<T>> GetFeatureMaps(Tensor<T> input) |
|
List<Tensor<T>> ExtractFeatures(Tensor<T> input) |
|
ModelMetadata<T> GetModelMetadata() |
|
ValueTuple<int, int> GetExpectedInputSize() |
The canonical Ultralytics training resolution. |
void Freeze() |
Freezes the backbone. |
void ReadParameters(BinaryReader reader) |
|
void Unfreeze() |
Unfreezes the backbone. |
void WriteParameters(BinaryWriter writer) |