Package ai.djl.training.tracker
package ai.djl.training.tracker
Contains classes for having a gradually changing hyper-parameter.
It contains a main interface Tracker
and various options that
extend it.
-
ClassDescription
CosineTracker
is an implementation ofTracker
which is updated by taking sections of a cosine curve to smoothly reduce learning rate until a specified step and base learning rate.The Builder to construct anCosineTracker
object.CyclicalTracker
is an implementation ofTracker
which is a policy of learning rate adjustment that increases the learning rate off a base value in a cyclical nature, as detailed in the paper Cyclical Learning Rates for Training Neural Networks.The Builder to construct anCyclicalTracker
object.CyclicalTracker
provides three predefined cyclical modes and can be selected by this enum.ScaleFunction
is an interface to implement a custom scale function.FactorTracker
is an implementation ofTracker
which is updated by a multiplicative factor.The Builder to construct anFactorTracker
object.FixedPerVarTracker
is an implementation ofTracker
which returns a fixed value.The Builder to construct anFixedPerVarTracker
object.FactorTracker
is an implementation ofTracker
which is updated by a constant factor.The Builder to construct anLinearTracker
object.MultiFactorTracker
is an implementation ofTracker
which returns piecewise constant values for fixed numbers of steps.The Builder to construct anMultiFactorTracker
object.ATracker
represents a collection of hyperparameters orTracker
s that changes gradually through the training process.Polynomial decayTracker
.Builder for PolynomialDecayTracker.ATracker
represents a hyperparameter that changes gradually through the training process.AWarmUpTracker
applies a simple warm-up before executing a mainTracker
.The Builder to construct aWarmUpTracker
.An enum that enumerates the types of warm-up modes for aWarmUpTracker
.