A newer version of the Gradio SDK is available:
5.12.0
metadata
description: >-
Explore how to use the on-train, on-validation, on-pretrain, and on-predict
callbacks in Ultralytics. Learn to update params, save models, and add
integration callbacks.
keywords: >-
Ultralytics, Callbacks, On-train, On-validation, On-pretrain, On-predict,
Parameters update, Model saving, Integration callbacks
Reference for ultralytics/utils/callbacks/base.py
!!! note
Full source code for this file is available at [https://github.com/ultralytics/ultralytics/blob/main/ultralytics/utils/callbacks/base.py](https://github.com/ultralytics/ultralytics/blob/main/ultralytics/utils/callbacks/base.py). Help us fix any issues you see by submitting a [Pull Request](https://docs.ultralytics.com/help/contributing/) ๐ ๏ธ. Thank you ๐!