SAMHQOptions

Options & Configuration · AiDotNet.ComputerVision.Segmentation.Foundation

Configuration options for the SAM-HQ (High-Quality Segment Anything) model.

Inheritance: ModelOptions → NeuralNetworkOptions → ModelHyperparameterOptions → SegmentationModelOptions → SAMHQOptions

For Beginners

SAM-HQ extends SAM with a High-Quality output token for significantly better mask boundaries. Options inherit from NeuralNetworkOptions and provide defaults suitable for most use cases.

Constructors

Constructor Summary
SAMHQOptions() Initializes a new instance with default values.
SAMHQOptions(SAMHQOptions other) Initializes a new instance by copying from another instance.

Properties

Property Summary
SAMHQModelSize ModelSize { get; set; } Gets or sets which published size variant of the model to build.

Methods

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