AugmentationScheduler<T>

Models & Types · AiDotNet.Augmentation.Image

Schedules augmentation strength changes during training.

Constructors

Constructor Summary
AugmentationScheduler(IAugmentation<T, ImageTensor<T>> augmenter, ScheduleType scheduleType, int totalEpochs, double startStrength, double endStrength)

Properties

Property Summary
IAugmentation<T, ImageTensor<T>> Augmenter { get; } Gets the underlying augmenter.
double CurrentStrength { get; } Gets the current augmentation strength factor [0, 1].

Methods

Method Summary
void SetEpoch(int epoch) Sets the current epoch.
void Step() Updates the scheduler to the next epoch.