This main.py can convert XML annotation into the Yolov5 required annotation. And it can split dataset into train, val and test sub datasets.
Datasets and results can be seen in the folder named "..dataset" and the results can be seen in the folder named "yolo_"