Export to cloud storage
Overview
Exports a dataset’s images, and their annotations, to a folder in an S3-compatible bucket, laid out in the format you pick.
Works with AWS S3 and with S3-compatible storage such as MinIO, Ceph or RustFS. 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
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.
What should the S3 secret contain?
For AWS, the region is enough and the endpoint can stay empty. For MinIO and other S3-compatible storage, set the endpoint and turn on Force path style. The endpoint never includes the bucket name: use https://s3.eu-central-1.amazonaws.com, not https://my-bucket.s3.eu-central-1.amazonaws.com. IAM role secrets aren’t supported yet.
Why did the run fail?
The source dataset may have no images, the secret may not have permission to write to the bucket, the bucket path may be malformed, or If files exist may be set to Fail while the destination folder already holds files.
Inputs
Dataset whose images are exported. Key: DATASET.
S3 secret with an access key pair and a region or endpoint. Works with AWS S3 and S3-compatible storage such as MinIO. Allowed credential types: s3. Key: S3_SECRET.
Bucket and folder to export to, for example s3://my-bucket/datasets/cars/. Placeholder: s3://my-bucket/path/to/export/. 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.