XMemOptions
Options & Configuration · AiDotNet.Video.Options
Configuration options for the XMem video segmentation model.
Inheritance: ModelOptions → NeuralNetworkOptions → ModelHyperparameterOptions → VideoHyperparameterOptions → XMemOptions
Constructors
| Constructor | Summary |
|---|---|
XMemOptions() |
Initializes a new instance with the paper’s training defaults. |
XMemOptions(XMemOptions other) |
Initializes a new instance by copying another XMem options instance. |
Properties
| Property | Summary |
|---|---|
double LearningRate { get; set; } |
Gets or sets the AdamW learning rate. |
double WeightDecay { get; set; } |
Gets or sets AdamW’s decoupled weight decay. |
int LongTermMemorySize { get; set; } |
Gets or sets the long term memory size. |
int SensoryMemorySize { get; set; } |
Gets or sets the sensory memory size. |
int WorkingMemorySize { get; set; } |
Gets or sets the working memory size. |
Methods
| Method | Summary |
|---|---|
void Validate() |
Throws if a value this model requires has been left unset or is not positive. |