Reference for ultralytics/utils/callbacks/clearml.py
Note
This file is available at https://github.com/ultralytics/ultralytics/blob/main/ultralytics/utils/callbacks/clearml.py. If you spot a problem please help fix it by contributing a Pull Request 🛠️. Thank you 🙏!
ultralytics.utils.callbacks.clearml._log_debug_samples
Log files (images) as debug samples in the ClearML task.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
files
|
list
|
A list of file paths in PosixPath format. |
required |
title
|
str
|
A title that groups together images with the same values. |
'Debug Samples'
|
Source code in ultralytics/utils/callbacks/clearml.py
ultralytics.utils.callbacks.clearml._log_plot
Log an image as a plot in the plot section of ClearML.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
title
|
str
|
The title of the plot. |
required |
plot_path
|
str
|
The path to the saved image file. |
required |
Source code in ultralytics/utils/callbacks/clearml.py
ultralytics.utils.callbacks.clearml.on_pretrain_routine_start
Runs at start of pretraining routine; initializes and connects/ logs task to ClearML.
Source code in ultralytics/utils/callbacks/clearml.py
ultralytics.utils.callbacks.clearml.on_train_epoch_end
Logs debug samples for the first epoch of YOLO training and report current training progress.
Source code in ultralytics/utils/callbacks/clearml.py
ultralytics.utils.callbacks.clearml.on_fit_epoch_end
Reports model information to logger at the end of an epoch.
Source code in ultralytics/utils/callbacks/clearml.py
ultralytics.utils.callbacks.clearml.on_val_end
Logs validation results including labels and predictions.
ultralytics.utils.callbacks.clearml.on_train_end
Logs final model and its name on training completion.