Is it free to convert YOLO Keras TXT to YOLOv4 PyTorch TXT?
Yes! It is free to convert YOLO Keras TXT data into the YOLOv4 PyTorch TXT format on the Roboflow platform.
Convert annotation formats
In this guide, we show you how to convert data between the YOLO Keras and YOLOv4 Pytorch formats for free. You can use your converted data to train YOLOv4 PyTorch models and other models that support the YOLOv4 Pytorch format.
Yes! It is free to convert YOLO Keras TXT data into the YOLOv4 PyTorch TXT format on the Roboflow platform.
A format used with the Keras implementation of YOLOv3.
Below, learn the structure of YOLO Keras TXT.
000001.jpg 178,84,230,143,1 111,144,134,174,1
000007.jpg 280,127,337,208,1 8,125,86,235,1 115,139,180,230,1 375,152,410,219,1 412,148,474,233,1 336,148,387,223,1 247,124,294,203,1 197,177,231,227,1 174,156,201,219,1 477,143,499,223,1
000012.jpg 75,20,174,128,1 284,131,303,155,1 381,189,407,215,1 242,32,258,55,1
000013.jpg 0,100,176,331,1
000014.jpg 437,174,487,233,1 326,184,379,248,1 228,249,310,352,1 372,120,402,169,1 326,137,364,185,1
000016.jpg 129,28,239,140,1
000017.jpg 150,102,184,144,1
000018.jpg 128,38,149,61,1
000019.jpg 254,70,283,107,0 107,71,137,101,0 181,66,215,111,0 145,66,174,104,0 303,61,349,121,0
000020.jpg 95,32,123,65,1 149,93,176,120,1head
helmet
personA format used with the PyTorch port of YOLO v4.
Below, learn the structure of YOLOv4 PyTorch TXT.
000049.jpg 128,168,233,275,1 158,475,290,601,1
000080.jpg 45,2,130,87,1 324,29,396,110,1 269,56,325,120,1 120,12,178,82,1 31,36,60,72,1 315,15,373,66,1 454,1,489,113,1
000038.jpg 43,46,100,108,1 244,51,304,112,1
000025.jpg 64,19,180,140,1 204,75,286,177,1 340,0,468,138,1
000087.jpg 228,41,292,108,1
000026.jpg 95,0,167,63,1 167,45,231,123,1
000068.jpg 179,4,243,88,1 40,85,76,122,1 69,64,115,108,1 2,110,29,144,1
000018.jpg 128,38,149,61,1
000037.jpg 47,22,202,199,1
000020.jpg 95,32,123,65,1 149,93,176,120,1head
helmet
personRoboflow is a 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 free workspace on the Public plan.
Once your account has been created, click Create New Project.

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

Next, click "Generate New Version" to generate a new version of your dataset:

You can then apply any preprocessing or augmentation steps to your dataset:

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. Choose YOLOv4 PyTorch TXT when asked in what format you want to export your data. You will see a dropdown with various options like this:

Congratulations, you have successfully converted your dataset from YOLO Keras TXT format to YOLOv4 PyTorch TXT format!
Yes! It is free to convert YOLO Keras TXT data into the YOLOv4 PyTorch TXT format on the Roboflow platform.
If you have between a few and a few thousand images, converting data between these formats will be quick. But, the time it takes to convert between data formats increases with the more images you have.
Our team will help you start solving business problems on the first call.
Over 16,000 organizations build with Roboflow.