callback ¶
Callback base class and CallbackDict manager.
Adapted from FastGen's callback pattern to FastVideo's types.
Classes¶
fastvideo.train.callbacks.callback.Callback ¶
Base callback with no-op hooks.
Subclasses override whichever hooks they need. The training_config and method attributes are set by CallbackDict after instantiation.
fastvideo.train.callbacks.callback.CallbackDict ¶
Manages a collection of named callbacks.
Instantiates each callback from its _target_ config and dispatches hook calls to all registered callbacks.