SegFormerOptions
Options & Configuration · AiDotNet.ComputerVision.Segmentation.Semantic
Configuration options for the SegFormer semantic segmentation model.
Inheritance: ModelOptions → NeuralNetworkOptions → ModelHyperparameterOptions → SegmentationModelOptions → SegFormerOptions
For Beginners
SegFormer options inherit from NeuralNetworkOptions, which provides a Seed property for reproducibility. As the library evolves, additional segmentation-specific settings can be added here.
Constructors
| Constructor | Summary |
|---|---|
SegFormerOptions() |
Initializes a new instance with default values. |
SegFormerOptions(SegFormerOptions other) |
Initializes a new instance by copying from another instance. |
Properties
| Property | Summary |
|---|---|
SegFormerModelSize 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. |