--- description: Explore the integration of Comet callbacks in Ultralytics YOLO, enabling advanced logging and monitoring for your machine learning experiments. keywords: Ultralytics, YOLO, Comet, callbacks, logging, machine learning, monitoring, integration --- # Reference for `ultralytics/utils/callbacks/comet.py` !!! note This file is available at [https://github.com/ultralytics/ultralytics/blob/main/ultralytics/utils/callbacks/comet.py](https://github.com/ultralytics/ultralytics/blob/main/ultralytics/utils/callbacks/comet.py). If you spot a problem please help fix it by [contributing](https://docs.ultralytics.com/help/contributing/) a [Pull Request](https://github.com/ultralytics/ultralytics/edit/main/ultralytics/utils/callbacks/comet.py) 🛠️. Thank you 🙏!
## ::: ultralytics.utils.callbacks.comet._get_comet_mode



## ::: ultralytics.utils.callbacks.comet._get_comet_model_name



## ::: ultralytics.utils.callbacks.comet._get_eval_batch_logging_interval



## ::: ultralytics.utils.callbacks.comet._get_max_image_predictions_to_log



## ::: ultralytics.utils.callbacks.comet._scale_confidence_score



## ::: ultralytics.utils.callbacks.comet._should_log_confusion_matrix



## ::: ultralytics.utils.callbacks.comet._should_log_image_predictions



## ::: ultralytics.utils.callbacks.comet._get_experiment_type



## ::: ultralytics.utils.callbacks.comet._create_experiment



## ::: ultralytics.utils.callbacks.comet._fetch_trainer_metadata



## ::: ultralytics.utils.callbacks.comet._scale_bounding_box_to_original_image_shape



## ::: ultralytics.utils.callbacks.comet._format_ground_truth_annotations_for_detection



## ::: ultralytics.utils.callbacks.comet._format_prediction_annotations_for_detection



## ::: ultralytics.utils.callbacks.comet._fetch_annotations



## ::: ultralytics.utils.callbacks.comet._create_prediction_metadata_map



## ::: ultralytics.utils.callbacks.comet._log_confusion_matrix



## ::: ultralytics.utils.callbacks.comet._log_images



## ::: ultralytics.utils.callbacks.comet._log_image_predictions



## ::: ultralytics.utils.callbacks.comet._log_plots



## ::: ultralytics.utils.callbacks.comet._log_model



## ::: ultralytics.utils.callbacks.comet.on_pretrain_routine_start



## ::: ultralytics.utils.callbacks.comet.on_train_epoch_end



## ::: ultralytics.utils.callbacks.comet.on_fit_epoch_end



## ::: ultralytics.utils.callbacks.comet.on_train_end