COCO JSON
COCO is a common JSON format used for machine learning because the dataset it was introduced with has become a common benchmark.
Supported Models
Below, see model architectures that require data in the COCO JSON format when training a new model.
- YOLOv8 Pose Estimation (opens in a new tab)Keypoint Detection
YOLOv8 Pose Estimation predicts 17-keypoint human skeletons in real time using the YOLOv8 architecture, deployable via Roboflow Inference on custom datasets.
- DETR (opens in a new tab)Object Detection
DETR is Meta's end-to-end transformer-based object detector that eliminates anchors and NMS, achieving 42.0% AP on COCO using set prediction with attention.
- YOLOS (opens in a new tab)Object Detection
YOLOS applies a Vision Transformer to object detection as a flat sequence without convolutions or anchors, demonstrating ViT transferability to detection tasks.
- Mask R-CNN (opens in a new tab)Instance Segmentation
Mask R-CNN extends Faster R-CNN with a mask prediction branch and RoIAlign, enabling precise instance segmentation alongside object detection in a single model.
- EfficientDet (opens in a new tab)Object Detection
EfficientDet is Google's scalable object detection model using compound scaling and BiFPN, achieving 55.1% AP on COCO across a family of model sizes.
- Detectron2 (opens in a new tab)Object Detection
Detectron2 is Meta's PyTorch-based computer vision framework supporting object detection, instance segmentation, keypoint detection, and panoptic segmentation.
Convert Data from COCO JSON
- COCO Run-Length Encoding (RLE)
- CreateML JSON
- Florence-2
- Google Cloud AutoML Vision CSV
- meituan/yolov6
- Multiclass Classification CSV
- OpenAI CLIP Classification
- OpenAI GPT-4o Object Detection JSONL
- PaliGemma JSONL
- Pascal VOC XML
- RetinaNet Keras CSV
- Sagemaker GroundTruth Manifest
- Scaled-YOLOv4 TXT
- Segment Anything 2
- Tensorflow Object Detection CSV
- Tensorflow TFRecord
- YOLO Darknet TXT
- YOLO Keras TXT
- YOLOv10 PyTorch TXT
- YOLOv11 PyTorch TXT
- YOLOv12 PyTorch TXT
- YOLOv4 PyTorch TXT
- YOLOv5 Oriented Bounding Boxes
- YOLOv5 PyTorch TXT
- YOLOv7 PyTorch TXT
- YOLOv8 Oriented Bounding Boxes
- YOLOv8 PyTorch TXT
- YOLOv9 PyTorch TXT
Convert Data to COCO JSON
- Cogniac
- CreateML JSON
- Google Cloud AutoML Vision CSV
- IBM Cloud Annotations JSON
- Kaggle Wheat CSV
- LabelBox JSON
- LabelBox Video JSON
- LabelMe JSON
- Marmot XML
- Multiclass Classification CSV
- OIDv4 TXT
- OpenImages CSV
- Pascal VOC XML
- RetinaNet Keras CSV
- Sagemaker GroundTruth Manifest
- Scale AI JSON
- SuperAnnotate JSON
- Supervisely JSON
- Tensorflow Object Detection CSV
- Udacity TXT
- Unity Perception JSON
- VGG Image Annotator CSV
- VGG Image Annotator JSON
- VoTT CSV
- VoTT JSON
- YOLO
- YOLO Darknet TXT
- YOLO Keras TXT
- YOLOv8 PyTorch TXT