Learn Before
Concept
Step Learning Rate Scheduler in Fine-Tuning
To stabilize optimization and achieve better convergence during fine-tuning, a step learning rate scheduler is often employed to periodically reduce the learning rate. By defining a period (lr_period) and a decay factor (lr_decay), tools like torch.optim.lr_scheduler.StepLR automatically multiply the learning rate by the decay factor after every specified number of epochs, ensuring smaller optimization steps as the model approaches a local minimum on the target dataset.
0
1
Updated 2026-05-23
Tags
D2L
Dive into Deep Learning @ D2L