---
title: utils.callbacks.mlflow API Reference
description: Learn how to set up and customize MLflow logging for Ultralytics YOLO. Log metrics, parameters, and model artifacts easily.
keywords: MLflow, Ultralytics YOLO, logging, metrics, parameters, model artifacts, setup, tracking, customization
---

# Reference for `ultralytics/utils/callbacks/mlflow.py`

!!! success "Improvements"

    This page is sourced from [https://github.com/ultralytics/ultralytics/blob/main/ultralytics/utils/callbacks/mlflow.py](https://github.com/ultralytics/ultralytics/blob/main/ultralytics/utils/callbacks/mlflow.py). Have an improvement or example to add? Open a [Pull Request](https://docs.ultralytics.com/help/contributing) — thank you! 🙏

<br>

## ::: ultralytics.utils.callbacks.mlflow.sanitize_dict

<br><br><hr><br>

## ::: ultralytics.utils.callbacks.mlflow.on_pretrain_routine_end

<br><br><hr><br>

## ::: ultralytics.utils.callbacks.mlflow._log_metrics

<br><br><hr><br>

## ::: ultralytics.utils.callbacks.mlflow.on_train_epoch_end

<br><br><hr><br>

## ::: ultralytics.utils.callbacks.mlflow.on_fit_epoch_end

<br><br><hr><br>

## ::: ultralytics.utils.callbacks.mlflow.on_train_end

<br><br>
