JSON2YOLO icon indicating copy to clipboard operation
JSON2YOLO copied to clipboard

custom dataset

Open JavierClearImageAI opened this issue 4 years ago • 1 comments

Does it work for a custom coco2Json data-set? When I run it, it returns empty directories of images and labels. I am wondering whether it works only for the 81 to 91 classes of the standard coco data-set.

I am going to keep working with the other popular convert2Yolo repository for the moment, although this one also has some formatting deficiencies.

Thanks!

JavierClearImageAI avatar Nov 04 '20 12:11 JavierClearImageAI

@JavierClearImageAI yes, it definitely works with custom COCO-format datasets. Ensure your custom dataset's JSON follows the COCO format with 'images' and 'annotations' keys and use a root 'images' directory containing all images. The "labels" directory is initially empty and will only be populated after training commences and annotations are converted. Also, make sure to specify the correct dataset type in your data.yaml file and ensure all images have corresponding annotations in the JSON. Good luck with your dataset, and we're always here to assist with any issues!

glenn-jocher avatar Nov 10 '23 01:11 glenn-jocher