2.7 KiB
description | keywords |
---|---|
Learn about YOLO's callback functions from on_train_start to add_integration_callbacks. See how these callbacks modify and save models. | YOLO, Ultralytics, callbacks, object detection, training, inference |
on_pretrain_routine_start
:::ultralytics.yolo.utils.callbacks.base.on_pretrain_routine_start
on_pretrain_routine_end
:::ultralytics.yolo.utils.callbacks.base.on_pretrain_routine_end
on_train_start
:::ultralytics.yolo.utils.callbacks.base.on_train_start
on_train_epoch_start
:::ultralytics.yolo.utils.callbacks.base.on_train_epoch_start
on_train_batch_start
:::ultralytics.yolo.utils.callbacks.base.on_train_batch_start
optimizer_step
:::ultralytics.yolo.utils.callbacks.base.optimizer_step
on_before_zero_grad
:::ultralytics.yolo.utils.callbacks.base.on_before_zero_grad
on_train_batch_end
:::ultralytics.yolo.utils.callbacks.base.on_train_batch_end
on_train_epoch_end
:::ultralytics.yolo.utils.callbacks.base.on_train_epoch_end
on_fit_epoch_end
:::ultralytics.yolo.utils.callbacks.base.on_fit_epoch_end
on_model_save
:::ultralytics.yolo.utils.callbacks.base.on_model_save
on_train_end
:::ultralytics.yolo.utils.callbacks.base.on_train_end
on_params_update
:::ultralytics.yolo.utils.callbacks.base.on_params_update
teardown
:::ultralytics.yolo.utils.callbacks.base.teardown
on_val_start
:::ultralytics.yolo.utils.callbacks.base.on_val_start
on_val_batch_start
:::ultralytics.yolo.utils.callbacks.base.on_val_batch_start
on_val_batch_end
:::ultralytics.yolo.utils.callbacks.base.on_val_batch_end
on_val_end
:::ultralytics.yolo.utils.callbacks.base.on_val_end
on_predict_start
:::ultralytics.yolo.utils.callbacks.base.on_predict_start
on_predict_batch_start
:::ultralytics.yolo.utils.callbacks.base.on_predict_batch_start
on_predict_batch_end
:::ultralytics.yolo.utils.callbacks.base.on_predict_batch_end
on_predict_postprocess_end
:::ultralytics.yolo.utils.callbacks.base.on_predict_postprocess_end
on_predict_end
:::ultralytics.yolo.utils.callbacks.base.on_predict_end
on_export_start
:::ultralytics.yolo.utils.callbacks.base.on_export_start
on_export_end
:::ultralytics.yolo.utils.callbacks.base.on_export_end
get_default_callbacks
:::ultralytics.yolo.utils.callbacks.base.get_default_callbacks
add_integration_callbacks
:::ultralytics.yolo.utils.callbacks.base.add_integration_callbacks