Steps to reproduce:
dataset = Dataset.import_from("/path/to/dataset", 'yolo')
dataset.transform('detection_split', [('train', 0.5),('val', 0.5)])
dataset.export('/output/path', 'yolo')
Warning:
WARNING:root:Skipping subset export 'val'. If specified, the only valid names are 'train', 'valid'
Which wont save the val data in the dataset.
Replacing "valid" with "val" in datumaro/datumaro/plugins/yolo_format/format.py solved this issue, but not sure if it raises other conflicts