Back to Ultralytics

Dataset Management

docs/en/platform/data/datasets.md

8.4.12149.7 KB
Original Source

Datasets

Ultralytics Platform datasets provide a streamlined solution for managing your training data. After upload, the platform processes images, labels, and statistics automatically.

A dataset is ready to train once processing has completed and it has at least one image in the train split, at least one image in either the val or test split, and at least one labeled image. The dataset header shows a Ready badge when all three conditions are met, and a Not Ready badge otherwise — click the badge to see exactly which condition is missing.

Upload Dataset

Ultralytics Platform accepts multiple upload formats for flexibility.

!!! tip "Already have data elsewhere?"

If you already have datasets in [Roboflow](../integrations/roboflow.md), use [Integrations](../integrations/index.md) to import them directly — no manual export or re-upload needed. Data in [Google Cloud Storage](../integrations/google-cloud-storage.md), [Amazon S3](../integrations/amazon-s3.md), or [Azure Blob Storage](../integrations/azure-blob-storage.md) can be used in place through **Cloud storage**. Enterprise workspaces can use [On Premise](../integrations/on-premise.md) to index and train on local data without sending pixels to Platform.

Supported Formats

=== "Images"

| Format | Extensions      | Notes                    | Max Size |
| ------ | --------------- | ------------------------ | -------- |
| JPEG   | `.jpg`, `.jpeg` | Most common, recommended | 50 MB    |
| PNG    | `.png`          | Supports transparency    | 50 MB    |
| WebP   | `.webp`         | Modern, good compression | 50 MB    |
| BMP    | `.bmp`          | Uncompressed             | 50 MB    |
| TIFF   | `.tiff`, `.tif` | High quality             | 50 MB    |
| HEIC   | `.heic`         | iPhone photos            | 50 MB    |
| AVIF   | `.avif`         | Next-gen format          | 50 MB    |
| JP2    | `.jp2`          | JPEG 2000                | 50 MB    |
| DNG    | `.dng`          | Raw camera               | 50 MB    |
| MPO    | `.mpo`          | Multi-picture object     | 50 MB    |

=== "Videos"

