This directory contains software developed by Ultralytics LLC, and is freely available for redistribution under the GPL-3.0 license. For more information please visit https://www.ultralytics.com.
The https://github.com/ultralytics/COCO2YOLO repo contains code to convert JSON datasets into YOLO (darknet) format. The code works on Linux, MacOS and Windows.
Python 3.7 or later with the following pip3 install -U -r requirements.txt
packages:
numpy
tqdm
At the bottom of the run file, change the source into the JSON source you are using. Paste the JSON file name as the file name. Then just run the script:
python3 run.py
Issues should be raised directly in the repository. For additional questions or comments please email Glenn Jocher at [email protected] or visit us at https://contact.ultralytics.com.