Scheduler
continuiti.trainer.scheduler
Learning rate scheduler for Trainer in continuiti.
LinearLRScheduler(optimizer, max_epochs)
¶
Bases: Callback
Callback for a linear learning rate scheduler.
where lr0
is the initial learning rate of the optimizer.
PARAMETER | DESCRIPTION |
---|---|
optimizer |
Optimizer. The learning rate of the first parameter group will be updated.
TYPE:
|
max_epochs |
Maximum number of epochs.
TYPE:
|
Source code in src/continuiti/trainer/scheduler.py
Last update:
2024-08-22
Created: 2024-08-22
Created: 2024-08-22