---
description: Efficiently handle data in YOLO with Ultralytics. Utilize HUBDatasetStats and customize dataset with these data utility functions.
---
# HUBDatasetStats
---
:::ultralytics.yolo.data.utils.HUBDatasetStats
# img2label_paths
---
:::ultralytics.yolo.data.utils.img2label_paths
# get_hash
---
:::ultralytics.yolo.data.utils.get_hash
# exif_size
---
:::ultralytics.yolo.data.utils.exif_size
# verify_image_label
---
:::ultralytics.yolo.data.utils.verify_image_label
# polygon2mask
---
:::ultralytics.yolo.data.utils.polygon2mask
# polygons2masks
---
:::ultralytics.yolo.data.utils.polygons2masks
# polygons2masks_overlap
---
:::ultralytics.yolo.data.utils.polygons2masks_overlap
# check_det_dataset
---
:::ultralytics.yolo.data.utils.check_det_dataset
# check_cls_dataset
---
:::ultralytics.yolo.data.utils.check_cls_dataset
# compress_one_image
---
:::ultralytics.yolo.data.utils.compress_one_image
# delete_dsstore
---
:::ultralytics.yolo.data.utils.delete_dsstore
# zip_directory
---
:::ultralytics.yolo.data.utils.zip_directory