FastSAMOptions
Options & Configuration · AiDotNet.ComputerVision.Segmentation.Efficient
Configuration options for FastSAM (CNN-based fast Segment Anything).
Inheritance: ModelOptions → NeuralNetworkOptions → ModelHyperparameterOptions → SegmentationModelOptions → FastSAMOptions
For Beginners
These options configure the FastSAM model. Default values follow the original paper settings.
Constructors
| Constructor | Summary |
|---|---|
FastSAMOptions() |
Initializes a new instance with default values. |
FastSAMOptions(FastSAMOptions other) |
Initializes a new instance by copying from another instance. |
Properties
| Property | Summary |
|---|---|
int? DecoderDim { get; set; } |
Decoder hidden dimension. |
int[] ChannelDims { get; set; } |
Channel dimensions for each backbone stage. |
int[] Depths { get; set; } |
Number of blocks per backbone stage. |
Methods
| Method | Summary |
|---|---|
void Validate() |
Throws when a value on this instance cannot produce a working model. |