Scheduler
struct
defined in module
FluxTraining
Scheduler(schedules...)
Callback for hyperparameter scheduling. Takes pairs of
HyperParameter
types and
ParameterSchedulers.jl schedules
.
See the tutorial for more information.
es
=
length
(
learner
.
data
.
training
)
lrschedule
=
ParameterSchedulers
.
Step
(
;
λ
=
1.0
,
γ
=
0.9
,
step_sizes
=
[
10
,
20
]
)
scheduler
=
Scheduler
(
LearningRate
=>
lrschedule
)
There is
1
method for FluxTraining.Scheduler
:
The following pages link back here:
training/lrfind.jl , training/onecycle.jl , training/utils.jl , FluxTraining.jl , callbacks/scheduler.jl