You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

3.0 KiB

description keywords
Explore the comprehensive reference for ultralytics.utils in the Ultralytics library. Enhance your ML workflow with these utility functions. Ultralytics, utils, TQDM, Python, ML, Machine Learning utilities, YOLO, threading, logging, yaml, settings

Reference for ultralytics/utils/__init__.py

!!! Note

This file is available at [https://github.com/ultralytics/ultralytics/blob/main/ultralytics/utils/\_\_init\_\_.py](https://github.com/ultralytics/ultralytics/blob/main/ultralytics/utils/__init__.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/__init__.py) 🛠. Thank you 🙏!

::: ultralytics.utils.TQDM





::: ultralytics.utils.SimpleClass





::: ultralytics.utils.IterableSimpleNamespace





::: ultralytics.utils.ThreadingLocked





::: ultralytics.utils.TryExcept





::: ultralytics.utils.Retry





::: ultralytics.utils.SettingsManager





::: ultralytics.utils.plt_settings





::: ultralytics.utils.set_logging





::: ultralytics.utils.emojis





::: ultralytics.utils.yaml_save





::: ultralytics.utils.yaml_load





::: ultralytics.utils.yaml_print





::: ultralytics.utils.read_device_model





::: ultralytics.utils.is_ubuntu





::: ultralytics.utils.is_colab





::: ultralytics.utils.is_kaggle





::: ultralytics.utils.is_jupyter





::: ultralytics.utils.is_docker





::: ultralytics.utils.is_raspberrypi





::: ultralytics.utils.is_jetson





::: ultralytics.utils.is_online





::: ultralytics.utils.is_pip_package





::: ultralytics.utils.is_dir_writeable





::: ultralytics.utils.is_pytest_running





::: ultralytics.utils.is_github_action_running





::: ultralytics.utils.get_git_dir





::: ultralytics.utils.is_git_dir





::: ultralytics.utils.get_git_origin_url





::: ultralytics.utils.get_git_branch





::: ultralytics.utils.get_default_args





::: ultralytics.utils.get_ubuntu_version





::: ultralytics.utils.get_user_config_dir





::: ultralytics.utils.colorstr





::: ultralytics.utils.remove_colorstr





::: ultralytics.utils.threaded





::: ultralytics.utils.set_sentry





::: ultralytics.utils.deprecation_warn





::: ultralytics.utils.clean_url





::: ultralytics.utils.url2file





::: ultralytics.utils.crop_and_pad