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 onecycle
:
onecycle(nsteps, max_val; pct_start, div, divfinal, start_val, end_val)
The following pages link back here: