optical.converter.utils.find_splits

optical.converter.utils.find_splits(image_dir: Union[str, os.PathLike], annotation_dir: Union[str, os.PathLike], format: str)[source]

find the splits in the dataset, will ignore splits for which no annotation is found