MIO-TCD Dataset conversion to YOLO format and Switching class labels
python format_mio-tcd_yolo.py
python switch-yolo-labels.py
The script will ask you for the path to the folder that holds both the images and .txt yolo format (these are expected to exist in the same folder). It will also ask for the path to the class names. This file is usally named something like "classes.txt" or "obj.names"
python train-test-valid-split.py
Splits the dataset into train, valid and test splits with 0.7, 0.2 and 0.1 ratios respectively.