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.

59 lines
1.4 KiB

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

---
description: Uncover a detailed guide to Ultralytics data utilities. Learn functions from img2label_paths to autosplit, all boosting your YOLO models efficiency.
keywords: Ultralytics, data utils, YOLO, img2label_paths, exif_size, polygon2mask, polygons2masks_overlap, check_cls_dataset, delete_dsstore, autosplit
---
# Reference for `ultralytics/data/utils.py`
!!! note
Full source code for this file is available at [https://github.com/ultralytics/ultralytics/blob/main/ultralytics/data/utils.py](https://github.com/ultralytics/ultralytics/blob/main/ultralytics/data/utils.py). Help us fix any issues you see by submitting a [Pull Request](https://docs.ultralytics.com/help/contributing/) 🛠️. Thank you 🙏!
---
## ::: ultralytics.data.utils.HUBDatasetStats
<br><br>
---
## ::: ultralytics.data.utils.img2label_paths
<br><br>
---
## ::: ultralytics.data.utils.get_hash
<br><br>
---
## ::: ultralytics.data.utils.exif_size
<br><br>
---
## ::: ultralytics.data.utils.verify_image_label
<br><br>
---
## ::: ultralytics.data.utils.polygon2mask
<br><br>
---
## ::: ultralytics.data.utils.polygons2masks
<br><br>
---
## ::: ultralytics.data.utils.polygons2masks_overlap
<br><br>
---
## ::: ultralytics.data.utils.check_det_dataset
<br><br>
---
## ::: ultralytics.data.utils.check_cls_dataset
<br><br>
---
## ::: ultralytics.data.utils.compress_one_image
<br><br>
---
## ::: ultralytics.data.utils.autosplit
<br><br>