vis4d.engine.callbacks.yolox_callbacks
YOLOX-specific callbacks.
Functions
|
Get the state_dict of batch norms in the module. |
Classes
|
Callback for switching the mode of YOLOX training. |
|
Callback for syncing the norm states of YOLOX training. |
|
Callback for syncing random resize during YOLOX training. |
- class YOLOXModeSwitchCallback(*args, switch_epoch, **kwargs)[source]
Callback for switching the mode of YOLOX training.
- get_norm_states(module)[source]
Get the state_dict of batch norms in the module.
- Parameters:
module (nn.Module) – Module to get batch norm states from.
- Return type:
Dict[str,Any]
- class YOLOXSyncNormCallback(epoch_based=True, train_connector=None, test_connector=None)[source]
Callback for syncing the norm states of YOLOX training.