Export Data

Export data for use in model training.

You can export a dataset from the Roboflow platform using the web interface and the Python SDK.

To create a ZIP file of a dataset for export from the Python SDK, begin by retrieving a specific version from a project:

version = project.version(version_number)

Then download the dataset directly:

version.download(model_format="yolov5", location="./downloads")

The download method handles export creation automatically if needed, extracts the ZIP file to your specified location, and returns an object describing the dataset.

Here are the settings options available for dataset export:

Object Detection
Single-Label Classification
Multi-Label Classification
Instance Segmentation
Semantic Segmentation
Keypoint Detection

clip

folder

multiclass

coco-segmentation

coco-segmentation

coco

coco

clip

folder

clip

png-mask-semantic

yolov5pytorch

createml

clip

coco

darknet

createml

multiclass

darknet

tensorflow

multiclass

tfrecord

tensorflow

voc

tfrecord

yolokeras

voc

yolov5pytorch

yolokeras

yolov7pytorch

yolov4pytorch

mt-yolov6

yolov4scaled

retinanet

yolov5-obb

benchmarker

yolov5pytorch

yolov7pytorch

mt-yolov6

retinanet

benchmarker

Last updated

Was this helpful?