Convert to YOLO
Last updated
Was this helpful?
Last updated
Was this helpful?
YOLO format is a popular, text-based format for different computer vision tasks, such as object detection, segmentation, and pose estimation.
For more information on how to import YOLO format data into Supervisely, see the guide.
. Transform images project in Supervisely (link to format) to YOLO v5 format and prepares downloadable .tar
archive.
. Transform datasets from the Supervisely format to the YOLOv8 segmentation format or pose estimation format.
Easily convert your data in one line of code using the Supervisely Python SDK.
sly.convert.to_yolo()
function automatically detects the input data type and converts it to Pascal VOC format. For example, you can pass a path to a project, sly.Project object or sly.Dataset object. To convert a Dataset, you need to provide the project meta information as shown in the example below.
This converter allows you to convert a project or dataset to YOLO format for detection, segmentation, and pose estimation tasks.
Project and dataset conversion works similarly and will convert all data in the same structure to YOLO format.
Convert a project to YOLO format:
Convert a specific dataset to YOLO format: