---
description: Explore Ultralytics cfg functions like cfg2dict, handle_deprecation, merge_equal_args & more to handle YOLO settings and configurations efficiently.
keywords: Ultralytics, YOLO, Configuration, cfg2dict, handle_deprecation, merge_equals_args, handle_yolo_settings, copy_default_cfg, Image Detection
---
# Reference for `ultralytics/cfg.py`
!!! note
Full source code for this file is available at [https://github.com/ultralytics/ultralytics/blob/main/ultralytics/cfg.py](https://github.com/ultralytics/ultralytics/blob/main/ultralytics/cfg.py).
---
## ::: ultralytics.cfg.cfg2dict
---
## ::: ultralytics.cfg.get_cfg
---
## ::: ultralytics.cfg._handle_deprecation
---
## ::: ultralytics.cfg.check_dict_alignment
---
## ::: ultralytics.cfg.merge_equals_args
---
## ::: ultralytics.cfg.handle_yolo_hub
---
## ::: ultralytics.cfg.handle_yolo_settings
---
## ::: ultralytics.cfg.parse_key_value_pair
---
## ::: ultralytics.cfg.smart_value
---
## ::: ultralytics.cfg.entrypoint
---
## ::: ultralytics.cfg.copy_default_cfg