-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Right now, callbacks are executed in the same order they are passed to the Trainer. This can cause problems if, for instance, a logger callbacks is passed before the loss was modified by another callback, displaying an incorrect loss value.
The idea would be to establish a priority system for the callbacks. At the beginning of the training, the Trainer would sort the list of callbacks by their priorities.
class CallbackPriority:
REGULARIZATION = 1
SCHEDULING = 2
PROGRESS = 3Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request