Class DINOConfig
- Namespace
- AiDotNet.SelfSupervisedLearning
- Assembly
- AiDotNet.dll
DINO-specific configuration settings.
public class DINOConfig
- Inheritance
-
DINOConfig
- Inherited Members
Remarks
For Beginners: DINO (self-DIstillation with NO labels) uses self-distillation with centering and sharpening to learn emergent attention patterns in Vision Transformers.
Properties
CenterMomentum
Gets or sets the momentum for the centering mechanism.
public double? CenterMomentum { get; set; }
Property Value
Remarks
Default: 0.9
NumGlobalCrops
Gets or sets the number of global crops (large crops).
public int? NumGlobalCrops { get; set; }
Property Value
- int?
Remarks
Default: 2
NumLocalCrops
Gets or sets the number of local crops (small crops).
public int? NumLocalCrops { get; set; }
Property Value
- int?
Remarks
Default: 8
StudentTemperature
Gets or sets the student temperature.
public double? StudentTemperature { get; set; }
Property Value
Remarks
Default: 0.1
TeacherTemperatureEnd
Gets or sets the final teacher temperature.
public double? TeacherTemperatureEnd { get; set; }
Property Value
Remarks
Default: 0.07
TeacherTemperatureStart
Gets or sets the initial teacher temperature.
public double? TeacherTemperatureStart { get; set; }
Property Value
Remarks
Default: 0.04
Teacher temperature is typically scheduled from 0.04 to 0.07.
TeacherTemperatureWarmupEpochs
Gets or sets the number of warmup epochs for teacher temperature.
public int? TeacherTemperatureWarmupEpochs { get; set; }
Property Value
- int?
Remarks
Default: 30
Methods
GetConfiguration()
Gets the configuration as a dictionary.
public IDictionary<string, object> GetConfiguration()