How To Convert YOLO Darknet TXT to meituan/yolov6

If your labeling tool exported annotations in the

YOLO Darknet

format, but you’re trying to use a

model that needs


annotations, we’ve got you covered. You can convert those in 3 clicks with Roboflow.

Step 1: Create a Free Roboflow Public Workspace

Roboflow is the universal conversion tool for computer vision annotation formats. The Public plan is the best way for those exploring personal projects, class assignments, and other experiments to try Roboflow. To convert your dataset, start by creating a workspace on the Public plan.

Step 2: Upload your data into Roboflow

Once your account has been created, click Create Dataset.

Upload your data to Roboflow by dragging and dropping your
YOLO Darknet TXT
images and annotations into the upload space.
Upload Data To Roboflow

You might be looking to use YOLOv4 on your own dataset.

Step 3: Generate Dataset Version

Next, you can choose Preprocessing and Augmentation options for your dataset version and then click Generate.

Step 4: Export Dataset Version

After generating, you will be prompted to Export your dataset. You can choose to receive your dataset as a .zip file or a curl download link. You can also choose which format you would like to export. Choose



Congratulations, you have successfully converted your dataset from

YOLO Darknet TXT

format to



Next Steps

Ready to use your new



Now you probably want to use your new annotations with our How to train MT-YOLOv6 tutorial to get a model working with your own dataset.

Here are some compatible models: