---
title: "Download public datasets in COCO, YOLO or Pascal VOC format"
description: "Copy a public dataset such as COCO, TACO or MVTec AD into your organization, then export it in COCO, YOLO, Pascal VOC or 9 other formats. Both are free."
section: "Guides"
order: 7
---
Copy a public dataset into your organization, then export it in any of
[12 formats](/docs/api-reference/exports.md#formats). Both are free, but the copy counts toward your
plan's images and storage, so [check its size and license](#check-the-size-and-license) first.

## Import, export, download

```python
from pictograph import Client, Export, PublicDatasetImport

client = Client()
copy: PublicDatasetImport = client.datasets.import_public(
    ref="pictograph-research/taco",
    name="taco",
)
export: Export = client.exports.create(
    dataset=copy.dataset_name,
    name="taco-yolo",
    format="yolo",
    include_images=True,
    wait=True,
)
client.exports.download(
    dataset=copy.dataset_name,
    export=export.name,
    output_path="taco-yolo.zip",
)
```

```bash
pictograph datasets import-public pictograph-research/taco --name taco
pictograph exports create taco --name taco-yolo -f yolo --include-images
pictograph exports download taco taco-yolo -o ./taco-yolo.zip
```

The import waits until the copy is ready: TACO's 1,500 images took 31 seconds. The copy is
private and yours: relabel it, export it again, or train on it. If your organization already uses
the name, the copy gets a suffix; its final name is `copy.dataset_name` (the CLI prints it as
`dataset_name`).

A public dataset's name is `organization/dataset`. `client.datasets.get("TACO")` looks only in
your own organization and raises `NotFoundError` until you've imported a copy.

## Find a dataset

```python
for dataset in client.explore.datasets(search="tomato"):
    print(dataset.ref, dataset.image_count, dataset.license_id)
```

```bash
pictograph explore datasets --search tomato
```

`search` matches names and what the images show; `ref` is the name to import. Or
[browse them](/datasets): a page's address ends in the `ref`.

## Check the size and license

An import that would pass your plan's image limit is refused with a 402
(`image_limit_exceeded`) before anything is copied. The limit covers every dataset in your
organization, including the 300-image starter every new one gets.

| Plan | Images | Fits, for example |
|---|---:|---|
| Free | 10,000 | TACO (1,500), COCO-5k (5,000), MVTec AD (5,354) |
| Core | 25,000 | LVIS-20k (19,808), ADE-20K (22,207) |
| Pro | 100,000 | A2D2 (38,554), COCO 2017 Pose (58,931) |
| Team | 500,000 | COCO-164k (163,957) |

The copy also counts toward your plan's storage, which an import doesn't check. TACO (4.4 GB) or
MVTec AD (4.9 GB) nearly fills the Free plan's 5 GB. Delete the copy once you've downloaded its
export to get the space back.

The copy keeps the dataset's license and source credit. Many public datasets, TACO and COCO
among them, allow non-commercial use only. Read the License tab on the dataset's page;
`license_id` is `custom` when the terms aren't a standard license.

## Without an account

Most dataset pages link a copy on Hugging Face. Stream one without downloading it all:

```python
from datasets import load_dataset

rows = load_dataset("pictograph/taco", split="train", streaming=True)
row = next(iter(rows))
print(row["image"].size, row["objects"]["category_names"])
```

It holds the images, with their labels in `metadata.jsonl`: each box as `[x, y, width, height]`
and each polygon's points. It has no COCO, YOLO or Pascal VOC files; those come from an export.

## Next

- [Train a model](/docs/guides/train.md) on your copy.
- [Label more images](/docs/sam3-auto-annotation.md) with SAM3, then export again.
- [Explore API](/docs/api-reference/explore.md): every filter, and public models.