{
"cells": [
{
"cell_type": "markdown",
"metadata": {},
"source": [
"# StepLRScheduler"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"In this tutorial we are going to be looking at the `StepLRScheduler` in the `timm` library."
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"The schedule looks something like:"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"
"
]
},
{
"cell_type": "code",
"execution_count": 1,
"metadata": {},
"outputs": [],
"source": [
"#hide\n",
"%load_ext autoreload\n",
"%autoreload 2"
]
},
{
"cell_type": "code",
"execution_count": 2,
"metadata": {},
"outputs": [],
"source": [
"from timm.scheduler.step_lr import StepLRScheduler\n",
"from nbdev.showdoc import show_doc"
]
},
{
"cell_type": "code",
"execution_count": 3,
"metadata": {},
"outputs": [
{
"data": {
"text/markdown": [
"
class StepLRScheduler[source]StepLRScheduler(**`optimizer`**:`Optimizer`, **`decay_t`**:`float`, **`decay_rate`**:`float`=*`1.0`*, **`warmup_t`**=*`0`*, **`warmup_lr_init`**=*`0`*, **`t_in_epochs`**=*`True`*, **`noise_range_t`**=*`None`*, **`noise_pct`**=*`0.67`*, **`noise_std`**=*`1.0`*, **`noise_seed`**=*`42`*, **`initialize`**=*`True`*) :: `Scheduler`\n",
"\n",
" "
],
"text/plain": [
"