--- description: Explore comprehensive documentation for utilising Comet Callbacks in Ultralytics. Learn to optimise training, logging, and experiment workflows. keywords: Ultralytics, Comet Callbacks, Training optimisation, Logging, Experiment Workflows --- # Reference for `ultralytics/utils/callbacks/comet.py` !!! note Full source code for 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). --- ## ::: 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