onecycle
function
defined in module
FluxTraining
onecycle(nsteps, max_val, [start_val, end_val; pct_start])
Creates a one-cycle
Schedule
over
nsteps
steps from
start_val
over
max_val
to
end_val
.
epochlength = length(traindataiter)
cb = Scheduler(LearningRate => onecycle(10epochlength, 0.01))
learner = Learner(<args>...; callbacks=[cb])
There is
1
method for FluxTraining.onecycle
:
The following pages link back here:
training/onecycle.jl , FluxTraining.jl , callbacks/scheduler.jl