Shortcuts

ignite.handlers

Complete list of handlers

checkpoint.Checkpoint

Checkpoint handler can be used to periodically save and load objects which have attribute state_dict/load_state_dict.

DiskSaver

Handler that saves input checkpoint on a disk.

checkpoint.ModelCheckpoint

ModelCheckpoint handler can be used to periodically save objects to disk only.

early_stopping.EarlyStopping

EarlyStopping handler can be used to stop the training if no improvement after a given number of events.

terminate_on_nan.TerminateOnNan

TerminateOnNan handler can be used to stop the training if the process_function’s output contains a NaN or infinite number or torch.tensor.

TimeLimit

TimeLimit handler can be used to control training time for computing environments where session time is limited.

timing.Timer

Timer object can be used to measure (average) time between events.

global_step_from_engine

Helper method to setup global_step_transform function using another engine.

checkpoint.BaseSaveHandler

Base class for save handlers