conversion to yolov5
laviadin opened this issue · comments
Is this code good for converting coco json to yolov5 format?
@laviadin yes this repo can convert COCO JSON to YOLOv5 format!
how is it done?
@laviadin you just specify your directory containing your JSONs here and run:
JSON2YOLO/general_json2yolo.py
Lines 291 to 296 in 1e910b5
It is giving me error as:
IndexError: list index out of range
@laviadin It seems that the error might be occurring due to an issue with the JSON file's contents or format. Ensure that the JSON files adhere to the COCO format, and verify that the required fields are present in each JSON file. Also, please make sure to use the latest version of the repository. If the issue persists, feel free to provide more details, and we will be happy to assist further.