Export to cloud storage
Overview
Exports a dataset’s images, and their annotations, to a folder in a storage bucket connected to the workspace, laid out in the format you pick.
The bucket can be on AWS S3 or S3-compatible storage such as MinIO, Ceph or RustFS, on Azure Blob Storage or on Google Cloud Storage. The export is the counterpart of Import from cloud storage: a folder written here can be read back by that node.
Prerequisites
How it works
Writes to the bucket folder from Bucket path through OvalBee, which holds the bucket’s credentials. A folder that does not exist yet is created.
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 export only the images?
Turn off With annotations. The node still writes the layout for the picked Annotation format, but skips every annotation file.
What happens when a file already exists at the destination?
Skip existing, the default, leaves an image alone once a same-sized file is already there and rewrites the annotation files, so a rerun only sends what changed. Overwrite replaces every file. Fail stops the run instead of writing into a folder that already holds anything.
Where do the bucket and its credentials come from?
Bucket path offers the buckets connected under Settings > Storage, and you can type a new folder name after the bucket. The node writes through OvalBee with the credentials stored on the bucket’s provider and holds none itself.
Why did the run fail?
The source dataset may have no images, the bucket may be Read only or the folder outside its Paths, the provider’s credentials may not allow writing to the bucket, the bucket may be over your plan’s bucket limit, or If files exist may be set to Fail while the destination folder already holds files.
Inputs
Dataset whose images are exported. Key: DATASET.
Bucket and folder to export to, for example s3://my-bucket/datasets/cars/. The bucket is one connected under Settings > Storage, and a folder that does not exist yet is created. Placeholder: exports/cars/. Key: PATH.
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)
What to do when a file already exists at the destination. Key: IF_EXISTS.
Options:
- Overwrite (
overwrite) - Skip existing (
skip) - Fail (
fail)
JSON config
Machine-readable node interface for automation and advanced usage.