Class InstanceSegmentationOptions<T>
- Assembly
- AiDotNet.dll
Options for instance segmentation models.
public class InstanceSegmentationOptions<T>
Type Parameters
TThe numeric type used for calculations.
- Inheritance
-
InstanceSegmentationOptions<T>
- Inherited Members
Properties
Architecture
Architecture to use for instance segmentation.
public InstanceSegmentationArchitecture Architecture { get; set; }
Property Value
ConfidenceThreshold
Confidence threshold for detection.
public T ConfidenceThreshold { get; set; }
Property Value
- T
InputSize
Input image size [height, width].
public int[] InputSize { get; set; }
Property Value
- int[]
MaskResolution
Mask resolution (output mask size).
public int MaskResolution { get; set; }
Property Value
MaskThreshold
Mask threshold for binarization.
public T MaskThreshold { get; set; }
Property Value
- T
MaxDetections
Maximum number of detections per image.
public int MaxDetections { get; set; }
Property Value
NmsThreshold
NMS threshold for suppression.
public T NmsThreshold { get; set; }
Property Value
- T
NumClasses
Number of classes to detect.
public int NumClasses { get; set; }
Property Value
UsePretrained
Whether to use pretrained weights.
public bool UsePretrained { get; set; }
Property Value
WeightsUrl
URL for pretrained weights.
public string? WeightsUrl { get; set; }