File size: 1,852 Bytes
f6228f9
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
---

description: Explore in-depth reference for utility functions in Ultralytics data module. Learn about image verification, dataset handling, and more.
keywords: Ultralytics, dataset utils, data handling, image verification, Python, data module
---


# Reference for `ultralytics/data/utils.py`

!!! note

    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). 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/data/utils.py) 🛠️. Thank you 🙏!


<br>

## ::: ultralytics.data.utils.HUBDatasetStats

<br><br><hr><br>

## ::: ultralytics.data.utils.img2label_paths



<br><br><hr><br>



## ::: ultralytics.data.utils.get_hash

<br><br><hr><br>

## ::: ultralytics.data.utils.exif_size



<br><br><hr><br>



## ::: ultralytics.data.utils.verify_image

<br><br><hr><br>

## ::: ultralytics.data.utils.verify_image_label

<br><br><hr><br>

## ::: ultralytics.data.utils.polygon2mask

<br><br><hr><br>

## ::: ultralytics.data.utils.polygons2masks

<br><br><hr><br>

## ::: ultralytics.data.utils.polygons2masks_overlap



<br><br><hr><br>



## ::: ultralytics.data.utils.find_dataset_yaml



<br><br><hr><br>



## ::: ultralytics.data.utils.check_det_dataset



<br><br><hr><br>



## ::: ultralytics.data.utils.check_cls_dataset



<br><br><hr><br>



## ::: ultralytics.data.utils.compress_one_image



<br><br><hr><br>



## ::: ultralytics.data.utils.autosplit



<br><br><hr><br>



## ::: ultralytics.data.utils.load_dataset_cache_file

<br><br><hr><br>

## ::: ultralytics.data.utils.save_dataset_cache_file



<br><br>