ViTCoMerOptions
Options & Configuration · AiDotNet.ComputerVision.Segmentation.Semantic
Configuration options for the ViT-CoMer semantic segmentation model.
Inheritance: ModelOptions → NeuralNetworkOptions → ModelHyperparameterOptions → SegmentationModelOptions → ViTCoMerOptions
For Beginners
ViT-CoMer options inherit from NeuralNetworkOptions, which provides a Seed property for reproducibility. ViT-CoMer is a hybrid model that runs CNN and transformer branches in parallel and fuses them to get excellent boundary quality in segmentation.
Constructors
| Constructor | Summary |
|---|---|
ViTCoMerOptions() |
Initializes a new instance with default values. |
ViTCoMerOptions(ViTCoMerOptions other) |
Initializes a new instance by copying from another instance. |
Properties
| Property | Summary |
|---|---|
ViTCoMerModelSize ModelSize { get; set; } |
Gets or sets which published size variant of the model to build. |
double LearningRate { get; set; } |
Gets or sets the initial AdamW learning rate. |
Methods
| Method | Summary |
|---|---|
void Validate() |
Throws when a value on this instance cannot produce a working model. |