LwFOptions<T>
Options & Configuration · AiDotNet.ContinualLearning.Strategies
Configuration options for Learning without Forgetting.
Constructors
| Constructor | Summary |
|---|---|
LwFOptions() |
Properties
| Property | Summary |
|---|---|
DistillationLossType? LossType { get; set; } |
Gets or sets the distillation loss type (SoftCrossEntropy: the paper’s L_old = −Σ y’_o log ŷ’_o of the temperature-softened recorded and current outputs, Li and Hoiem 2017, Eqs. |
bool? UseFeatureDistillation { get; set; } |
Gets or sets whether to distill from intermediate layers. |
bool? UseWarmup { get; set; } |
Gets or sets whether to use warmup for distillation weight. |
double? DistillationWeight { get; set; } |
Gets or sets the weight for distillation loss relative to task loss. |
double? Temperature { get; set; } |
Gets or sets the distillation temperature. |
int? WarmupEpochs { get; set; } |
Gets or sets the number of warmup epochs. |