-
-
Notifications
You must be signed in to change notification settings - Fork 256
Open
Labels
bugSomething isn't workingSomething isn't workingquestionFurther information is requestedFurther information is requested
Description
Hi, when I tried to convert my custom coco dataset to yolo format, I got the below error:

My script is shown below:
from ultralytics.data.converter import convert_coco
convert_coco(labels_dir={my annotation path}', save_dir='{output path}/labels', use_segments=False, use_keypoints=False, cls91to80=False)
I checked the error and fixed it by adding one line:
os.makedirs((fn / f).parent, exist_ok=True)
I wonder if it is a minor bug in this tool or something only happened specifically for my case?
Thanks!
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingquestionFurther information is requestedFurther information is requested