During processing, Platform samples video frames at 1 FPS — up to 100 frames per video — and stores each frame as a WebP image named `<video>_frame_001.webp`. For longer videos, the sampling interval widens so the result stays within 100 frames. The container and codec must be decodable by Platform — see [Video Codec Support](#video-codec-support).

| Format | Extensions | Extraction            | Max Size |
| ------ | ---------- | --------------------- | -------- |
| MP4    | `.mp4`     | 1 FPS, max 100 frames | 1 GB     |
| WebM   | `.webm`    | 1 FPS, max 100 frames | 1 GB     |
| MOV    | `.mov`     | 1 FPS, max 100 frames | 1 GB     |
| MKV    | `.mkv`     | 1 FPS, max 100 frames | 1 GB     |
| M4V    | `.m4v`     | 1 FPS, max 100 frames | 1 GB     |

!!! info "Video Frame Extraction"

    A 60-second video produces up to 60 WebP frames. For videos longer than 100 seconds, frames are sampled at a wider interval so the result stays within 100 frames.

AVI is not accepted and is excluded from the upload picker. Re-wrap AVI footage as MP4 before uploading.

=== "Archives"

Archives are extracted and processed automatically. Archives can also be nested inside a folder structure, and a single archive can mix images, videos, and labels.

| Format | Extensions              | Notes             | Free  | Pro   | Enterprise |
| ------ | ----------------------- | ----------------- | ----- | ----- | ---------- |
| ZIP    | `.zip`                  | Most common       | 10 GB | 20 GB | 50 GB      |
| TAR    | `.tar` `.tar.gz` `.tgz` | Compressed or raw | 10 GB | 20 GB | 50 GB      |
| NDJSON | `.ndjson`               | Dataset export    | 10 GB | 20 GB | 50 GB      |

Password-protected (encrypted) archives are rejected — re-create the archive without a password.

Video Codec Support

The file extension alone isn't enough: a video can still fail if its codec cannot be decoded during processing.

!!! tip "Use H.264 MP4"

H.264 video in an MP4 container has the broadest decoder support and is the safest choice. If a video won't process, re-encode it with [FFmpeg](https://ffmpeg.org/):

```bash
ffmpeg -i input.mov \
  -c:v libx264 -pix_fmt yuv420p \
  -c:a aac -movflags +faststart \
  output.mp4
```

Preparing Your Dataset

The Platform supports Ultralytics YOLO, COCO, Ultralytics NDJSON, and raw (unannotated) uploads:

=== "YOLO Format"

Use the standard YOLO directory structure with a `data.yaml` file:

```text
my-dataset/
├── images/
│   ├── train/
│   │   ├── img001.jpg
│   │   └── img002.jpg
│   └── val/
│       ├── img003.jpg
│       └── img004.jpg
├── labels/
│   ├── train/
│   │   ├── img001.txt
│   │   └── img002.txt
│   └── val/
│       ├── img003.txt
│       └── img004.txt
└── data.yaml
```

The YAML file defines your dataset configuration:

```yaml
# data.yaml
path: .
train: images/train
val: images/val

names:
    0: person
    1: car
    2: dog
```

=== "COCO Format"

Use JSON annotation files with the standard [COCO structure](https://cocodataset.org/#format-data):

```text
my-coco-dataset/
├── train/
│   ├── _annotations.coco.json
│   ├── img001.jpg
│   └── img002.jpg
└── val/
    ├── _annotations.coco.json
    ├── img003.jpg
    └── img004.jpg
```

The JSON file contains `images`, `annotations`, and `categories` arrays:

```json
{
    "images": [{ "id": 1, "file_name": "img001.jpg", "width": 640, "height": 480 }],
    "annotations": [{ "id": 1, "image_id": 1, "category_id": 0, "bbox": [100, 50, 200, 300] }],
    "categories": [{ "id": 0, "name": "person" }]
}
```

COCO annotations are automatically converted during upload. Detection (`bbox`), segmentation (`segmentation` polygons), and pose (`keypoints`) tasks are supported. Category IDs are remapped to a dense 0-indexed sequence across all annotation files. For converting between formats, see [format conversion tools](../../datasets/detect/index.md#port-or-convert-label-formats).

=== "Classification Layouts"

Classification uploads are auto-detected from common folder layouts:

```text
split/class/image.jpg
class/split/image.jpg
class/image.jpg
```

Example:

```text
my-classify-dataset/
├── train/
│   ├── cats/
│   └── dogs/
└── val/
    ├── cats/
    └── dogs/
```

=== "NDJSON"

Ultralytics NDJSON exports can be uploaded directly back into Platform. This is useful for moving datasets between workspaces while preserving metadata, classes, splits, and annotations.

!!! tip "Raw Uploads"

**Raw**: Upload unannotated images (no labels). Useful when you plan to annotate directly on the platform using the [annotation editor](annotation.md).

!!! tip "Flat Directory Structure"

You can also upload images without explicit split folders. Platform respects the active split target during upload. If no split target is set and the upload leaves the `val` split empty, non-classify datasets automatically move roughly 20% of the `train` images to `val` so the dataset is immediately trainable. Classification datasets are skipped because they use directory-based splits. You can always reassign images later with [bulk move-to-split](#bulk-move-to-split) or [split redistribution](#split-redistribution).

!!! tip "Format Auto-Detection"

The format is detected automatically: datasets with a `data.yaml` containing `names`, `train`, or `val` keys are treated as YOLO. Datasets with COCO JSON files (containing `images`, `annotations`, and `categories` arrays) are treated as COCO. `.ndjson` exports are imported as Ultralytics NDJSON. Datasets with only images and no annotations are treated as raw.

When an archive contains several YAML files, Platform prefers standard names (`data.yaml`, `data.yml`, `dataset.yaml`, `dataset.yml`) closest to the archive root. Keep one clearly named YAML per archive to avoid ambiguity.

!!! warning "Pascal VOC XML Is Not Imported"

Label files in Pascal VOC XML format are detected but their annotations are **not** imported — the images upload as unannotated. Platform warns you before the upload starts ("Pascal VOC labels detected"). Convert VOC XML to YOLO or COCO first; see [format conversion tools](../../datasets/detect/index.md#port-or-convert-label-formats).

If labels reference class IDs but no class names are supplied, Platform generates dense placeholder names (class0, class1, …) that you can rename later in the Classes tab.

For task-specific format details, see supported tasks and the Datasets Overview.

Upload Process

To create a dataset:

  1. Navigate to Annotate in the sidebar
  2. Click New Dataset
  3. Pick a data source tab (see Data Sources below)
  4. Add a name — the URL slug is derived automatically and can be edited — plus an optional description
  5. Select the task type (see supported tasks), an optional license (see available licenses), and visibility (public or private)
  6. Click Create & Upload for local files, Create & Import for a URL or connected source, or Create Dataset to start empty

<!-- screenshot --> To add files to an existing dataset, open its dataset page and either drag the files onto the gallery or click the upload icon in the page header. The upload icon opens your browser's native file picker directly because the dataset task is already defined.

Data Sources

The New Dataset dialog offers four sources:

SourceDescription
UploadDrag files in or browse for them — images, videos, archives, or NDJSON
URLPaste a direct link to a .zip, .tar, .tar.gz, .tgz, or .ndjson file; Platform downloads and ingests it server-side
CloudUse data in place from Google Cloud Storage, Amazon S3, or Azure Blob Storage (Pro and Enterprise)
On PremiseIndex and train on data that never leaves your own machines via On Premise workers (Enterprise)

!!! note "URL Import Limits"

A URL import is capped by both your plan's per-upload limit (10 GB Free / 20 GB Pro / 50 GB Enterprise) and your remaining storage quota, whichever is smaller. The link must be publicly reachable over HTTP or HTTPS and end in a supported extension.

Before the Upload Starts

Platform validates your files in the browser before uploading anything, so common problems surface immediately rather than after a long transfer. Archives are checked for corruption, emptiness, password protection, and YAML syntax errors, and oversized files are listed by name.

Two dialogs may then appear:

=== "Map Imported Classes"

When the archive declares class names and your dataset already has classes, the `Map imported classes` dialog lists one row per incoming class. For each one, choose an existing class to merge into, create a new class, or skip it. Exact name matches are preselected, and skipped classes and their annotations are not imported.

=== "Handle Conflicts"

When you upload an archive, multiple files, or anything into a dataset that already has images, Platform asks how to handle filename or content conflicts:

| Choice        | Behavior                                    |
| ------------- | ------------------------------------------- |
| **Skip**      | Keep the existing images, drop the incoming |
| **Keep Both** | Import the incoming alongside the existing  |
| **Replace**   | Overwrite the existing images               |

After upload, the platform processes your data automatically:

mermaid
graph LR
    A[Upload]:::start --> B[Validate]:::proc
    B --> C[Normalize]:::proc
    C --> D[Thumbnail]:::proc
    D --> E[Parse Labels]:::proc
    E --> F[Statistics]:::out

    classDef start fill:#4CAF50,color:#fff
    classDef proc fill:#2196F3,color:#fff
    classDef out fill:#9C27B0,color:#fff
  1. Validation: Format and size checks
  2. Normalization: Large images resized (max 4096px, min dimension 28px), grayscale expanded to RGB, transparency flattened onto white, and EXIF orientation applied
  3. Thumbnails: 256px WebP previews generated
  4. Label Parsing: YOLO, COCO, and NDJSON labels extracted
  5. Statistics: Class distributions and image dimensions computed

!!! info "Stored Image Encoding"

AVIF and WebP originals are stored byte-for-byte when no resize or color change is needed. Everything else is re-encoded — WebP sources stay WebP, and all other formats (JPEG, PNG, BMP, TIFF, HEIC, JP2, DNG, MPO) become JPEG at quality 92. Your original filename and source extension are retained as metadata.

<!-- screenshot --> ??? tip "Validate Before Upload"

You can validate your dataset locally before uploading:

```python
from ultralytics.data.utils import check_det_dataset

check_det_dataset("path/to/data.yaml")
```

!!! warning "Image Size Requirements"

Images must be at least 28px on their shortest side. Images smaller than this are rejected during processing. Images larger than 4096px on their longest side are automatically resized with aspect ratio preserved.

Browse Images

View your dataset images in multiple layouts.

Open the Clustering panel from the gallery toolbar to explore your dataset as an interactive 2D scatter plot.

ViewDescription
GridThumbnail grid with annotation overlays (default)
CompactSmaller thumbnails for quick scanning
TableList with thumbnail, filename, dimensions, size, split, classes, and label counts

<!-- screenshot -->

Sorting and Filtering

Images can be sorted and filtered for efficient browsing:

=== "Sort Options"

Each option toggles between ascending (↑) and descending (↓):

| Sort            | Description                |
| --------------- | -------------------------- |
| Created ↑/↓     | Upload order (default ↓)   |
| Name ↑/↓        | Filename alphabetical      |
| Height ↑/↓      | Image height in pixels     |
| Width ↑/↓       | Image width in pixels      |
| Size ↑/↓        | File size on disk          |
| Annotations ↑/↓ | Annotation count per image |

!!! note "Large Datasets"

    For datasets over 100,000 images, the name, width, height, and size sorts are hidden to keep the gallery responsive. Created and annotation-count sorts remain available.

=== "Filters"

| Filter           | Options                               |
| ---------------- | ------------------------------------- |
| **Split filter** | Train, Val, Test, or All              |
| **Annotations**  | All images, Annotated, or Unannotated |
| **Class filter** | Filter by class name                  |
| **Search**       | Filter images by filename or metadata |

!!! tip "Finding Unlabeled Images"

Use the `Annotations` filter set to `Unannotated` to quickly find images that still need annotation. This is especially useful for large datasets where you want to track labeling progress.

!!! tip "Searching Custom Metadata"

The search box sits at the right of the gallery toolbar and filters every view mode — grid, compact, and table. It matches the image filename (the file extension is optional) as well as custom metadata keys, scalar values, and array entries, so an image named `img_0042` carrying `{"ship_type": "yacht"}` is found by searching either `img_0042` or `yacht`.

Values nested inside sub-objects are not matched. Pasting a 24-character image ID looks up that exact image
directly, bypassing the text search.

Fullscreen Viewer

Click any image to open the fullscreen viewer with:

  • Navigation: Arrow keys or thumbnail previews to browse
  • Image information: Review Platform-generated properties, custom metadata, and embedded file metadata such as EXIF
  • Custom metadata: Owners and editors can add or replace a JSON object, including nested values up to 500,000 serialized characters and top-level keys up to 128 characters
  • Annotations: Toggle annotation overlay visibility
  • Class Breakdown: Per-class label counts with color indicators
  • Annotate: When you have edit access, annotation controls are active immediately when the fullscreen viewer opens on desktop
  • Download: Download the original image file
  • Delete: Delete the image from the dataset
  • Zoom: Cmd/Ctrl+Scroll, Cmd/Ctrl++, or Cmd/Ctrl+= to zoom in, and Cmd/Ctrl+- to zoom out
  • Reset view: Cmd/Ctrl + 0 or the reset button to fit the image to the viewer
  • Pan: Hold Space and drag to pan the canvas when zoomed
  • Pixel view: Toggle pixelated rendering for close inspection

<!-- screenshot -->

Filter by Split

Filter images by their dataset split:

SplitPurpose
TrainUsed for model training
ValUsed for validation during training
TestUsed for final evaluation

Clustering

The Clustering panel projects your dataset into an interactive 2D scatter plot where visually similar images sit close together. Use it to surface clusters, spot duplicates and outliers, and inspect how splits or classes are distributed across your data — without leaving the gallery. Open it from the scatter-chart icon in the gallery toolbar on any dataset page.

<!-- screenshot -->

Running Analysis

Start an analysis:

  1. Open a dataset and click the scatter-chart icon in the gallery toolbar
  2. Click Analyze Dataset
  3. Wait for the progress bar to finish — results appear in the same panel

Analysis runs in the background in two stages, Computing embeddings and Clustering, and can take a few minutes depending on the size of your dataset. You can close the panel or leave the page and come back later.

!!! note "Analysis Requirements"

A dataset needs at least 20 and at most 200,000 non-errored images to analyze. [Connected datasets](../integrations/index.md) backed by cloud or On Premise storage are not supported yet.

Visualization

Once analysis completes, the panel shows a 2D scatter of all analyzed images with a legend and a point counter. Gallery filters (split, class, labeled/unlabeled) dim out-of-filter points so you can focus on the subset you care about — the counter then reads visible / total points.

<!-- screenshot -->

Color By

Change how data points are shaded with the Color by dropdown in the panel toolbar. Switch view modes at any time — the plot re-colors instantly so you can see how splits, classes, or image properties are distributed across your clusters:

OptionShading
SplitsTrain / Val / Test
ClassesFirst annotation class on each image
WidthImage width
HeightImage height
SizeFile size
AnnotationsNumber of annotations per image

<!-- screenshot -->

Lasso Selection

Draw a free-form selection around a region to highlight points on the plot. The gallery filters down to the matching images, so you can inspect, relabel, move, or delete them using the usual image operations.

!!! tip "Clear Selection"

A chip above the chart shows how many points are selected — click the `×` to clear the lasso and return to the full gallery view.

!!! note "Selection Size"

A lasso resolves to at most 1,000 images. If your selection matches more, Platform shows a sampled 1,000 and suggests drawing a smaller region.

Pan and Zoom

Navigate large scatters directly from your mouse and keyboard, or with the zoom buttons at the bottom-left of the plot:

InputAction
ScrollPan the plot in 2D
Cmd/Ctrl+ScrollZoom in or out, anchored at the cursor
Hold SpaceSwitch to drag-to-pan mode
Reset buttonReturn to the full extent of the plot

Re-analyzing

If your dataset changes after analysis — new images arrive, or the analyzed count no longer matches the dataset — a Re-analyze button appears at the top of the panel for owners and editors.

Click Re-analyze to recompute embeddings and the 2D projection from scratch.

Dataset Tabs

Each dataset page can show up to six tabs, depending on the dataset state and your permissions:

Images Tab

The default view showing the image gallery with annotation overlays. Supports grid, compact, and table view modes. Drag and drop files here to add more images.

Classes Tab

This tab appears when the dataset has images.

Manage annotation classes for your dataset:

  • Class histogram: Bar chart showing annotation count per class, sorted by frequency, with a linear/log scale toggle
  • Class table: Sortable, searchable table with index, name, annotation count, and image count
  • Edit class names: Click any class name to rename it inline
  • Edit class colors: Click a color swatch to change the class color
  • Add new class: Use the input at the bottom to add classes
  • Merge classes: Select two or more rows and click Merge into one
  • Delete classes: Select one or more rows and click Delete

<!-- screenshot --> !!! note "Log Scale for Imbalanced Datasets"

If your dataset has class imbalance (e.g., 10,000 "person" annotations but only 50 "bicycle"), use the `Log Scale` toggle on the class histogram to visualize all classes clearly.

Merge Classes

Merging consolidates duplicate or overlapping labels — for example folding car, automobile, and vehicle into one class:

  1. Select two or more classes using the row checkboxes
  2. Click Merge into one in the table header, or right-click the selection
  3. Choose which of the selected classes is the target the others merge into
  4. Confirm

Every annotation belonging to the source classes is reassigned to the target class, and the source classes are removed. No annotations are deleted, so the dataset's total annotation count is unchanged.

Delete Classes

  1. Select one or more classes using the row checkboxes
  2. Click Delete in the table header, or right-click the selection
  3. Confirm

Deleting a class removes the class and all of its annotations. For classification datasets the labels are removed but the images remain, becoming unannotated.

!!! warning "Class Indices Shift"

Class IDs are positional. Merging or deleting a class shifts every higher class index down to close the gap, so exports and label files written before the change no longer line up with the new indices. Create a [version](#versions-tab) first if you need the old numbering.

!!! note "Statistics Sampling"

Class counts are computed from at most 100,000 images. On larger datasets a note above the histogram reads "Based on a 100,000-image subset of this dataset."

Charts Tab

This tab appears when the dataset has images.

Automatic statistics computed from your dataset:

Charts appear in this order, and each one is omitted when the dataset has no data for it — a raw image dataset shows no annotation charts, and Points per Instance only appears for segment and pose data:

ChartDescription
Split DistributionDonut chart of train/val/test image counts and labeled percent
Top ClassesDonut chart of the 10 most frequent annotation classes, with the rest as "Other"
Image DimensionsHistogram of image width and height distribution (overlaid) with mean
Image File SizeHistogram of image file size distribution
Image Dimensions 2D2D width vs height heatmap with aspect ratio guide lines
Annotation Locations2D heatmap of bounding box center positions
Image FormatsDistribution of source image formats (JPG, PNG, etc.)
Bounding Box DimensionsHistogram of bounding box width and height (overlaid)
Objects per ImageHistogram of annotation count per image
Points per InstancePolygon vertex or keypoint count per annotation (segment/pose)

<!-- screenshot --> !!! tip "Statistics Caching"

The Platform caches computed statistics and invalidates them when images, annotations, classes, or splits change. On datasets larger than 100,000 images the charts are computed from a 100,000-image subset, noted above the grid.

!!! info "Fullscreen Heatmaps"

Click the expand button on any heatmap to view it in fullscreen mode. This provides a larger, more detailed view — useful for understanding spatial patterns in large datasets.

Models Tab

View all models trained on this dataset in a searchable table:

ColumnDescription
NameModel name with link
ProjectParent project with icon
VersionImmutable dataset version used for training, if any
StatusTraining status badge
TaskYOLO task type
EpochsBest epoch / total epochs
mAP50-95Mean average precision
mAP50mAP at IoU 0.50
CreatedCreation date

<!-- screenshot -->

Errors Tab

This tab appears only when one or more files fail processing.

Images that failed processing are listed here with:

  • Error banner: Total count of failed images and guidance
  • Error table: Filename, user-friendly error description, fix hints, and preview thumbnail
  • Common errors include corrupted files, unsupported formats, images too small (min 28px), and unsupported color modes

<!-- screenshot --> ??? info "Common Processing Errors"

| Error                     | Cause                              | Fix                                 |
| ------------------------- | ---------------------------------- | ----------------------------------- |
| Unable to read image file | Corrupted or unsupported format    | Re-export from image editor         |
| Incomplete or corrupted   | File was truncated during transfer | Re-download the original file       |
| Unsupported image format  | Format Platform cannot decode      | Convert to JPG, PNG, or WebP        |
| File permission error     | File is locked or read-protected   | Unlock the file and re-upload       |
| Image too small           | Minimum dimension below 28px       | Use higher resolution source images |
| Unsupported color mode    | CMYK or indexed color mode         | Convert to RGB mode                 |

Versions Tab

Create immutable NDJSON snapshots of your dataset for reproducible training. Each version captures image counts, class counts, annotation counts, and file size at the time of creation.

ColumnDescription
VersionVersion number (v1, v2, ...)
DescriptionUser-provided description (editable)
ImagesImage count at time of snapshot
ClassesClass count at time of snapshot
AnnotationsAnnotation count at time of snapshot
SizeNDJSON export file size
CreatedWhen the version was created
ActionsDownload or restore

To create a version:

  1. Open the Versions tab
  2. Optionally enter a description (e.g., "Added 500 training images" or "Fixed mislabeled classes")
  3. Click New Version
  4. The new version appears in the table

Each version is numbered sequentially (v1, v2, v3...) and is immutable — versions cannot be edited or removed, only their descriptions can be changed. Use the row actions to download or restore any version at any time.

!!! warning "Restoring a Version"

Restore replaces the dataset's current images, splits, classes, and annotations with the selected snapshot and cannot be undone unless you first save the current state as another version. The dataset is locked in `processing` status while it rebuilds. Nothing is re-uploaded during a restore, so restores are typically fast even on large datasets.

!!! tip "Save a Version While Training"

Enable **Save Dataset Version** in the [Cloud Training dialog](../train/cloud-training.md#save-dataset-version-optional) to link a model to the exact dataset used for training. The Platform reuses a matching version when the dataset contents have not changed and creates a new version only when they have.

!!! note "Ready Datasets Only"

Version creation and restore are available after the dataset reaches `ready` status. Versions are not available for [connected](../integrations/index.md) cloud or [On Premise](../integrations/on-premise.md) datasets.

!!! tip "When to Create Versions"

Create a version before and after major changes to your dataset — adding images, fixing annotations, or rebalancing splits. This lets you compare model performance across different dataset states.

!!! note "NDJSON File Size"

The size shown is the NDJSON export file size, which contains image URLs and annotations — not the images themselves. Actual image data is stored separately and accessed via signed URLs. The snapshot file still counts against your workspace [storage quota](../account/billing.md), so version creation fails if you have no headroom left.

Export Dataset

Export your dataset for offline use with an NDJSON download from the dataset header or the Versions tab.

To export:

  1. Click the Download button (download icon) in the dataset header
  2. Download the current NDJSON snapshot directly
  3. Use the Versions tab when you want an immutable numbered snapshot you can re-download later

<!-- screenshot --> The NDJSON format stores one JSON object per line. The first line contains dataset metadata, followed by one line per image:

json
{"type": "dataset", "task": "detect", "name": "my-dataset", "description": "...", "bytes": 12345678, "url": "https://platform.ultralytics.com/...", "class_names": {"0": "person", "1": "car"}, "version": 1, "created_at": "2026-01-15T10:00:00Z", "updated_at": "2026-02-20T14:30:00Z"}
{"type": "image", "file": "img001.jpg", "url": "https://...", "width": 640, "height": 480, "split": "train", "metadata": {"location": {"site": "factory-1"}, "reviewed": true}, "annotations": {"boxes": [[0, 0.5, 0.5, 0.2, 0.3]]}}
{"type": "image", "file": "img002.jpg", "url": "https://...", "width": 1280, "height": 720, "split": "val"}

The optional image-level metadata object is preserved when an NDJSON file is imported into Platform. You can inspect or edit it from the image's fullscreen information panel. For programmatic archive uploads, the Ingest Dataset Data API accepts the equivalent imageMetadata path map.

Pose datasets also carry a kpt_shape field in the dataset header line, inferred from the annotations when it is not already set.

!!! note "Signed URLs"

Image URLs in the exported NDJSON are signed and valid for 7 days. Platform reuses a cached export for up to 6 days when the dataset has not changed, so a fresh download always has at least a day of validity left. If you need new URLs sooner, change the dataset or create a new version.

!!! warning "On Premise Datasets"

Export is not available for [On Premise](../integrations/on-premise.md) datasets, whose image bytes never reach Platform.

See the Ultralytics NDJSON format documentation for full specification.

Image Operations

Quick Actions

Right-click any image in Grid or Compact view to access quick actions:

ActionDescription
Move to SplitReassign the image to Train, Val, or Test split
DownloadDownload the original image file
DeleteDelete the image from the dataset

<!-- screenshot --> !!! tip "Single vs Bulk"

The image context menu operates on a **single image**. For bulk operations on multiple images, use **Table** view with checkbox selection.

Bulk Move to Split

Reassign selected images to a different split within the same dataset:

  1. Switch to Table view
  2. Select images using checkboxes
  3. Right-click to open the context menu
  4. Choose Move to split > Train, Validation, or Test

You can also drag and drop images onto the split filter tabs in grid view. If moving an image would collide with an identical image already in the target split, Platform asks whether to skip, keep both, or replace.

!!! tip "Organizing Train/Val Splits"

Upload all images to one dataset, then use bulk move-to-split to organize subsets into train, validation, and test splits.

Split Redistribution

Redistribute all images across train, validation, and test splits using custom ratios:

  1. Click the split bar in the dataset toolbar to open the Redistribute Splits dialog
  2. Adjust split percentages using any of the methods below
  3. Review the live image count preview to confirm the distribution
  4. Click Apply to randomly reassign all images according to your percentages

<!-- screenshot --> The dialog provides three ways to set your target split ratios:

MethodDescription
DragDrag the handles between the colored segments to visually adjust split boundaries
TypeEdit the percentage input for any split (the other two splits auto-rebalance proportionally)
AutoOne-click to instantly set an 80/20 train/validation split with the test split set to 0%

A live preview shows exactly how many images will land in each split before you apply.

!!! tip "Quick 80/20 Split"

Click the **Auto** button to instantly set the recommended 80/20 train/validation split. This is the most common ratio for training.

Bulk Delete

Delete multiple images at once:

  1. Select images in the table view
  2. Right-click and choose Delete, or press Cmd/Ctrl+Delete
  3. Confirm deletion

Dataset URI

Reference Platform datasets using the ul:// URI format (see Using Platform Datasets):

text
ul://username/datasets/dataset-slug

You can also paste a dataset or model web URL directly (e.g. https://platform.ultralytics.com/username/datasets/dataset-slug); it is automatically rewritten to the ul:// URI. Passing a list of datasets fine-tunes one base model across each in series, for example model.train(data=["ul://username/datasets/a", "ul://username/datasets/b"]).

Use this URI to train models from anywhere:

=== "CLI"

```bash
export ULTRALYTICS_API_KEY="YOUR_API_KEY"
yolo train model=yolo26n.pt data=ul://username/datasets/my-dataset epochs=100
```

=== "Python"

```python
from ultralytics import YOLO

model = YOLO("yolo26n.pt")
model.train(data="ul://username/datasets/my-dataset", epochs=100)
```

!!! example "Train Anywhere with Platform Data"

The `ul://` URI works from any environment:

- **Local machine**: Train on your hardware, data downloaded automatically
- **Google Colab**: Access your Platform datasets in notebooks
- **Remote servers**: Train on cloud VMs with full dataset access

Available Licenses

The Platform supports the following licenses for datasets:

LicenseType
NoneNo license selected
CC0-1.0Public domain
PDM-1.0Public domain
CC-BY-2.5Permissive
CC-BY-4.0Permissive
CC-BY-NC-2.0Non-commercial
CC-BY-SA-4.0Copyleft
CC-BY-NC-4.0Non-commercial
CC-BY-NC-SA-3.0Copyleft
CC-BY-NC-SA-4.0Copyleft
CC-BY-ND-4.0No derivatives
CC-BY-NC-ND-4.0Non-commercial
Apache-2.0Permissive
MITPermissive
AGPL-3.0Copyleft
GPL-3.0Copyleft
Research-OnlyRestricted
OtherCustom

!!! note "Copyleft Licenses"

When cloning a dataset with a copyleft license (AGPL-3.0, GPL-3.0, CC-BY-SA-4.0, CC-BY-NC-SA-3.0, CC-BY-NC-SA-4.0), the clone inherits the license and the license selector is locked.

Visibility Settings

Control who can see your dataset:

SettingDescription
PrivateYou and permitted workspace members can access
PublicAnyone can view, including from the Explore page

Visibility is set when creating a dataset in the New Dataset dialog using a toggle switch. Public datasets are visible on the Explore page.

Edit Dataset

Dataset metadata is edited inline directly on the dataset page — no dialog needed:

  • Name: Click the dataset name to edit it. Changes auto-save on blur or Enter. Names are limited to 100 characters.
  • Description: Click the description (or "Add a description..." placeholder) to edit. Changes auto-save. Descriptions are limited to 1,000 characters.
  • Task type: Click the task badge to select a different task type.
  • License: Click the license selector to change the dataset license.
  • Icon: Click the dataset icon to upload your own image, promote one of the dataset's own images to the icon, or pick a letter and color.

!!! info "Changing Task Type"

Each image stores annotations for all task types together. Changing the dataset task type controls which annotations are visible in the editor and included in exports and training. Annotations for other task types are preserved in the database and reappear when you switch back.

Custom Metadata

Open More actions and select Information to review two sections:

  • Ultralytics Metadata: Read-only Platform details such as the dataset ID, owner, task, image and annotation counts, storage region, and timestamps
  • Custom Metadata: Your own JSON object for provenance, capture conditions, customer IDs, governance, or other contextual data

Workspace viewers can inspect metadata, while members with edit access can replace the custom metadata object. The serialized metadata object is limited to 500,000 characters, and each top-level key is limited to 128 characters. Save an empty object ({}) to clear custom metadata.

Clone Dataset

When viewing a public dataset you do not own, click Clone Dataset to open the clone dialog. Review the destination workspace, name, visibility, and license, then confirm the clone. The copy includes all images, annotations, and class definitions. Public source datasets stay public by default in workspaces whose default visibility is public; Enterprise workspace clones default to private. If the original dataset has a copyleft license, the clone inherits it and the license selector is locked.

The destination slug is auto-renamed if it is already taken, and cloning requires enough remaining storage quota to hold the copy.

!!! note "Connected Datasets"

Datasets backed by [cloud storage](../integrations/index.md) or [On Premise](../integrations/on-premise.md) sources cannot be cloned, because Platform does not hold their image bytes.

Star and Share

  • Star: Click the star button to bookmark a dataset. The star count is visible to all users.
  • Share: For public datasets, click the share button to copy a link, grab an embed snippet, or share to social platforms.

Delete Dataset

Delete a dataset you no longer need:

  1. Open More actions (the button) in the dataset header
  2. Choose Delete Dataset
  3. Confirm in the dialog: "This will move [name] to trash. You can restore it within 30 days."

The same menu holds Information, which opens the metadata dialog described in Custom Metadata, and Refresh, which re-reads the dataset from the server.

!!! note "Trash and Restore"

Deleted datasets are moved to Trash — not permanently deleted. You can restore them within 30 days from [`Settings > Trash`](../account/trash.md).

Train on Dataset

Start training directly from your dataset:

  1. Click New Model on the dataset page
  2. Select a project or create new
  3. Configure training parameters
  4. Start training
mermaid
graph LR
    A[Dataset]:::start --> B[New Model]:::proc
    B --> C[Select Project]:::proc
    C --> D[Configure]:::proc
    D --> E[Start Training]:::out

    classDef start fill:#4CAF50,color:#fff
    classDef proc fill:#2196F3,color:#fff
    classDef out fill:#9C27B0,color:#fff

See Cloud Training for details.

FAQ

What happens to my data after upload?

Your data is processed and stored in your selected region (US, EU, or AP). Images are:

  1. Validated for format and size
  2. Rejected if minimum dimension is below 28px
  3. Normalized if larger than 4096px (preserving aspect ratio; encoded for optimized storage)
  4. Stored with deduplication, so identical images are kept only once
  5. Thumbnails generated at 256px WebP for fast browsing

How does storage work?

Ultralytics Platform manages storage efficiently:

  • Deduplication: Identical images in the same data region are stored once
  • Integrity: Uploads are verified for data integrity
  • Efficiency: Clones reuse stored images instead of copying them, while still counting toward the destination workspace's storage quota
  • Regional: Data stays in your selected region (US, EU, or AP)

Can I add images to an existing dataset?

Yes. Drag files onto the dataset gallery or click the upload icon in the page header, which opens your browser's native file picker directly. New statistics are computed automatically after processing.

How do I move images between splits?

Use the bulk move-to-split feature:

  1. Select images in the table view
  2. Right-click and choose Move to split
  3. Select the target split (Train, Validation, or Test)

What label formats are supported?

Ultralytics Platform supports YOLO labels, COCO JSON, Ultralytics NDJSON, and raw image uploads. Pascal VOC XML labels are detected but not imported:

=== "YOLO Format"

One `.txt` file per image with normalized coordinates (0-1 range):

| Task     | Format                           | Example                             |
| -------- | -------------------------------- | ----------------------------------- |
| Detect   | `class cx cy w h`                | `0 0.5 0.5 0.2 0.3`                 |
| Segment  | `class x1 y1 x2 y2 ...`          | `0 0.1 0.1 0.9 0.1 0.9 0.9`         |
| Pose     | `class cx cy w h kx1 ky1 v1 ...` | `0 0.5 0.5 0.2 0.3 0.6 0.7 2`       |
| OBB      | `class x1 y1 x2 y2 x3 y3 x4 y4`  | `0 0.1 0.1 0.9 0.1 0.9 0.9 0.1 0.9` |
| Classify | Directory structure              | `train/cats/`, `train/dogs/`        |

Pose visibility flags: 0=not labeled, 1=labeled but occluded, 2=labeled and visible.

=== "COCO Format"

JSON files with `images`, `annotations`, and `categories` arrays. Supports detection (`bbox`), segmentation (polygon), and pose (`keypoints`) tasks. COCO uses absolute pixel coordinates which are automatically converted to normalized format during upload.

=== "NDJSON"

Ultralytics NDJSON exports can be re-imported into Platform. This is the most complete way to move dataset metadata, splits, and annotations between workspaces.

Can I annotate the same dataset for multiple task types?

Yes. Each image stores annotations for all 6 task types (detect, segment, semantic, classify, pose, OBB) together. You can switch the dataset's active task type at any time without losing existing annotations. Only annotations matching the active task type are shown in the editor and included in exports and training — annotations for other tasks are preserved and reappear when you switch back.

Are there limits on classes and annotations?

Yes:

LimitValue
Classes per dataset25,000
Annotations per image10,000
Coordinates per annotation10,000
Dataset name100 characters
Dataset description1,000 characters
Custom metadata500,000 serialized characters
Metadata top-level key128 characters

What is not available for connected datasets?

Datasets that read from cloud storage or On Premise sources keep their pixels outside Platform, so the features that need Platform-owned copies of the image bytes are unavailable:

FeatureCloud-connectedOn Premise
Smart annotationUnavailableUnavailable
Clustering analysisUnavailableUnavailable
CloningUnavailableUnavailable
Version snapshotsUnavailableUnavailable
NDJSON exportAvailableUnavailable

Browsing, manual annotation, class management, splits, statistics, and training all work normally.