If your labeling tool exported annotations in theCOCO
format, but you’re trying to use a
model that needsTFRecord
annotations, we’ve got you covered. You can convert data between these formats for free in 3 clicks with Roboflow.
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 free workspace on the Public plan.
Once your account has been created, click Create New Project.
To learn how to create COCO JSON yourself from scratch, see our CVAT (object detection annotation tool) tutorial.
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
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
Want to dive deeper into converting annotation formats with Roboflow? In the tutorial below, we explore how to convert your data in the Roboflow dashboard. We also discuss rejecting annotations
and train-test-validation splits.
Ready to use your new
If you're looking for more info, we have a more detailed blog post about creating Object Detection TFRecord files.
Here are some compatible models:
MobileNet SSD v2
This architecture provides good realtime results on limited compute. It's designed to run in realtime (30 frames per second) even on mobile devices.
One of the most accurate object detection algorithms but requires a lot of power at inference time. A good choice if you can do processing asynchronously on a server.
Yes! It is free to convert
data into the
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.