Export to archive
Overview
Packs a dataset’s images, and their annotations, into zip archives laid out in the format you pick. After the run, Download on the node saves the archive to your computer.
A large dataset is split into parts of about 2 GiB each. Every part is a regular zip that opens on its own. To export into a bucket instead, use Export to cloud storage.
Prerequisites
How it works
Exports the images, and their annotations unless With annotations is off, laid out as Annotation format.
FAQ
What does each annotation format write?
YOLO writes images/train, labels/train and a data.yaml class list. COCO writes images/train and an annotations/train.json. Supervisely writes a project-level meta.json plus <dataset>/img and <dataset>/ann folders.
How do I use an export split into parts?
Extract every part into the same folder. Each part holds a share of the images. The files that describe the whole dataset, such as annotations/train.json, data.yaml or meta.json, are in the last part.
How do I export only the images?
Turn off With annotations. The node still writes the layout for the picked Annotation format, but skips every annotation file.
Why did the run fail?
The source dataset may have no images, or the worker may not have enough free disk for one 2 GiB part.
Inputs
Dataset whose images are exported. Key: DATASET.
Export annotations next to the images. Turn off to export only the image files. Key: WITH_ANNOTATIONS.
Format the annotations are written in. Visible when WITH_ANNOTATIONS is not False. Key: ANNOTATION_FORMAT.
Options:
- Supervisely (
supervisely) - COCO (
coco) - YOLO (
yolo)
Outputs
Asset holding the zip archives, one per 2 GiB part. Read by the download widget. Hidden from the flow editor. Key: ARCHIVE.
JSON config
Machine-readable node interface for automation and advanced usage.