ksuit.schedules.linear.increasing¶
Classes¶
A scheduler that increases linearly from the minimum to maximum value over the total number of steps. |
Module Contents¶
- class ksuit.schedules.linear.increasing.LinearIncreasingSchedule(config)¶
Bases:
ksuit.schedules.base.IncreasingProgressScheduleA scheduler that increases linearly from the minimum to maximum value over the total number of steps.
Example
>>> schedule_config: >>> kind: ksuit.schedules.LinearIncreasingSchedule >>> max_value: ${model.optim.lr} >>> start_value: 0.0Initialize the scheduler.
- Parameters:
start_value – The initial and thus minimum value of the scheduler.
max_value – The final and thus maximum value of the scheduler.
config (ksuit.schemas.scheduler.IncreasingProgressScheduleConfig)