Package ai.djl.training.listener
Contains classes providing functionality during training through
TrainingListener.
It contains a main interface TrainingListener and various
listeners that extend it.
-
Interface Summary Interface Description TrainingListener TrainingListeneroffers an interface that performs some actions when certain events have occurred in theTrainer.TrainingListener.Defaults Contains defaultTrainingListenersets. -
Class Summary Class Description DivergenceCheckTrainingListener TrainingListenerthat gives early warning if your training has failed by divergence.EpochTrainingListener EpochTrainingListenerthat tracks epochs.EvaluatorTrainingListener TrainingListenerthat records evaluator results.LoggingTrainingListener TrainingListenerthat outputs the progress of training each batch and epoch into logs.MemoryTrainingListener TrainingListenerthat collects the memory usage information.SaveModelTrainingListener ATrainingListenerthat saves a model and can save checkpoints.TimeMeasureTrainingListener TrainingListenerthat outputs the training time metrics after training is done.TrainingListener.BatchData A class to pass data from the batch into the training listeners.TrainingListenerAdapter Base implementation of the training listener that does nothing.