|
|
--- |
|
|
description: Learn about our routine checks that safeguard Ultralytics operations including ASCII, font, YOLO file, YAML, Python and torchvision checks. |
|
|
keywords: Ultralytics, utility checks, ASCII, check_version, pip_update, check_python, check_torchvision, check_yaml, YOLO filename |
|
|
--- |
|
|
|
|
|
# Reference for `ultralytics/utils/checks.py` |
|
|
|
|
|
!!! note |
|
|
|
|
|
This file is available at [https://github.com/ultralytics/ultralytics/blob/main/ultralytics/utils/checks.py](https://github.com/ultralytics/ultralytics/blob/main/ultralytics/utils/checks.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/checks.py) 🛠️. Thank you 🙏! |
|
|
|
|
|
--- |
|
|
## ::: ultralytics.utils.checks.parse_requirements |
|
|
<br><br> |
|
|
|
|
|
--- |
|
|
## ::: ultralytics.utils.checks.parse_version |
|
|
<br><br> |
|
|
|
|
|
--- |
|
|
## ::: ultralytics.utils.checks.is_ascii |
|
|
<br><br> |
|
|
|
|
|
--- |
|
|
## ::: ultralytics.utils.checks.check_imgsz |
|
|
<br><br> |
|
|
|
|
|
--- |
|
|
## ::: ultralytics.utils.checks.check_version |
|
|
<br><br> |
|
|
|
|
|
--- |
|
|
## ::: ultralytics.utils.checks.check_latest_pypi_version |
|
|
<br><br> |
|
|
|
|
|
--- |
|
|
## ::: ultralytics.utils.checks.check_pip_update_available |
|
|
<br><br> |
|
|
|
|
|
--- |
|
|
## ::: ultralytics.utils.checks.check_font |
|
|
<br><br> |
|
|
|
|
|
--- |
|
|
## ::: ultralytics.utils.checks.check_python |
|
|
<br><br> |
|
|
|
|
|
--- |
|
|
## ::: ultralytics.utils.checks.check_requirements |
|
|
<br><br> |
|
|
|
|
|
--- |
|
|
## ::: ultralytics.utils.checks.check_torchvision |
|
|
<br><br> |
|
|
|
|
|
--- |
|
|
## ::: ultralytics.utils.checks.check_suffix |
|
|
<br><br> |
|
|
|
|
|
--- |
|
|
## ::: ultralytics.utils.checks.check_yolov5u_filename |
|
|
<br><br> |
|
|
|
|
|
--- |
|
|
## ::: ultralytics.utils.checks.check_model_file_from_stem |
|
|
<br><br> |
|
|
|
|
|
--- |
|
|
## ::: ultralytics.utils.checks.check_file |
|
|
<br><br> |
|
|
|
|
|
--- |
|
|
## ::: ultralytics.utils.checks.check_yaml |
|
|
<br><br> |
|
|
|
|
|
--- |
|
|
## ::: ultralytics.utils.checks.check_is_path_safe |
|
|
<br><br> |
|
|
|
|
|
--- |
|
|
## ::: ultralytics.utils.checks.check_imshow |
|
|
<br><br> |
|
|
|
|
|
--- |
|
|
## ::: ultralytics.utils.checks.check_yolo |
|
|
<br><br> |
|
|
|
|
|
--- |
|
|
## ::: ultralytics.utils.checks.collect_system_info |
|
|
<br><br> |
|
|
|
|
|
--- |
|
|
## ::: ultralytics.utils.checks.check_amp |
|
|
<br><br> |
|
|
|
|
|
--- |
|
|
## ::: ultralytics.utils.checks.git_describe |
|
|
<br><br> |
|
|
|
|
|
--- |
|
|
## ::: ultralytics.utils.checks.print_args |
|
|
<br><br> |
|
|
|
|
|
--- |
|
|
## ::: ultralytics.utils.checks.cuda_device_count |
|
|
<br><br> |
|
|
|
|
|
--- |
|
|
## ::: ultralytics.utils.checks.cuda_is_available |
|
|
<br><br>
|
|
|
|