FiftyOne Dataset Zoo#

The FiftyOne Dataset Zoo provides a powerful interface for downloading datasets and loading them into FiftyOne.

It provides native access to dozens of popular benchmark datasets, and it also supports downloading arbitrary public or private datasets whose download/preparation methods are provided via GitHub repositories or URLs.

Built-in datasets#

The Dataset Zoo provides built-in access to dozens of datasets that you can load into FiftyOne with a single command.

Remotely-sourced datasets#

The Dataset Zoo also supports loading datasets whose download/preparation methods are provided via GitHub repositories or URLs.

API reference#

The Dataset Zoo can be accessed via the Python library and the CLI. Consult the API reference below to see how to download, load, and manage zoo datasets.

Basic recipe#

Methods for working with the Dataset Zoo are conveniently exposed via the Python library and the CLI. The basic recipe for loading a zoo dataset and visualizing it in the App is shown below.

Use load_zoo_dataset() to load a zoo dataset into a FiftyOne dataset.

For example, the code sample below loads the validation split of COCO-2017 from the zoo and visualizes it in the FiftyOne App:

 1import fiftyone as fo
 2import fiftyone.zoo as foz
 3
 4# List available zoo datasets
 5print(foz.list_zoo_datasets())
 6
 7# Download the COCO-2017 validation split and load it into FiftyOne
 8dataset = foz.load_zoo_dataset("coco-2017", split="validation")
 9
10# Give the dataset a new name, and make it persistent
11dataset.name = "coco-2017-validation-example"
12dataset.persistent = True
13
14# Visualize it in the App
15session = fo.launch_app(dataset)
Dataset Zoo