Table of Contents

Class AnchorPresets

Namespace
AiDotNet.ComputerVision.Detection.Anchors
Assembly
AiDotNet.dll

Pre-defined anchor configurations for common models.

public static class AnchorPresets
Inheritance
AnchorPresets
Inherited Members

Fields

FPNStrides

Standard strides for 5-level FPN (Faster R-CNN, RetinaNet).

public static readonly int[] FPNStrides

Field Value

int[]

YOLOStrides

Standard strides for YOLO models.

public static readonly int[] YOLOStrides

Field Value

int[]

YOLOv5Anchors

YOLOv5 default anchors.

public static readonly double[,] YOLOv5Anchors

Field Value

double[,]

YOLOv8Anchors

YOLOv8 default anchors per level (not used in anchor-free YOLOv8, but available for compatibility).

public static readonly double[,] YOLOv8Anchors

Field Value

double[,]