fiftyone.zoo.datasets.base#
FiftyOne Zoo Datasets provided natively by the library.
Classes:
Base class for zoo datasets that are provided natively by FiftyOne. |
|
|
ActivityNet is a large-scale video dataset for human activity understanding supporting the tasks of global video classification, trimmed activity classification, and temporal activity detection. |
|
ActivityNet is a large-scale video dataset for human activity understanding supporting the tasks of global video classification, trimmed activity classification, and temporal activity detection. |
|
The Berkeley Deep Drive (BDD) dataset is one of the largest and most diverse video datasets for autonomous vehicles. |
The Caltech-101 dataset of images. |
|
The Caltech-256 dataset of images. |
|
|
Cityscapes is a large-scale dataset that contains a diverse set of stereo video sequences recorded in street scenes from 50 different cities, with high quality pixel-level annotations of 5,000 frames in addition to a larger set of 20,000 weakly annotated frames. |
|
COCO is a large-scale object detection, segmentation, and captioning dataset. |
|
COCO is a large-scale object detection, segmentation, and captioning dataset. |
|
Sama-COCO is a large-scale object detection, segmentation, and captioning dataset based on COCO2017. |
Families in the Wild is a public benchmark for recognizing families via facial images. |
|
|
HMDB51 is an action recognition dataset containing a total of 6,766 clips distributed across 51 action classes. |
A small sample of images from the ImageNet 2012 dataset. |
|
|
Kinetics is a collection of large-scale, high-quality datasets of URL links of up to 650,000 video clips that cover 400/600/700 human action classes, depending on the dataset version. |
|
Kinetics is a collection of large-scale, high-quality datasets of URL links of up to 650,000 video clips that cover 400/600/700 human action classes, depending on the dataset version. |
|
Kinetics is a collection of large-scale, high-quality datasets of URL links of up to 650,000 video clips that cover 400/600/700 human action classes, depending on the dataset version. |
|
Kinetics is a collection of large-scale, high-quality datasets of URL links of up to 650,000 video clips that cover 400/600/700 human action classes, depending on the dataset version. |
KITTI contains a suite of vision tasks built using an autonomous driving platform. |
|
KITTI contains a suite of vision tasks built using an autonomous driving platform. |
|
Labeled Faces in the Wild is a public benchmark for face verification, also known as pair matching. |
|
|
Open Images V6 is a dataset of ~9 million images, roughly 2 million of which are annotated and available via this zoo dataset. |
|
Open Images V7 is a dataset of ~9 million images, roughly 2 million of which are annotated and available via this zoo dataset. |
Places is a scene recognition dataset of 10 million images comprising ~400 unique scene categories. |
|
A small dataset with ground truth bounding boxes and predictions. |
|
A small dataset with geolocation data. |
|
A small video dataset with dense annotations. |
|
A small video dataset for trajectory annotation. |
|
A small dataset with grouped image and point cloud data. |
|
A small 3D dataset with meshes, point clouds, and oriented bounding boxes. |
|
|
UCF101 is an action recognition data set of realistic action videos, collected from YouTube, having 101 action categories. |
Handheld LiDAR, camera, IMU and GNSS sequences measured against surveyed checkpoints, as native |
|
Indoor drone racing flights pairing onboard visual-inertial odometry with motion capture ground truth, as native |
|
The TUM RGB-D SLAM benchmark, as native |
|
First-person household task recordings pairing RGB-D video with wrist EMG and per-finger contact force, as native |
|
A sample of the CitrusFarm multimodal agricultural robotics dataset, as a native |
|
Policy rollouts recorded on NVIDIA's RoboLab manipulation benchmark, as native |
|
A sample of the GrandTour legged robotics dataset, as native |
|
Pool-boiling and immersion-cooling experiments pairing high-speed or infrared video with thermal and acoustic sensing, as native |
|
A curated 40-episode subset of the ABC-130k bimanual robot teleoperation corpus (134,806 episodes, 195 tasks, 3,553 hours). |
|
A 42-episode subset of NVIDIA's GR00T-X-Embodiment-Sim corpus, six episodes from each of seven robot embodiments, as native |
|
A 32-episode subset of the RoboMIND manipulation benchmark, eight episodes from each of four robot embodiments, as native |
|
Six trajectories from the TartanGround ground-robot dataset, one per simulation environment, as native |
|
Autonomous driving episodes with camera, lidar, and radar streams recorded via ROS2 and stored as native |
|
The VAT-0723 collection of the TreeScope forestry robotics dataset: 10 |
|
Six episodes from the 2026 Humanoid IKEA Assembly Challenge, one per recording day, as native |
|
The labeled test set of the SEW-EURODRIVE Multimodal AMR dataset, as native |
|
The labeled stereo release of the APAC egocentric dataset, as native |
|
The Hilti SLAM Challenge 2022 recordings, as native |
|
Elevator traversals recorded to study mirror and glass interference, as native |
|
A sample of the DSEC stereo event camera driving dataset, as native |
|
The Hilti SLAM Challenge 2021 recordings, as native |
|
The Hilti x Trimble SLAM Challenge 2026 recordings, as native |
|
Piloted underwater robot runs with five cameras and an inertial unit, as native |
|
Construction-site recordings from an autonomous mobile robot, as native |
|
A sample of the ColoRadar 3D millimetre-wave radar dataset, as native |
|
Contact-rich probing runs pairing tactile sensing with measured force, as native |
|
Teleoperated contact-rich manipulation with vision-based tactile fingertips and the operator's haptic feedback, as native |
|
The labeled split of SpectralWaste, as a grouped RGB and hyperspectral dataset. |
|
A sample of M3ED, the multi-robot, multi-sensor, multi-environment event camera dataset, as native |
|
Contact-rich Franka manipulation with vision-based tactile fingertips, as native |
|
Quadrotor flights with a DAVIS346 event camera, carrying every event, as native |
- class fiftyone.zoo.datasets.base.FiftyOneDataset#
Bases:
ZooDatasetBase class for zoo datasets that are provided natively by FiftyOne.
Methods:
download_and_prepare(dataset_dir[, split, ...])Downloads the dataset and prepares it for use.
get_info_path(dataset_dir)Returns the path to the
ZooDatasetInfofor the dataset.get_split_dir(dataset_dir, split)Returns the directory for the given split of the dataset.
has_info(dataset_dir)Determines whether the directory contains
ZooDatasetInfo.has_split(split)Whether the dataset has the given split.
has_tag(tag)Whether the dataset has the given tag.
load_info(dataset_dir[, upgrade, ...])Loads the
ZooDatasetInfofrom the given dataset directory.Attributes:
Whether the dataset has patches that may need to be applied to already downloaded files.
Whether the dataset has splits.
Whether the dataset has tags.
A dict of default kwargs to pass to this dataset's
fiftyone.utils.data.importers.DatasetImporter.Whether the dataset is remotely-sourced.
The license or list,of,licenses under which the dataset is distributed, or None if unknown.
The name of the dataset.
An optional dict of parameters describing the configuration of the zoo dataset when it was downloaded.
Whether this dataset requires some files to be manually downloaded by the user before the dataset can be loaded.
A tuple of supported splits for the dataset, or None if the dataset does not have splits.
Whether the dataset supports downloading partial subsets of its splits.
A tuple of tags for the dataset.
- download_and_prepare(dataset_dir, split=None, splits=None, cleanup=True)#
Downloads the dataset and prepares it for use.
If the requested splits have already been downloaded, they are not re-downloaded.
- Parameters:
dataset_dir – the directory in which to construct the dataset
split (None) –
splitnorsplitsare provided, the full dataset is downloadedsplits (None) – a list of splits to download, if applicable. If neither
splitnorsplitsare provided, the full dataset is downloadedcleanup (True) – whether to cleanup any temporary files generated during download
- Returns:
the
ZooDatasetInfofor the dataset
- static get_info_path(dataset_dir)#
Returns the path to the
ZooDatasetInfofor the dataset.- Parameters:
dataset_dir – the dataset directory
- Returns:
the path to the
ZooDatasetInfo
- get_split_dir(dataset_dir, split)#
Returns the directory for the given split of the dataset.
- Parameters:
dataset_dir – the dataset directory
split – the dataset split
- Returns:
the directory that will/does hold the specified split
- static has_info(dataset_dir)#
Determines whether the directory contains
ZooDatasetInfo.- Parameters:
dataset_dir – the dataset directory
- Returns:
True/False
- property has_patches#
Whether the dataset has patches that may need to be applied to already downloaded files.
- has_split(split)#
Whether the dataset has the given split.
- Parameters:
split – the dataset split
- Returns:
True/False
- property has_splits#
Whether the dataset has splits.
- has_tag(tag)#
Whether the dataset has the given tag.
- Parameters:
tag – the tag
- Returns:
True/False
- property has_tags#
Whether the dataset has tags.
- property importer_kwargs#
A dict of default kwargs to pass to this dataset’s
fiftyone.utils.data.importers.DatasetImporter.
- property is_remote#
Whether the dataset is remotely-sourced.
- property license#
The license or list,of,licenses under which the dataset is distributed, or None if unknown.
- static load_info(dataset_dir, upgrade=True, warn_deprecated=False)#
Loads the
ZooDatasetInfofrom the given dataset directory.- Parameters:
dataset_dir – the directory in which to construct the dataset
upgrade (True) – whether to upgrade the JSON file on disk if any migrations were necessary
warn_deprecated (False) – whether to issue a warning if the dataset has a deprecated format
- Returns:
the
ZooDatasetInfofor the dataset
- property name#
The name of the dataset.
- property parameters#
An optional dict of parameters describing the configuration of the zoo dataset when it was downloaded.
- property requires_manual_download#
Whether this dataset requires some files to be manually downloaded by the user before the dataset can be loaded.
- property supported_splits#
A tuple of supported splits for the dataset, or None if the dataset does not have splits.
- property supports_partial_downloads#
Whether the dataset supports downloading partial subsets of its splits.
- property tags#
A tuple of tags for the dataset.
- class fiftyone.zoo.datasets.base.ActivityNet100Dataset(source_dir=None, classes=None, max_duration=None, copy_files=True, num_workers=None, shuffle=None, seed=None, max_samples=None)#
Bases:
FiftyOneDatasetActivityNet is a large-scale video dataset for human activity understanding supporting the tasks of global video classification, trimmed activity classification, and temporal activity detection.
This version contains videos and temporal activity detections for the 100 class version of the dataset.
Notes:
ActivityNet 100 and 200 differ in the number of activity classes and videos per split
Partial downloads will download videos (if still available) from YouTube
Full splits can be loaded by first downloading the official source files from the ActivityNet maintainers
The test set does not have annotations
Full split stats:
Train split: 4,819 videos (7,151 instances)
Test split: 2,480 videos (labels withheld)
Validation split: 2,383 videos (3,582 instances)
Partial downloads:
You can specify subsets of data to download via the
max_duration,classes, andmax_samplesparameters
Full split downloads:
Many videos have been removed from YouTube since the creation of ActivityNet. As a result, if you do not specify any partial download parameters described below, you must first download the official source files from the ActivityNet maintainers in order to load a full split into FiftyOne.
To download the source files, you must fill out this form.
Refer to this page to see how to load full splits by passing the
source_dirparameter toload_zoo_dataset().Example usage:
import fiftyone as fo import fiftyone.zoo as foz # # Load 10 random samples from the validation split # # Only the required videos will be downloaded (if necessary) # dataset = foz.load_zoo_dataset( "activitynet-100", split="validation", max_samples=10, shuffle=True, ) session = fo.launch_app(dataset) # # Load 10 samples from the validation split that # contain the actions "Bathing dog" and "Walking the dog" # # Videos that contain all `classes` will be prioritized first, followed # by videos that contain at least one of the required `classes`. If # there are not enough videos matching `classes` in the split to meet # `max_samples`, only the available videos will be loaded. # # Videos will only be downloaded if necessary # # Subsequent partial loads of the validation split will never require # downloading any videos # dataset = foz.load_zoo_dataset( "activitynet-100", split="validation", classes=["Bathing dog", "Walking the dog"], max_samples=10, ) session.dataset = dataset
- Dataset size
223 GB
- Source
- Parameters:
source_dir (None) – the directory containing the manually downloaded ActivityNet files used to avoid downloading videos from YouTube
classes (None) – a string or list of strings specifying required classes to load. If provided, only samples containing at least one instance of a specified class will be loaded
max_duration (None) – only videos with a duration in seconds that is less than or equal to the
max_durationwill be downloaded. By default, all videos are downloadedcopy_files (True) – whether to move (False) or create copies (True) of the source files when populating
dataset_dir. This is only relevant when asource_diris providednum_workers (None) – a suggested number of threads to use when downloading individual images
shuffle (False) – whether to randomly shuffle the order in which samples are chosen for partial downloads
seed (None) – a random seed to use when shuffling
max_samples (None) – a maximum number of samples to load per split. If
classesare also specified, only up to the number of samples that contain at least one specified class will be loaded. By default, all matching samples are loaded
Attributes:
The name of the dataset.
The license or list,of,licenses under which the dataset is distributed, or None if unknown.
A tuple of tags for the dataset.
A tuple of supported splits for the dataset, or None if the dataset does not have splits.
Whether the dataset supports downloading partial subsets of its splits.
Whether the dataset has patches that may need to be applied to already downloaded files.
Whether the dataset has splits.
Whether the dataset has tags.
A dict of default kwargs to pass to this dataset's
fiftyone.utils.data.importers.DatasetImporter.Whether the dataset is remotely-sourced.
An optional dict of parameters describing the configuration of the zoo dataset when it was downloaded.
Whether this dataset requires some files to be manually downloaded by the user before the dataset can be loaded.
Methods:
download_and_prepare(dataset_dir[, split, ...])Downloads the dataset and prepares it for use.
get_info_path(dataset_dir)Returns the path to the
ZooDatasetInfofor the dataset.get_split_dir(dataset_dir, split)Returns the directory for the given split of the dataset.
has_info(dataset_dir)Determines whether the directory contains
ZooDatasetInfo.has_split(split)Whether the dataset has the given split.
has_tag(tag)Whether the dataset has the given tag.
load_info(dataset_dir[, upgrade, ...])Loads the
ZooDatasetInfofrom the given dataset directory.- property name#
The name of the dataset.
- property license#
The license or list,of,licenses under which the dataset is distributed, or None if unknown.
- property tags#
A tuple of tags for the dataset.
- property supported_splits#
A tuple of supported splits for the dataset, or None if the dataset does not have splits.
- property supports_partial_downloads#
Whether the dataset supports downloading partial subsets of its splits.
- download_and_prepare(dataset_dir, split=None, splits=None, cleanup=True)#
Downloads the dataset and prepares it for use.
If the requested splits have already been downloaded, they are not re-downloaded.
- Parameters:
dataset_dir – the directory in which to construct the dataset
split (None) –
splitnorsplitsare provided, the full dataset is downloadedsplits (None) – a list of splits to download, if applicable. If neither
splitnorsplitsare provided, the full dataset is downloadedcleanup (True) – whether to cleanup any temporary files generated during download
- Returns:
the
ZooDatasetInfofor the dataset
- static get_info_path(dataset_dir)#
Returns the path to the
ZooDatasetInfofor the dataset.- Parameters:
dataset_dir – the dataset directory
- Returns:
the path to the
ZooDatasetInfo
- get_split_dir(dataset_dir, split)#
Returns the directory for the given split of the dataset.
- Parameters:
dataset_dir – the dataset directory
split – the dataset split
- Returns:
the directory that will/does hold the specified split
- static has_info(dataset_dir)#
Determines whether the directory contains
ZooDatasetInfo.- Parameters:
dataset_dir – the dataset directory
- Returns:
True/False
- property has_patches#
Whether the dataset has patches that may need to be applied to already downloaded files.
- has_split(split)#
Whether the dataset has the given split.
- Parameters:
split – the dataset split
- Returns:
True/False
- property has_splits#
Whether the dataset has splits.
- has_tag(tag)#
Whether the dataset has the given tag.
- Parameters:
tag – the tag
- Returns:
True/False
- property has_tags#
Whether the dataset has tags.
- property importer_kwargs#
A dict of default kwargs to pass to this dataset’s
fiftyone.utils.data.importers.DatasetImporter.
- property is_remote#
Whether the dataset is remotely-sourced.
- static load_info(dataset_dir, upgrade=True, warn_deprecated=False)#
Loads the
ZooDatasetInfofrom the given dataset directory.- Parameters:
dataset_dir – the directory in which to construct the dataset
upgrade (True) – whether to upgrade the JSON file on disk if any migrations were necessary
warn_deprecated (False) – whether to issue a warning if the dataset has a deprecated format
- Returns:
the
ZooDatasetInfofor the dataset
- property parameters#
An optional dict of parameters describing the configuration of the zoo dataset when it was downloaded.
- property requires_manual_download#
Whether this dataset requires some files to be manually downloaded by the user before the dataset can be loaded.
- class fiftyone.zoo.datasets.base.ActivityNet200Dataset(source_dir=None, classes=None, max_duration=None, copy_files=True, num_workers=None, shuffle=None, seed=None, max_samples=None)#
Bases:
FiftyOneDatasetActivityNet is a large-scale video dataset for human activity understanding supporting the tasks of global video classification, trimmed activity classification, and temporal activity detection.
This version contains videos and temporal activity detections for the 200 class version of the dataset.
Notes:
ActivityNet 200 is a superset of ActivityNet 100
ActivityNet 100 and 200 differ in the number of activity classes and videos per split
Partial downloads will download videos (if still available) from YouTube
Full splits can be loaded by first downloading the official source files from the ActivityNet maintainers
The test set does not have annotations
Full split stats:
Train split: 10,024 videos (15,410 instances)
Test split: 5,044 videos (labels withheld)
Validation split: 4,926 videos (7,654 instances)
Partial downloads:
You can specify subsets of data to download via the
max_duration,classes, andmax_samplesparameters
Full split downloads:
Many videos have been removed from YouTube since the creation of ActivityNet. As a result, if you do not specify any partial download parameters described below, you must first download the official source files from the ActivityNet maintainers in order to load a full split into FiftyOne.
To download the source files, you must fill out this form.
Refer to this page to see how to load full splits by passing the
source_dirparameter toload_zoo_dataset().Example usage:
import fiftyone as fo import fiftyone.zoo as foz # # Load 10 random samples from the validation split # # Only the required videos will be downloaded (if necessary) # dataset = foz.load_zoo_dataset( "activitynet-200", split="validation", max_samples=10, shuffle=True, ) session = fo.launch_app(dataset) # # Load 10 samples from the validation split that # contain the actions "Bathing dog" and "Walking the dog" # # Videos that contain all `classes` will be prioritized first, followed # by videos that contain at least one of the required `classes`. If # there are not enough videos matching `classes` in the split to meet # `max_samples`, only the available videos will be loaded. # # Videos will only be downloaded if necessary # # Subsequent partial loads of the validation split will never require # downloading any videos # dataset = foz.load_zoo_dataset( "activitynet-200", split="validation", classes=["Bathing dog", "Walking the dog"], max_samples=10, ) session.dataset = dataset
- Dataset size
500 GB
- Source
- Parameters:
source_dir (None) – the directory containing the manually downloaded ActivityNet files used to avoid downloading videos from YouTube
classes (None) – a string or list of strings specifying required classes to load. If provided, only samples containing at least one instance of a specified class will be loaded
max_duration (None) – only videos with a duration in seconds that is less than or equal to the
max_durationwill be downloaded. By default, all videos are downloadedcopy_files (True) – whether to move (False) or create copies (True) of the source files when populating
dataset_dir. This is only relevant when asource_diris providednum_workers (None) – a suggested number of threads to use when downloading individual images
shuffle (False) – whether to randomly shuffle the order in which samples are chosen for partial downloads
seed (None) – a random seed to use when shuffling
max_samples (None) – a maximum number of samples to load per split. If
classesare also specified, only up to the number of samples that contain at least one specified class will be loaded. By default, all matching samples are loaded
Attributes:
The name of the dataset.
The license or list,of,licenses under which the dataset is distributed, or None if unknown.
A tuple of tags for the dataset.
A tuple of supported splits for the dataset, or None if the dataset does not have splits.
Whether the dataset supports downloading partial subsets of its splits.
Whether the dataset has patches that may need to be applied to already downloaded files.
Whether the dataset has splits.
Whether the dataset has tags.
A dict of default kwargs to pass to this dataset's
fiftyone.utils.data.importers.DatasetImporter.Whether the dataset is remotely-sourced.
An optional dict of parameters describing the configuration of the zoo dataset when it was downloaded.
Whether this dataset requires some files to be manually downloaded by the user before the dataset can be loaded.
Methods:
download_and_prepare(dataset_dir[, split, ...])Downloads the dataset and prepares it for use.
get_info_path(dataset_dir)Returns the path to the
ZooDatasetInfofor the dataset.get_split_dir(dataset_dir, split)Returns the directory for the given split of the dataset.
has_info(dataset_dir)Determines whether the directory contains
ZooDatasetInfo.has_split(split)Whether the dataset has the given split.
has_tag(tag)Whether the dataset has the given tag.
load_info(dataset_dir[, upgrade, ...])Loads the
ZooDatasetInfofrom the given dataset directory.- property name#
The name of the dataset.
- property license#
The license or list,of,licenses under which the dataset is distributed, or None if unknown.
- property tags#
A tuple of tags for the dataset.
- property supported_splits#
A tuple of supported splits for the dataset, or None if the dataset does not have splits.
- property supports_partial_downloads#
Whether the dataset supports downloading partial subsets of its splits.
- download_and_prepare(dataset_dir, split=None, splits=None, cleanup=True)#
Downloads the dataset and prepares it for use.
If the requested splits have already been downloaded, they are not re-downloaded.
- Parameters:
dataset_dir – the directory in which to construct the dataset
split (None) –
splitnorsplitsare provided, the full dataset is downloadedsplits (None) – a list of splits to download, if applicable. If neither
splitnorsplitsare provided, the full dataset is downloadedcleanup (True) – whether to cleanup any temporary files generated during download
- Returns:
the
ZooDatasetInfofor the dataset
- static get_info_path(dataset_dir)#
Returns the path to the
ZooDatasetInfofor the dataset.- Parameters:
dataset_dir – the dataset directory
- Returns:
the path to the
ZooDatasetInfo
- get_split_dir(dataset_dir, split)#
Returns the directory for the given split of the dataset.
- Parameters:
dataset_dir – the dataset directory
split – the dataset split
- Returns:
the directory that will/does hold the specified split
- static has_info(dataset_dir)#
Determines whether the directory contains
ZooDatasetInfo.- Parameters:
dataset_dir – the dataset directory
- Returns:
True/False
- property has_patches#
Whether the dataset has patches that may need to be applied to already downloaded files.
- has_split(split)#
Whether the dataset has the given split.
- Parameters:
split – the dataset split
- Returns:
True/False
- property has_splits#
Whether the dataset has splits.
- has_tag(tag)#
Whether the dataset has the given tag.
- Parameters:
tag – the tag
- Returns:
True/False
- property has_tags#
Whether the dataset has tags.
- property importer_kwargs#
A dict of default kwargs to pass to this dataset’s
fiftyone.utils.data.importers.DatasetImporter.
- property is_remote#
Whether the dataset is remotely-sourced.
- static load_info(dataset_dir, upgrade=True, warn_deprecated=False)#
Loads the
ZooDatasetInfofrom the given dataset directory.- Parameters:
dataset_dir – the directory in which to construct the dataset
upgrade (True) – whether to upgrade the JSON file on disk if any migrations were necessary
warn_deprecated (False) – whether to issue a warning if the dataset has a deprecated format
- Returns:
the
ZooDatasetInfofor the dataset
- property parameters#
An optional dict of parameters describing the configuration of the zoo dataset when it was downloaded.
- property requires_manual_download#
Whether this dataset requires some files to be manually downloaded by the user before the dataset can be loaded.
- class fiftyone.zoo.datasets.base.BDD100KDataset(source_dir=None, copy_files=True)#
Bases:
FiftyOneDatasetThe Berkeley Deep Drive (BDD) dataset is one of the largest and most diverse video datasets for autonomous vehicles.
The BDD100K dataset contains 100,000 video clips collected from more than 50,000 rides covering New York, San Francisco Bay Area, and other regions. The dataset contains diverse scene types such as city streets, residential areas, and highways. Furthermore, the videos were recorded in diverse weather conditions at different times of the day.
The videos are split into training (70K), validation (10K) and testing (20K) sets. Each video is 40 seconds long with 720p resolution and a frame rate of 30fps. The frame at the 10th second of each video is annotated for image classification, detection, and segmentation tasks.
This version of the dataset contains only the 100K images extracted from the videos as described above, together with the image classification, detection, and segmentation labels.
In order to load the BDD100K dataset, you must download the source data manually. The directory should be organized in the following format:
source_dir/ labels/ bdd100k_labels_images_train.json bdd100k_labels_images_val.json images/ 100k/ train/ test/ val/
You can register at http://bdd-data.berkeley.edu in order to get links to download the data.
Example usage:
import fiftyone as fo import fiftyone.zoo as foz # The path to the source files that you manually downloaded source_dir = "/path/to/dir-with-bdd100k-files" dataset = foz.load_zoo_dataset( "bdd100k", split="validation", source_dir=source_dir, ) session = fo.launch_app(dataset)
- Dataset size
7.10 GB
- Source
- Parameters:
source_dir (None) – the directory containing the manually downloaded BDD100K files
copy_files (True) – whether to move (False) or create copies (True) of the source files when populating the dataset directory
Attributes:
The name of the dataset.
The license or list,of,licenses under which the dataset is distributed, or None if unknown.
A tuple of tags for the dataset.
A tuple of supported splits for the dataset, or None if the dataset does not have splits.
Whether this dataset requires some files to be manually downloaded by the user before the dataset can be loaded.
Whether the dataset has patches that may need to be applied to already downloaded files.
Whether the dataset has splits.
Whether the dataset has tags.
A dict of default kwargs to pass to this dataset's
fiftyone.utils.data.importers.DatasetImporter.Whether the dataset is remotely-sourced.
An optional dict of parameters describing the configuration of the zoo dataset when it was downloaded.
Whether the dataset supports downloading partial subsets of its splits.
Methods:
download_and_prepare(dataset_dir[, split, ...])Downloads the dataset and prepares it for use.
get_info_path(dataset_dir)Returns the path to the
ZooDatasetInfofor the dataset.get_split_dir(dataset_dir, split)Returns the directory for the given split of the dataset.
has_info(dataset_dir)Determines whether the directory contains
ZooDatasetInfo.has_split(split)Whether the dataset has the given split.
has_tag(tag)Whether the dataset has the given tag.
load_info(dataset_dir[, upgrade, ...])Loads the
ZooDatasetInfofrom the given dataset directory.- property name#
The name of the dataset.
- property license#
The license or list,of,licenses under which the dataset is distributed, or None if unknown.
- property tags#
A tuple of tags for the dataset.
- property supported_splits#
A tuple of supported splits for the dataset, or None if the dataset does not have splits.
- property requires_manual_download#
Whether this dataset requires some files to be manually downloaded by the user before the dataset can be loaded.
- download_and_prepare(dataset_dir, split=None, splits=None, cleanup=True)#
Downloads the dataset and prepares it for use.
If the requested splits have already been downloaded, they are not re-downloaded.
- Parameters:
dataset_dir – the directory in which to construct the dataset
split (None) –
splitnorsplitsare provided, the full dataset is downloadedsplits (None) – a list of splits to download, if applicable. If neither
splitnorsplitsare provided, the full dataset is downloadedcleanup (True) – whether to cleanup any temporary files generated during download
- Returns:
the
ZooDatasetInfofor the dataset
- static get_info_path(dataset_dir)#
Returns the path to the
ZooDatasetInfofor the dataset.- Parameters:
dataset_dir – the dataset directory
- Returns:
the path to the
ZooDatasetInfo
- get_split_dir(dataset_dir, split)#
Returns the directory for the given split of the dataset.
- Parameters:
dataset_dir – the dataset directory
split – the dataset split
- Returns:
the directory that will/does hold the specified split
- static has_info(dataset_dir)#
Determines whether the directory contains
ZooDatasetInfo.- Parameters:
dataset_dir – the dataset directory
- Returns:
True/False
- property has_patches#
Whether the dataset has patches that may need to be applied to already downloaded files.
- has_split(split)#
Whether the dataset has the given split.
- Parameters:
split – the dataset split
- Returns:
True/False
- property has_splits#
Whether the dataset has splits.
- has_tag(tag)#
Whether the dataset has the given tag.
- Parameters:
tag – the tag
- Returns:
True/False
- property has_tags#
Whether the dataset has tags.
- property importer_kwargs#
A dict of default kwargs to pass to this dataset’s
fiftyone.utils.data.importers.DatasetImporter.
- property is_remote#
Whether the dataset is remotely-sourced.
- static load_info(dataset_dir, upgrade=True, warn_deprecated=False)#
Loads the
ZooDatasetInfofrom the given dataset directory.- Parameters:
dataset_dir – the directory in which to construct the dataset
upgrade (True) – whether to upgrade the JSON file on disk if any migrations were necessary
warn_deprecated (False) – whether to issue a warning if the dataset has a deprecated format
- Returns:
the
ZooDatasetInfofor the dataset
- property parameters#
An optional dict of parameters describing the configuration of the zoo dataset when it was downloaded.
- property supports_partial_downloads#
Whether the dataset supports downloading partial subsets of its splits.
- class fiftyone.zoo.datasets.base.Caltech101Dataset#
Bases:
FiftyOneDatasetThe Caltech-101 dataset of images.
The dataset consists of pictures of objects belonging to 101 classes, plus one background clutter class (
BACKGROUND_Google). Each image is labelled with a single object.Each class contains roughly 40 to 800 images, totalling 9,144 images. Images are of variable sizes, with typical edge lengths of 200-300 pixels. This version contains image-level labels only.
Example usage:
import fiftyone as fo import fiftyone.zoo as foz dataset = foz.load_zoo_dataset("caltech101") session = fo.launch_app(dataset)
- Dataset size
138.60 MB
- Source
Attributes:
The name of the dataset.
The license or list,of,licenses under which the dataset is distributed, or None if unknown.
A tuple of tags for the dataset.
A tuple of supported splits for the dataset, or None if the dataset does not have splits.
Whether the dataset has patches that may need to be applied to already downloaded files.
Whether the dataset has splits.
Whether the dataset has tags.
A dict of default kwargs to pass to this dataset's
fiftyone.utils.data.importers.DatasetImporter.Whether the dataset is remotely-sourced.
An optional dict of parameters describing the configuration of the zoo dataset when it was downloaded.
Whether this dataset requires some files to be manually downloaded by the user before the dataset can be loaded.
Whether the dataset supports downloading partial subsets of its splits.
Methods:
download_and_prepare(dataset_dir[, split, ...])Downloads the dataset and prepares it for use.
get_info_path(dataset_dir)Returns the path to the
ZooDatasetInfofor the dataset.get_split_dir(dataset_dir, split)Returns the directory for the given split of the dataset.
has_info(dataset_dir)Determines whether the directory contains
ZooDatasetInfo.has_split(split)Whether the dataset has the given split.
has_tag(tag)Whether the dataset has the given tag.
load_info(dataset_dir[, upgrade, ...])Loads the
ZooDatasetInfofrom the given dataset directory.- property name#
The name of the dataset.
- property license#
The license or list,of,licenses under which the dataset is distributed, or None if unknown.
- property tags#
A tuple of tags for the dataset.
- property supported_splits#
A tuple of supported splits for the dataset, or None if the dataset does not have splits.
- download_and_prepare(dataset_dir, split=None, splits=None, cleanup=True)#
Downloads the dataset and prepares it for use.
If the requested splits have already been downloaded, they are not re-downloaded.
- Parameters:
dataset_dir – the directory in which to construct the dataset
split (None) –
splitnorsplitsare provided, the full dataset is downloadedsplits (None) – a list of splits to download, if applicable. If neither
splitnorsplitsare provided, the full dataset is downloadedcleanup (True) – whether to cleanup any temporary files generated during download
- Returns:
the
ZooDatasetInfofor the dataset
- static get_info_path(dataset_dir)#
Returns the path to the
ZooDatasetInfofor the dataset.- Parameters:
dataset_dir – the dataset directory
- Returns:
the path to the
ZooDatasetInfo
- get_split_dir(dataset_dir, split)#
Returns the directory for the given split of the dataset.
- Parameters:
dataset_dir – the dataset directory
split – the dataset split
- Returns:
the directory that will/does hold the specified split
- static has_info(dataset_dir)#
Determines whether the directory contains
ZooDatasetInfo.- Parameters:
dataset_dir – the dataset directory
- Returns:
True/False
- property has_patches#
Whether the dataset has patches that may need to be applied to already downloaded files.
- has_split(split)#
Whether the dataset has the given split.
- Parameters:
split – the dataset split
- Returns:
True/False
- property has_splits#
Whether the dataset has splits.
- has_tag(tag)#
Whether the dataset has the given tag.
- Parameters:
tag – the tag
- Returns:
True/False
- property has_tags#
Whether the dataset has tags.
- property importer_kwargs#
A dict of default kwargs to pass to this dataset’s
fiftyone.utils.data.importers.DatasetImporter.
- property is_remote#
Whether the dataset is remotely-sourced.
- static load_info(dataset_dir, upgrade=True, warn_deprecated=False)#
Loads the
ZooDatasetInfofrom the given dataset directory.- Parameters:
dataset_dir – the directory in which to construct the dataset
upgrade (True) – whether to upgrade the JSON file on disk if any migrations were necessary
warn_deprecated (False) – whether to issue a warning if the dataset has a deprecated format
- Returns:
the
ZooDatasetInfofor the dataset
- property parameters#
An optional dict of parameters describing the configuration of the zoo dataset when it was downloaded.
- property requires_manual_download#
Whether this dataset requires some files to be manually downloaded by the user before the dataset can be loaded.
- property supports_partial_downloads#
Whether the dataset supports downloading partial subsets of its splits.
- class fiftyone.zoo.datasets.base.Caltech256Dataset#
Bases:
FiftyOneDatasetThe Caltech-256 dataset of images.
The dataset consists of pictures of objects belonging to 256 classes, plus one background clutter class (
clutter). Each image is labelled with a single object.Each class contains between 80 and 827 images, totalling 30,607 images. Images are of variable sizes, with typical edge lengths of 80-800 pixels.
Example usage:
import fiftyone as fo import fiftyone.zoo as foz dataset = foz.load_zoo_dataset("caltech256") session = fo.launch_app(dataset)
- Dataset size
1.16 GB
- Source
Attributes:
The name of the dataset.
The license or list,of,licenses under which the dataset is distributed, or None if unknown.
A tuple of tags for the dataset.
A tuple of supported splits for the dataset, or None if the dataset does not have splits.
Whether the dataset has patches that may need to be applied to already downloaded files.
Whether the dataset has splits.
Whether the dataset has tags.
A dict of default kwargs to pass to this dataset's
fiftyone.utils.data.importers.DatasetImporter.Whether the dataset is remotely-sourced.
An optional dict of parameters describing the configuration of the zoo dataset when it was downloaded.
Whether this dataset requires some files to be manually downloaded by the user before the dataset can be loaded.
Whether the dataset supports downloading partial subsets of its splits.
Methods:
download_and_prepare(dataset_dir[, split, ...])Downloads the dataset and prepares it for use.
get_info_path(dataset_dir)Returns the path to the
ZooDatasetInfofor the dataset.get_split_dir(dataset_dir, split)Returns the directory for the given split of the dataset.
has_info(dataset_dir)Determines whether the directory contains
ZooDatasetInfo.has_split(split)Whether the dataset has the given split.
has_tag(tag)Whether the dataset has the given tag.
load_info(dataset_dir[, upgrade, ...])Loads the
ZooDatasetInfofrom the given dataset directory.- property name#
The name of the dataset.
- property license#
The license or list,of,licenses under which the dataset is distributed, or None if unknown.
- property tags#
A tuple of tags for the dataset.
- property supported_splits#
A tuple of supported splits for the dataset, or None if the dataset does not have splits.
- download_and_prepare(dataset_dir, split=None, splits=None, cleanup=True)#
Downloads the dataset and prepares it for use.
If the requested splits have already been downloaded, they are not re-downloaded.
- Parameters:
dataset_dir – the directory in which to construct the dataset
split (None) –
splitnorsplitsare provided, the full dataset is downloadedsplits (None) – a list of splits to download, if applicable. If neither
splitnorsplitsare provided, the full dataset is downloadedcleanup (True) – whether to cleanup any temporary files generated during download
- Returns:
the
ZooDatasetInfofor the dataset
- static get_info_path(dataset_dir)#
Returns the path to the
ZooDatasetInfofor the dataset.- Parameters:
dataset_dir – the dataset directory
- Returns:
the path to the
ZooDatasetInfo
- get_split_dir(dataset_dir, split)#
Returns the directory for the given split of the dataset.
- Parameters:
dataset_dir – the dataset directory
split – the dataset split
- Returns:
the directory that will/does hold the specified split
- static has_info(dataset_dir)#
Determines whether the directory contains
ZooDatasetInfo.- Parameters:
dataset_dir – the dataset directory
- Returns:
True/False
- property has_patches#
Whether the dataset has patches that may need to be applied to already downloaded files.
- has_split(split)#
Whether the dataset has the given split.
- Parameters:
split – the dataset split
- Returns:
True/False
- property has_splits#
Whether the dataset has splits.
- has_tag(tag)#
Whether the dataset has the given tag.
- Parameters:
tag – the tag
- Returns:
True/False
- property has_tags#
Whether the dataset has tags.
- property importer_kwargs#
A dict of default kwargs to pass to this dataset’s
fiftyone.utils.data.importers.DatasetImporter.
- property is_remote#
Whether the dataset is remotely-sourced.
- static load_info(dataset_dir, upgrade=True, warn_deprecated=False)#
Loads the
ZooDatasetInfofrom the given dataset directory.- Parameters:
dataset_dir – the directory in which to construct the dataset
upgrade (True) – whether to upgrade the JSON file on disk if any migrations were necessary
warn_deprecated (False) – whether to issue a warning if the dataset has a deprecated format
- Returns:
the
ZooDatasetInfofor the dataset
- property parameters#
An optional dict of parameters describing the configuration of the zoo dataset when it was downloaded.
- property requires_manual_download#
Whether this dataset requires some files to be manually downloaded by the user before the dataset can be loaded.
- property supports_partial_downloads#
Whether the dataset supports downloading partial subsets of its splits.
- class fiftyone.zoo.datasets.base.CityscapesDataset(source_dir=None, fine_annos=None, coarse_annos=None, person_annos=None)#
Bases:
FiftyOneDatasetCityscapes is a large-scale dataset that contains a diverse set of stereo video sequences recorded in street scenes from 50 different cities, with high quality pixel-level annotations of 5,000 frames in addition to a larger set of 20,000 weakly annotated frames.
The dataset is intended for:
Assessing the performance of vision algorithms for major tasks of semantic urban scene understanding: pixel-level, instance-level, and panoptic semantic labeling
Supporting research that aims to exploit large volumes of (weakly) annotated data, e.g. for training deep neural networks
In order to load the Cityscapes dataset, you must download the source data manually. The directory should be organized in the following format:
source_dir/ leftImg8bit_trainvaltest.zip gtFine_trainvaltest.zip # optional gtCoarse.zip # optional gtBbox_cityPersons_trainval.zip # optional
You can register at https://www.cityscapes-dataset.com/register in order to get links to download the data.
Example usage:
import fiftyone as fo import fiftyone.zoo as foz # The path to the source files that you manually downloaded source_dir = "/path/to/dir-with-cityscapes-files" dataset = foz.load_zoo_dataset( "cityscapes", split="validation", source_dir=source_dir, ) session = fo.launch_app(dataset)
- Dataset size
11.80 GB
- Source
- Parameters:
source_dir (None) – a directory containing the manually downloaded Cityscapes files
fine_annos (None) – whether to load the fine annotations (True), or not (False), or only if the ZIP file exists (None)
coarse_annos (None) – whether to load the coarse annotations (True), or not (False), or only if the ZIP file exists (None)
person_annos (None) – whether to load the personn detections (True), or not (False), or only if the ZIP file exists (None)
Attributes:
The name of the dataset.
The license or list,of,licenses under which the dataset is distributed, or None if unknown.
A tuple of tags for the dataset.
A tuple of supported splits for the dataset, or None if the dataset does not have splits.
Whether this dataset requires some files to be manually downloaded by the user before the dataset can be loaded.
Whether the dataset has patches that may need to be applied to already downloaded files.
Whether the dataset has splits.
Whether the dataset has tags.
A dict of default kwargs to pass to this dataset's
fiftyone.utils.data.importers.DatasetImporter.Whether the dataset is remotely-sourced.
An optional dict of parameters describing the configuration of the zoo dataset when it was downloaded.
Whether the dataset supports downloading partial subsets of its splits.
Methods:
download_and_prepare(dataset_dir[, split, ...])Downloads the dataset and prepares it for use.
get_info_path(dataset_dir)Returns the path to the
ZooDatasetInfofor the dataset.get_split_dir(dataset_dir, split)Returns the directory for the given split of the dataset.
has_info(dataset_dir)Determines whether the directory contains
ZooDatasetInfo.has_split(split)Whether the dataset has the given split.
has_tag(tag)Whether the dataset has the given tag.
load_info(dataset_dir[, upgrade, ...])Loads the
ZooDatasetInfofrom the given dataset directory.- property name#
The name of the dataset.
- property license#
The license or list,of,licenses under which the dataset is distributed, or None if unknown.
- property tags#
A tuple of tags for the dataset.
- property supported_splits#
A tuple of supported splits for the dataset, or None if the dataset does not have splits.
- property requires_manual_download#
Whether this dataset requires some files to be manually downloaded by the user before the dataset can be loaded.
- download_and_prepare(dataset_dir, split=None, splits=None, cleanup=True)#
Downloads the dataset and prepares it for use.
If the requested splits have already been downloaded, they are not re-downloaded.
- Parameters:
dataset_dir – the directory in which to construct the dataset
split (None) –
splitnorsplitsare provided, the full dataset is downloadedsplits (None) – a list of splits to download, if applicable. If neither
splitnorsplitsare provided, the full dataset is downloadedcleanup (True) – whether to cleanup any temporary files generated during download
- Returns:
the
ZooDatasetInfofor the dataset
- static get_info_path(dataset_dir)#
Returns the path to the
ZooDatasetInfofor the dataset.- Parameters:
dataset_dir – the dataset directory
- Returns:
the path to the
ZooDatasetInfo
- get_split_dir(dataset_dir, split)#
Returns the directory for the given split of the dataset.
- Parameters:
dataset_dir – the dataset directory
split – the dataset split
- Returns:
the directory that will/does hold the specified split
- static has_info(dataset_dir)#
Determines whether the directory contains
ZooDatasetInfo.- Parameters:
dataset_dir – the dataset directory
- Returns:
True/False
- property has_patches#
Whether the dataset has patches that may need to be applied to already downloaded files.
- has_split(split)#
Whether the dataset has the given split.
- Parameters:
split – the dataset split
- Returns:
True/False
- property has_splits#
Whether the dataset has splits.
- has_tag(tag)#
Whether the dataset has the given tag.
- Parameters:
tag – the tag
- Returns:
True/False
- property has_tags#
Whether the dataset has tags.
- property importer_kwargs#
A dict of default kwargs to pass to this dataset’s
fiftyone.utils.data.importers.DatasetImporter.
- property is_remote#
Whether the dataset is remotely-sourced.
- static load_info(dataset_dir, upgrade=True, warn_deprecated=False)#
Loads the
ZooDatasetInfofrom the given dataset directory.- Parameters:
dataset_dir – the directory in which to construct the dataset
upgrade (True) – whether to upgrade the JSON file on disk if any migrations were necessary
warn_deprecated (False) – whether to issue a warning if the dataset has a deprecated format
- Returns:
the
ZooDatasetInfofor the dataset
- property parameters#
An optional dict of parameters describing the configuration of the zoo dataset when it was downloaded.
- property supports_partial_downloads#
Whether the dataset supports downloading partial subsets of its splits.
- class fiftyone.zoo.datasets.base.COCO2014Dataset(label_types=None, classes=None, image_ids=None, num_workers=None, shuffle=None, seed=None, max_samples=None)#
Bases:
FiftyOneDatasetCOCO is a large-scale object detection, segmentation, and captioning dataset.
This version contains images, bounding boxes, and segmentations for the 2014 version of the dataset.
This dataset supports partial downloads:
You can specify subsets of data to download via the
label_types,classes, andmax_samplesparametersYou can specify specific images to load via the
image_idsparameter
See this page for more information about partial downloads of this dataset.
Full split stats:
Train split: 82,783 images
Test split: 40,775 images
Validation split: 40,504 images
Notes:
COCO defines 91 classes but the data only uses 80 classes
Some images from the train and validation sets don’t have annotations
The test set does not have annotations
COCO 2014 and 2017 use the same images, but the splits are different
Example usage:
import fiftyone as fo import fiftyone.zoo as foz # # Load 50 random samples from the validation split # # By default, only detections are loaded # dataset = foz.load_zoo_dataset( "coco-2014", split="validation", max_samples=50, shuffle=True, ) session = fo.launch_app(dataset) # # Load segmentations for 25 samples from the validation split that # contain cats and dogs # # Images that contain all `classes` will be prioritized first, followed # by images that contain at least one of the required `classes`. If # there are not enough images matching `classes` in the split to meet # `max_samples`, only the available images will be loaded. # # Images will only be downloaded if necessary # dataset = foz.load_zoo_dataset( "coco-2014", split="validation", label_types=["segmentations"], classes=["cat", "dog"], max_samples=25, ) session.dataset = dataset # # Download the entire validation split and load both detections and # segmentations # # Subsequent partial loads of the validation split will never require # downloading any images # dataset = foz.load_zoo_dataset( "coco-2014", split="validation", label_types=["detections", "segmentations"], ) session.dataset = dataset
- Dataset size
37.57 GB
- Source
- Parameters:
label_types (None) – a label type or list of label types to load. The supported values are
("detections", "segmentations"). By default, only “detections” are loadedclasses (None) – a string or list of strings specifying required classes to load. If provided, only samples containing at least one instance of a specified class will be loaded
image_ids (None) –
an optional list of specific image IDs to load. Can be provided in any of the following formats:
a list of
<image-id>ints or stringsa list of
<split>/<image-id>stringsthe path to a text (newline-separated), JSON, or CSV file containing the list of image IDs to load in either of the first two formats
num_workers (None) – a suggested number of threads to use when downloading individual images
shuffle (False) – whether to randomly shuffle the order in which samples are chosen for partial downloads
seed (None) – a random seed to use when shuffling
max_samples (None) – a maximum number of samples to load per split. If
label_typesand/orclassesare also specified, first priority will be given to samples that contain all of the specified label types and/or classes, followed by samples that contain at least one of the specified labels types or classes. The actual number of samples loaded may be less than this maximum value if the dataset does not contain sufficient samples matching your requirements. By default, all matching samples are loaded
Attributes:
The name of the dataset.
The license or list,of,licenses under which the dataset is distributed, or None if unknown.
A tuple of tags for the dataset.
A tuple of supported splits for the dataset, or None if the dataset does not have splits.
Whether the dataset supports downloading partial subsets of its splits.
A dict of default kwargs to pass to this dataset's
fiftyone.utils.data.importers.DatasetImporter.Whether the dataset has patches that may need to be applied to already downloaded files.
Whether the dataset has splits.
Whether the dataset has tags.
Whether the dataset is remotely-sourced.
An optional dict of parameters describing the configuration of the zoo dataset when it was downloaded.
Whether this dataset requires some files to be manually downloaded by the user before the dataset can be loaded.
Methods:
download_and_prepare(dataset_dir[, split, ...])Downloads the dataset and prepares it for use.
get_info_path(dataset_dir)Returns the path to the
ZooDatasetInfofor the dataset.get_split_dir(dataset_dir, split)Returns the directory for the given split of the dataset.
has_info(dataset_dir)Determines whether the directory contains
ZooDatasetInfo.has_split(split)Whether the dataset has the given split.
has_tag(tag)Whether the dataset has the given tag.
load_info(dataset_dir[, upgrade, ...])Loads the
ZooDatasetInfofrom the given dataset directory.- property name#
The name of the dataset.
- property license#
The license or list,of,licenses under which the dataset is distributed, or None if unknown.
- property tags#
A tuple of tags for the dataset.
- property supported_splits#
A tuple of supported splits for the dataset, or None if the dataset does not have splits.
- property supports_partial_downloads#
Whether the dataset supports downloading partial subsets of its splits.
- property importer_kwargs#
A dict of default kwargs to pass to this dataset’s
fiftyone.utils.data.importers.DatasetImporter.
- download_and_prepare(dataset_dir, split=None, splits=None, cleanup=True)#
Downloads the dataset and prepares it for use.
If the requested splits have already been downloaded, they are not re-downloaded.
- Parameters:
dataset_dir – the directory in which to construct the dataset
split (None) –
splitnorsplitsare provided, the full dataset is downloadedsplits (None) – a list of splits to download, if applicable. If neither
splitnorsplitsare provided, the full dataset is downloadedcleanup (True) – whether to cleanup any temporary files generated during download
- Returns:
the
ZooDatasetInfofor the dataset
- static get_info_path(dataset_dir)#
Returns the path to the
ZooDatasetInfofor the dataset.- Parameters:
dataset_dir – the dataset directory
- Returns:
the path to the
ZooDatasetInfo
- get_split_dir(dataset_dir, split)#
Returns the directory for the given split of the dataset.
- Parameters:
dataset_dir – the dataset directory
split – the dataset split
- Returns:
the directory that will/does hold the specified split
- static has_info(dataset_dir)#
Determines whether the directory contains
ZooDatasetInfo.- Parameters:
dataset_dir – the dataset directory
- Returns:
True/False
- property has_patches#
Whether the dataset has patches that may need to be applied to already downloaded files.
- has_split(split)#
Whether the dataset has the given split.
- Parameters:
split – the dataset split
- Returns:
True/False
- property has_splits#
Whether the dataset has splits.
- has_tag(tag)#
Whether the dataset has the given tag.
- Parameters:
tag – the tag
- Returns:
True/False
- property has_tags#
Whether the dataset has tags.
- property is_remote#
Whether the dataset is remotely-sourced.
- static load_info(dataset_dir, upgrade=True, warn_deprecated=False)#
Loads the
ZooDatasetInfofrom the given dataset directory.- Parameters:
dataset_dir – the directory in which to construct the dataset
upgrade (True) – whether to upgrade the JSON file on disk if any migrations were necessary
warn_deprecated (False) – whether to issue a warning if the dataset has a deprecated format
- Returns:
the
ZooDatasetInfofor the dataset
- property parameters#
An optional dict of parameters describing the configuration of the zoo dataset when it was downloaded.
- property requires_manual_download#
Whether this dataset requires some files to be manually downloaded by the user before the dataset can be loaded.
- class fiftyone.zoo.datasets.base.COCO2017Dataset(label_types=None, classes=None, image_ids=None, num_workers=None, shuffle=None, seed=None, max_samples=None)#
Bases:
FiftyOneDatasetCOCO is a large-scale object detection, segmentation, and captioning dataset.
This version contains images, bounding boxes, segmentations, and keypoints for the 2017 version of the dataset.
This dataset supports partial downloads:
You can specify subsets of data to download via the
label_types,classes, andmax_samplesparametersYou can specify specific images to load via the
image_idsparameter
See this page for more information about partial downloads of this dataset.
Full split stats:
Train split: 118,287 images
Test split: 40,670 images
Validation split: 5,000 images
Notes:
COCO defines 91 classes but the data only uses 80 classes
Some images from the train and validation sets don’t have annotations
The test set does not have annotations
COCO 2014 and 2017 use the same images, but the splits are different
Example usage:
import fiftyone as fo import fiftyone.zoo as foz # # Load 50 random samples from the validation split # # By default, only detections are loaded # dataset = foz.load_zoo_dataset( "coco-2017", split="validation", max_samples=50, shuffle=True, ) session = fo.launch_app(dataset) # # Load segmentations for 25 samples from the validation split that # contain cats and dogs # # Images that contain all `classes` will be prioritized first, followed # by images that contain at least one of the required `classes`. If # there are not enough images matching `classes` in the split to meet # `max_samples`, only the available images will be loaded. # # Images will only be downloaded if necessary # dataset = foz.load_zoo_dataset( "coco-2017", split="validation", label_types=["segmentations"], classes=["cat", "dog"], max_samples=25, ) session.dataset = dataset # # Download the entire validation split and load both detections and # segmentations # # Subsequent partial loads of the validation split will never require # downloading any images # dataset = foz.load_zoo_dataset( "coco-2017", split="validation", label_types=["detections", "segmentations"], ) session.dataset = dataset
- Dataset size
25.20 GB
- Source
- Parameters:
label_types (None) – a label type or list of label types to load. The supported values are
("detections", "segmentations"). By default, only “detections” are loadedclasses (None) – a string or list of strings specifying required classes to load. If provided, only samples containing at least one instance of a specified class will be loaded
image_ids (None) –
an optional list of specific image IDs to load. Can be provided in any of the following formats:
a list of
<image-id>ints or stringsa list of
<split>/<image-id>stringsthe path to a text (newline-separated), JSON, or CSV file containing the list of image IDs to load in either of the first two formats
num_workers (None) – a suggested number of threads to use when downloading individual images
shuffle (False) – whether to randomly shuffle the order in which samples are chosen for partial downloads
seed (None) – a random seed to use when shuffling
max_samples (None) – a maximum number of samples to load per split. If
label_typesand/orclassesare also specified, first priority will be given to samples that contain all of the specified label types and/or classes, followed by samples that contain at least one of the specified labels types or classes. The actual number of samples loaded may be less than this maximum value if the dataset does not contain sufficient samples matching your requirements. By default, all matching samples are loaded
Attributes:
The name of the dataset.
The license or list,of,licenses under which the dataset is distributed, or None if unknown.
A tuple of tags for the dataset.
A tuple of supported splits for the dataset, or None if the dataset does not have splits.
Whether the dataset supports downloading partial subsets of its splits.
A dict of default kwargs to pass to this dataset's
fiftyone.utils.data.importers.DatasetImporter.Whether the dataset has patches that may need to be applied to already downloaded files.
Whether the dataset has splits.
Whether the dataset has tags.
Whether the dataset is remotely-sourced.
An optional dict of parameters describing the configuration of the zoo dataset when it was downloaded.
Whether this dataset requires some files to be manually downloaded by the user before the dataset can be loaded.
Methods:
download_and_prepare(dataset_dir[, split, ...])Downloads the dataset and prepares it for use.
get_info_path(dataset_dir)Returns the path to the
ZooDatasetInfofor the dataset.get_split_dir(dataset_dir, split)Returns the directory for the given split of the dataset.
has_info(dataset_dir)Determines whether the directory contains
ZooDatasetInfo.has_split(split)Whether the dataset has the given split.
has_tag(tag)Whether the dataset has the given tag.
load_info(dataset_dir[, upgrade, ...])Loads the
ZooDatasetInfofrom the given dataset directory.- property name#
The name of the dataset.
- property license#
The license or list,of,licenses under which the dataset is distributed, or None if unknown.
- property tags#
A tuple of tags for the dataset.
- property supported_splits#
A tuple of supported splits for the dataset, or None if the dataset does not have splits.
- property supports_partial_downloads#
Whether the dataset supports downloading partial subsets of its splits.
- property importer_kwargs#
A dict of default kwargs to pass to this dataset’s
fiftyone.utils.data.importers.DatasetImporter.
- download_and_prepare(dataset_dir, split=None, splits=None, cleanup=True)#
Downloads the dataset and prepares it for use.
If the requested splits have already been downloaded, they are not re-downloaded.
- Parameters:
dataset_dir – the directory in which to construct the dataset
split (None) –
splitnorsplitsare provided, the full dataset is downloadedsplits (None) – a list of splits to download, if applicable. If neither
splitnorsplitsare provided, the full dataset is downloadedcleanup (True) – whether to cleanup any temporary files generated during download
- Returns:
the
ZooDatasetInfofor the dataset
- static get_info_path(dataset_dir)#
Returns the path to the
ZooDatasetInfofor the dataset.- Parameters:
dataset_dir – the dataset directory
- Returns:
the path to the
ZooDatasetInfo
- get_split_dir(dataset_dir, split)#
Returns the directory for the given split of the dataset.
- Parameters:
dataset_dir – the dataset directory
split – the dataset split
- Returns:
the directory that will/does hold the specified split
- static has_info(dataset_dir)#
Determines whether the directory contains
ZooDatasetInfo.- Parameters:
dataset_dir – the dataset directory
- Returns:
True/False
- property has_patches#
Whether the dataset has patches that may need to be applied to already downloaded files.
- has_split(split)#
Whether the dataset has the given split.
- Parameters:
split – the dataset split
- Returns:
True/False
- property has_splits#
Whether the dataset has splits.
- has_tag(tag)#
Whether the dataset has the given tag.
- Parameters:
tag – the tag
- Returns:
True/False
- property has_tags#
Whether the dataset has tags.
- property is_remote#
Whether the dataset is remotely-sourced.
- static load_info(dataset_dir, upgrade=True, warn_deprecated=False)#
Loads the
ZooDatasetInfofrom the given dataset directory.- Parameters:
dataset_dir – the directory in which to construct the dataset
upgrade (True) – whether to upgrade the JSON file on disk if any migrations were necessary
warn_deprecated (False) – whether to issue a warning if the dataset has a deprecated format
- Returns:
the
ZooDatasetInfofor the dataset
- property parameters#
An optional dict of parameters describing the configuration of the zoo dataset when it was downloaded.
- property requires_manual_download#
Whether this dataset requires some files to be manually downloaded by the user before the dataset can be loaded.
- class fiftyone.zoo.datasets.base.SamaCOCODataset(label_types=None, classes=None, image_ids=None, num_workers=None, shuffle=None, seed=None, max_samples=None)#
Bases:
FiftyOneDatasetSama-COCO is a large-scale object detection, segmentation, and captioning dataset based on COCO2017. It is a relabeling of the original training and validation sets with tighter polygons and more individually annotated crowds.
This version contains images, bounding boxes and segmentations for Sama’s version of the 2017 version of the dataset.
This dataset supports partial downloads:
You can specify subsets of data to download via the
label_types,classes, andmax_samplesparametersYou can specify specific images to load via the
image_idsparameter
See this page for more information about partial downloads of this dataset.
Full split stats:
Train split: 118,287 images
Test split: 40,670 images
Validation split: 5,000 images
Notes:
COCO defines 91 classes but the data only uses 80 classes
Some images from the train and validation sets don’t have annotations
The test set does not have annotations
Sama-COCO may have some discrepancies with COCO-2017 in terms of the instances labeled
Example usage:
import fiftyone as fo import fiftyone.zoo as foz # # Load 50 random samples from the validation split # # By default, only detections are loaded # dataset = foz.load_zoo_dataset( "sama-coco", split="validation", max_samples=50, shuffle=True, ) session = fo.launch_app(dataset) # # Load segmentations for 25 samples from the validation split that # contain cats and dogs # # Images that contain all `classes` will be prioritized first, followed # by images that contain at least one of the required `classes`. If # there are not enough images matching `classes` in the split to meet # `max_samples`, only the available images will be loaded. # # Images will only be downloaded if necessary # dataset = foz.load_zoo_dataset( "sama-coco", split="validation", label_types=["segmentations"], classes=["cat", "dog"], max_samples=25, ) session.dataset = dataset # # Download the entire validation split and load both detections and # segmentations # # Subsequent partial loads of the validation split will never require # downloading any images # dataset = foz.load_zoo_dataset( "sama-coco", split="validation", label_types=["detections", "segmentations"], ) session.dataset = dataset
- Dataset size
25.67 GB
- Source
- Parameters:
label_types (None) – a label type or list of label types to load. The supported values are
("detections", "segmentations"). By default, only “detections” are loadedclasses (None) – a string or list of strings specifying required classes to load. If provided, only samples containing at least one instance of a specified class will be loaded
image_ids (None) –
an optional list of specific image IDs to load. Can be provided in any of the following formats:
a list of
<image-id>ints or stringsa list of
<split>/<image-id>stringsthe path to a text (newline-separated), JSON, or CSV file containing the list of image IDs to load in either of the first two formats
num_workers (None) – a suggested number of threads to use when downloading individual images
shuffle (False) – whether to randomly shuffle the order in which samples are chosen for partial downloads
seed (None) – a random seed to use when shuffling
max_samples (None) – a maximum number of samples to load per split. If
label_typesand/orclassesare also specified, first priority will be given to samples that contain all of the specified label types and/or classes, followed by samples that contain at least one of the specified labels types or classes. The actual number of samples loaded may be less than this maximum value if the dataset does not contain sufficient samples matching your requirements. By default, all matching samples are loaded
Attributes:
The name of the dataset.
The license or list,of,licenses under which the dataset is distributed, or None if unknown.
A tuple of tags for the dataset.
A tuple of supported splits for the dataset, or None if the dataset does not have splits.
Whether the dataset supports downloading partial subsets of its splits.
A dict of default kwargs to pass to this dataset's
fiftyone.utils.data.importers.DatasetImporter.Whether the dataset has patches that may need to be applied to already downloaded files.
Whether the dataset has splits.
Whether the dataset has tags.
Whether the dataset is remotely-sourced.
An optional dict of parameters describing the configuration of the zoo dataset when it was downloaded.
Whether this dataset requires some files to be manually downloaded by the user before the dataset can be loaded.
Methods:
download_and_prepare(dataset_dir[, split, ...])Downloads the dataset and prepares it for use.
get_info_path(dataset_dir)Returns the path to the
ZooDatasetInfofor the dataset.get_split_dir(dataset_dir, split)Returns the directory for the given split of the dataset.
has_info(dataset_dir)Determines whether the directory contains
ZooDatasetInfo.has_split(split)Whether the dataset has the given split.
has_tag(tag)Whether the dataset has the given tag.
load_info(dataset_dir[, upgrade, ...])Loads the
ZooDatasetInfofrom the given dataset directory.- property name#
The name of the dataset.
- property license#
The license or list,of,licenses under which the dataset is distributed, or None if unknown.
- property tags#
A tuple of tags for the dataset.
- property supported_splits#
A tuple of supported splits for the dataset, or None if the dataset does not have splits.
- property supports_partial_downloads#
Whether the dataset supports downloading partial subsets of its splits.
- property importer_kwargs#
A dict of default kwargs to pass to this dataset’s
fiftyone.utils.data.importers.DatasetImporter.
- download_and_prepare(dataset_dir, split=None, splits=None, cleanup=True)#
Downloads the dataset and prepares it for use.
If the requested splits have already been downloaded, they are not re-downloaded.
- Parameters:
dataset_dir – the directory in which to construct the dataset
split (None) –
splitnorsplitsare provided, the full dataset is downloadedsplits (None) – a list of splits to download, if applicable. If neither
splitnorsplitsare provided, the full dataset is downloadedcleanup (True) – whether to cleanup any temporary files generated during download
- Returns:
the
ZooDatasetInfofor the dataset
- static get_info_path(dataset_dir)#
Returns the path to the
ZooDatasetInfofor the dataset.- Parameters:
dataset_dir – the dataset directory
- Returns:
the path to the
ZooDatasetInfo
- get_split_dir(dataset_dir, split)#
Returns the directory for the given split of the dataset.
- Parameters:
dataset_dir – the dataset directory
split – the dataset split
- Returns:
the directory that will/does hold the specified split
- static has_info(dataset_dir)#
Determines whether the directory contains
ZooDatasetInfo.- Parameters:
dataset_dir – the dataset directory
- Returns:
True/False
- property has_patches#
Whether the dataset has patches that may need to be applied to already downloaded files.
- has_split(split)#
Whether the dataset has the given split.
- Parameters:
split – the dataset split
- Returns:
True/False
- property has_splits#
Whether the dataset has splits.
- has_tag(tag)#
Whether the dataset has the given tag.
- Parameters:
tag – the tag
- Returns:
True/False
- property has_tags#
Whether the dataset has tags.
- property is_remote#
Whether the dataset is remotely-sourced.
- static load_info(dataset_dir, upgrade=True, warn_deprecated=False)#
Loads the
ZooDatasetInfofrom the given dataset directory.- Parameters:
dataset_dir – the directory in which to construct the dataset
upgrade (True) – whether to upgrade the JSON file on disk if any migrations were necessary
warn_deprecated (False) – whether to issue a warning if the dataset has a deprecated format
- Returns:
the
ZooDatasetInfofor the dataset
- property parameters#
An optional dict of parameters describing the configuration of the zoo dataset when it was downloaded.
- property requires_manual_download#
Whether this dataset requires some files to be manually downloaded by the user before the dataset can be loaded.
- class fiftyone.zoo.datasets.base.FIWDataset#
Bases:
FiftyOneDatasetFamilies in the Wild is a public benchmark for recognizing families via facial images. The dataset contains over 26,642 images of 5,037 faces collected from 978 families. A unique Family ID (FID) is assigned per family, ranging from F0001-F1018 (i.e., some families were merged or removed since its first release in 2016). The dataset is a continued work in progress. Any contributions are both welcome and appreciated!
Faces were cropped from imagery using the five-point face detector MTCNN from various phototypes (i.e., mostly family photos, along with several profile pics of individuals (facial shots). The number of members per family varies from 3-to-26, with the number of faces per subject ranging from 1 to >10.
Various levels and types of labels are associated with samples in this dataset. Family-level labels contain a list of members, each assigned a member ID (MID) unique to that respective family (e.g., F0011.MID2 refers to member 2 of family 11). Each member has annotations specifying gender and relationship to all other members in that respective family.
The relationships in FIW are:
ID
Type
0
not related or self
1
child
2
sibling
3
grandchild
4
parent
5
spouse
6
grandparent
7
great grandchild
8
great grandparent
9
TBD
Within FiftyOne, each sample corresponds to a single face image and contains primitive labels of the Family ID, Member ID, etc. The relationship labels are stored as multi-label classifications, where each classification represents one relationship that the member has with another member in the family. The number of relationships will differ from one person to the next, but all faces of one person will have the same relationship labels.
Additionally, the labels for the Kinship Verification task are also loaded into this dataset through FiftyOne. These labels are stored as classifications just like relationships, but the labels of kinship differ from those defined above. For example, rather than Parent, the label might be
fdrepresenting a Father-Daughter kinship ormdfor Mother-Daughter.In order to make it easier to browse the dataset in the FiftyOne App, each sample also contains a
face_idfield containing a unique integer for each face of a member, always starting at 0. This allows you to filter theface_idfield to 0 in the App to show only a single image of each person.For your reference, the relationship labels are stored in disk in a matrix that provides the relationship of each member with other members of the family as well as names and genders. The i-th rows represent the i-th family member’s relationship to the j-th other members.
For example,
FID0001.csvcontains:- MID 1 2 3 Name Gender
1 0 4 5 name1 f 2 1 0 1 name2 f 3 5 4 0 name3 m
Here we have three family members, as listed under the MID column (far-left). Each MID reads across its row. We can see that MID1 is related to MID2 by 4 -> 1 (Parent -> Child), which of course can be viewed as the inverse, i.e., MID2 -> MID1 is 1 -> 4. It can also be seen that MID1 and MID3 are spouses of one another, i.e., 5 -> 5.
Note
The spouse label will likely be removed in future version of this dataset. It serves no value to the problem of kinship.
For more information on the data (e.g., statistics, task evaluations, benchmarks, and more), see the recent journal:
Robinson, JP, M. Shao, and Y. Fu. “Survey on the Analysis and Modeling of Visual Kinship: A Decade in the Making.” IEEE Transactions on Pattern Analysis and Machine Intelligence (PAMI), 2021.
Note
For your convenience, FiftyOne provides
get_pairwise_labels()andget_identifier_filepaths_map()utilities for FIW.Example usage:
import fiftyone as fo import fiftyone.zoo as foz dataset = foz.load_zoo_dataset("fiw", split="test") session = fo.launch_app(dataset)
- Dataset size
173.00 MB
- Source
Attributes:
The name of the dataset.
The license or list,of,licenses under which the dataset is distributed, or None if unknown.
A tuple of tags for the dataset.
A tuple of supported splits for the dataset, or None if the dataset does not have splits.
Whether the dataset has patches that may need to be applied to already downloaded files.
Whether the dataset has splits.
Whether the dataset has tags.
A dict of default kwargs to pass to this dataset's
fiftyone.utils.data.importers.DatasetImporter.Whether the dataset is remotely-sourced.
An optional dict of parameters describing the configuration of the zoo dataset when it was downloaded.
Whether this dataset requires some files to be manually downloaded by the user before the dataset can be loaded.
Whether the dataset supports downloading partial subsets of its splits.
Methods:
download_and_prepare(dataset_dir[, split, ...])Downloads the dataset and prepares it for use.
get_info_path(dataset_dir)Returns the path to the
ZooDatasetInfofor the dataset.get_split_dir(dataset_dir, split)Returns the directory for the given split of the dataset.
has_info(dataset_dir)Determines whether the directory contains
ZooDatasetInfo.has_split(split)Whether the dataset has the given split.
has_tag(tag)Whether the dataset has the given tag.
load_info(dataset_dir[, upgrade, ...])Loads the
ZooDatasetInfofrom the given dataset directory.- property name#
The name of the dataset.
- property license#
The license or list,of,licenses under which the dataset is distributed, or None if unknown.
- property tags#
A tuple of tags for the dataset.
- property supported_splits#
A tuple of supported splits for the dataset, or None if the dataset does not have splits.
- download_and_prepare(dataset_dir, split=None, splits=None, cleanup=True)#
Downloads the dataset and prepares it for use.
If the requested splits have already been downloaded, they are not re-downloaded.
- Parameters:
dataset_dir – the directory in which to construct the dataset
split (None) –
splitnorsplitsare provided, the full dataset is downloadedsplits (None) – a list of splits to download, if applicable. If neither
splitnorsplitsare provided, the full dataset is downloadedcleanup (True) – whether to cleanup any temporary files generated during download
- Returns:
the
ZooDatasetInfofor the dataset
- static get_info_path(dataset_dir)#
Returns the path to the
ZooDatasetInfofor the dataset.- Parameters:
dataset_dir – the dataset directory
- Returns:
the path to the
ZooDatasetInfo
- get_split_dir(dataset_dir, split)#
Returns the directory for the given split of the dataset.
- Parameters:
dataset_dir – the dataset directory
split – the dataset split
- Returns:
the directory that will/does hold the specified split
- static has_info(dataset_dir)#
Determines whether the directory contains
ZooDatasetInfo.- Parameters:
dataset_dir – the dataset directory
- Returns:
True/False
- property has_patches#
Whether the dataset has patches that may need to be applied to already downloaded files.
- has_split(split)#
Whether the dataset has the given split.
- Parameters:
split – the dataset split
- Returns:
True/False
- property has_splits#
Whether the dataset has splits.
- has_tag(tag)#
Whether the dataset has the given tag.
- Parameters:
tag – the tag
- Returns:
True/False
- property has_tags#
Whether the dataset has tags.
- property importer_kwargs#
A dict of default kwargs to pass to this dataset’s
fiftyone.utils.data.importers.DatasetImporter.
- property is_remote#
Whether the dataset is remotely-sourced.
- static load_info(dataset_dir, upgrade=True, warn_deprecated=False)#
Loads the
ZooDatasetInfofrom the given dataset directory.- Parameters:
dataset_dir – the directory in which to construct the dataset
upgrade (True) – whether to upgrade the JSON file on disk if any migrations were necessary
warn_deprecated (False) – whether to issue a warning if the dataset has a deprecated format
- Returns:
the
ZooDatasetInfofor the dataset
- property parameters#
An optional dict of parameters describing the configuration of the zoo dataset when it was downloaded.
- property requires_manual_download#
Whether this dataset requires some files to be manually downloaded by the user before the dataset can be loaded.
- property supports_partial_downloads#
Whether the dataset supports downloading partial subsets of its splits.
- class fiftyone.zoo.datasets.base.HMDB51Dataset(fold=1)#
Bases:
FiftyOneDatasetHMDB51 is an action recognition dataset containing a total of 6,766 clips distributed across 51 action classes.
Example usage:
import fiftyone as fo import fiftyone.zoo as foz dataset = foz.load_zoo_dataset("hmdb51", split="test") session = fo.launch_app(dataset)
- Dataset size
2.16 GB
- Source
https://serre-lab.clps.brown.edu/resource/hmdb-a-large-human-motion-database
- Parameters:
fold (1) – the test/train fold to use to arrange the files on disk. The supported values are
(1, 2, 3)
Attributes:
The name of the dataset.
The license or list,of,licenses under which the dataset is distributed, or None if unknown.
A tuple of tags for the dataset.
An optional dict of parameters describing the configuration of the zoo dataset when it was downloaded.
A tuple of supported splits for the dataset, or None if the dataset does not have splits.
Whether the dataset has patches that may need to be applied to already downloaded files.
Whether the dataset has splits.
Whether the dataset has tags.
A dict of default kwargs to pass to this dataset's
fiftyone.utils.data.importers.DatasetImporter.Whether the dataset is remotely-sourced.
Whether this dataset requires some files to be manually downloaded by the user before the dataset can be loaded.
Whether the dataset supports downloading partial subsets of its splits.
Methods:
download_and_prepare(dataset_dir[, split, ...])Downloads the dataset and prepares it for use.
get_info_path(dataset_dir)Returns the path to the
ZooDatasetInfofor the dataset.get_split_dir(dataset_dir, split)Returns the directory for the given split of the dataset.
has_info(dataset_dir)Determines whether the directory contains
ZooDatasetInfo.has_split(split)Whether the dataset has the given split.
has_tag(tag)Whether the dataset has the given tag.
load_info(dataset_dir[, upgrade, ...])Loads the
ZooDatasetInfofrom the given dataset directory.- property name#
The name of the dataset.
- property license#
The license or list,of,licenses under which the dataset is distributed, or None if unknown.
- property tags#
A tuple of tags for the dataset.
- property parameters#
An optional dict of parameters describing the configuration of the zoo dataset when it was downloaded.
- property supported_splits#
A tuple of supported splits for the dataset, or None if the dataset does not have splits.
- download_and_prepare(dataset_dir, split=None, splits=None, cleanup=True)#
Downloads the dataset and prepares it for use.
If the requested splits have already been downloaded, they are not re-downloaded.
- Parameters:
dataset_dir – the directory in which to construct the dataset
split (None) –
splitnorsplitsare provided, the full dataset is downloadedsplits (None) – a list of splits to download, if applicable. If neither
splitnorsplitsare provided, the full dataset is downloadedcleanup (True) – whether to cleanup any temporary files generated during download
- Returns:
the
ZooDatasetInfofor the dataset
- static get_info_path(dataset_dir)#
Returns the path to the
ZooDatasetInfofor the dataset.- Parameters:
dataset_dir – the dataset directory
- Returns:
the path to the
ZooDatasetInfo
- get_split_dir(dataset_dir, split)#
Returns the directory for the given split of the dataset.
- Parameters:
dataset_dir – the dataset directory
split – the dataset split
- Returns:
the directory that will/does hold the specified split
- static has_info(dataset_dir)#
Determines whether the directory contains
ZooDatasetInfo.- Parameters:
dataset_dir – the dataset directory
- Returns:
True/False
- property has_patches#
Whether the dataset has patches that may need to be applied to already downloaded files.
- has_split(split)#
Whether the dataset has the given split.
- Parameters:
split – the dataset split
- Returns:
True/False
- property has_splits#
Whether the dataset has splits.
- has_tag(tag)#
Whether the dataset has the given tag.
- Parameters:
tag – the tag
- Returns:
True/False
- property has_tags#
Whether the dataset has tags.
- property importer_kwargs#
A dict of default kwargs to pass to this dataset’s
fiftyone.utils.data.importers.DatasetImporter.
- property is_remote#
Whether the dataset is remotely-sourced.
- static load_info(dataset_dir, upgrade=True, warn_deprecated=False)#
Loads the
ZooDatasetInfofrom the given dataset directory.- Parameters:
dataset_dir – the directory in which to construct the dataset
upgrade (True) – whether to upgrade the JSON file on disk if any migrations were necessary
warn_deprecated (False) – whether to issue a warning if the dataset has a deprecated format
- Returns:
the
ZooDatasetInfofor the dataset
- property requires_manual_download#
Whether this dataset requires some files to be manually downloaded by the user before the dataset can be loaded.
- property supports_partial_downloads#
Whether the dataset supports downloading partial subsets of its splits.
- class fiftyone.zoo.datasets.base.ImageNetSampleDataset#
Bases:
FiftyOneDatasetA small sample of images from the ImageNet 2012 dataset.
The dataset contains 1,000 images, one randomly chosen from each class of the validation split of the ImageNet 2012 dataset.
These images are provided according to the terms below:
You have been granted access for non-commercial research/educational use. By accessing the data, you have agreed to the following terms. You (the "Researcher") have requested permission to use the ImageNet database (the "Database") at Princeton University and Stanford University. In exchange for such permission, Researcher hereby agrees to the following terms and conditions: 1. Researcher shall use the Database only for non-commercial research and educational purposes. 2. Princeton University and Stanford University make no representations or warranties regarding the Database, including but not limited to warranties of non-infringement or fitness for a particular purpose. 3. Researcher accepts full responsibility for his or her use of the Database and shall defend and indemnify Princeton University and Stanford University, including their employees, Trustees, officers and agents, against any and all claims arising from Researcher's use of the Database, including but not limited to Researcher's use of any copies of copyrighted images that he or she may create from the Database. 4. Researcher may provide research associates and colleagues with access to the Database provided that they first agree to be bound by these terms and conditions. 5. Princeton University and Stanford University reserve the right to terminate Researcher's access to the Database at any time. 6. If Researcher is employed by a for-profit, commercial entity, Researcher's employer shall also be bound by these terms and conditions, and Researcher hereby represents that he or she is fully authorized to enter into this agreement on behalf of such employer. 7. The law of the State of New Jersey shall apply to all disputes under this agreement.Example usage:
import fiftyone as fo import fiftyone.zoo as foz dataset = foz.load_zoo_dataset("imagenet-sample") session = fo.launch_app(dataset)
- Dataset size
98.26 MB
- Source
Attributes:
The name of the dataset.
The license or list,of,licenses under which the dataset is distributed, or None if unknown.
A tuple of tags for the dataset.
A tuple of supported splits for the dataset, or None if the dataset does not have splits.
Whether the dataset has patches that may need to be applied to already downloaded files.
Whether the dataset has splits.
Whether the dataset has tags.
A dict of default kwargs to pass to this dataset's
fiftyone.utils.data.importers.DatasetImporter.Whether the dataset is remotely-sourced.
An optional dict of parameters describing the configuration of the zoo dataset when it was downloaded.
Whether this dataset requires some files to be manually downloaded by the user before the dataset can be loaded.
Whether the dataset supports downloading partial subsets of its splits.
Methods:
download_and_prepare(dataset_dir[, split, ...])Downloads the dataset and prepares it for use.
get_info_path(dataset_dir)Returns the path to the
ZooDatasetInfofor the dataset.get_split_dir(dataset_dir, split)Returns the directory for the given split of the dataset.
has_info(dataset_dir)Determines whether the directory contains
ZooDatasetInfo.has_split(split)Whether the dataset has the given split.
has_tag(tag)Whether the dataset has the given tag.
load_info(dataset_dir[, upgrade, ...])Loads the
ZooDatasetInfofrom the given dataset directory.- property name#
The name of the dataset.
- property license#
The license or list,of,licenses under which the dataset is distributed, or None if unknown.
- property tags#
A tuple of tags for the dataset.
- property supported_splits#
A tuple of supported splits for the dataset, or None if the dataset does not have splits.
- download_and_prepare(dataset_dir, split=None, splits=None, cleanup=True)#
Downloads the dataset and prepares it for use.
If the requested splits have already been downloaded, they are not re-downloaded.
- Parameters:
dataset_dir – the directory in which to construct the dataset
split (None) –
splitnorsplitsare provided, the full dataset is downloadedsplits (None) – a list of splits to download, if applicable. If neither
splitnorsplitsare provided, the full dataset is downloadedcleanup (True) – whether to cleanup any temporary files generated during download
- Returns:
the
ZooDatasetInfofor the dataset
- static get_info_path(dataset_dir)#
Returns the path to the
ZooDatasetInfofor the dataset.- Parameters:
dataset_dir – the dataset directory
- Returns:
the path to the
ZooDatasetInfo
- get_split_dir(dataset_dir, split)#
Returns the directory for the given split of the dataset.
- Parameters:
dataset_dir – the dataset directory
split – the dataset split
- Returns:
the directory that will/does hold the specified split
- static has_info(dataset_dir)#
Determines whether the directory contains
ZooDatasetInfo.- Parameters:
dataset_dir – the dataset directory
- Returns:
True/False
- property has_patches#
Whether the dataset has patches that may need to be applied to already downloaded files.
- has_split(split)#
Whether the dataset has the given split.
- Parameters:
split – the dataset split
- Returns:
True/False
- property has_splits#
Whether the dataset has splits.
- has_tag(tag)#
Whether the dataset has the given tag.
- Parameters:
tag – the tag
- Returns:
True/False
- property has_tags#
Whether the dataset has tags.
- property importer_kwargs#
A dict of default kwargs to pass to this dataset’s
fiftyone.utils.data.importers.DatasetImporter.
- property is_remote#
Whether the dataset is remotely-sourced.
- static load_info(dataset_dir, upgrade=True, warn_deprecated=False)#
Loads the
ZooDatasetInfofrom the given dataset directory.- Parameters:
dataset_dir – the directory in which to construct the dataset
upgrade (True) – whether to upgrade the JSON file on disk if any migrations were necessary
warn_deprecated (False) – whether to issue a warning if the dataset has a deprecated format
- Returns:
the
ZooDatasetInfofor the dataset
- property parameters#
An optional dict of parameters describing the configuration of the zoo dataset when it was downloaded.
- property requires_manual_download#
Whether this dataset requires some files to be manually downloaded by the user before the dataset can be loaded.
- property supports_partial_downloads#
Whether the dataset supports downloading partial subsets of its splits.
- class fiftyone.zoo.datasets.base.Kinetics400Dataset(classes=None, num_workers=None, shuffle=None, seed=None, max_samples=None)#
Bases:
FiftyOneDatasetKinetics is a collection of large-scale, high-quality datasets of URL links of up to 650,000 video clips that cover 400/600/700 human action classes, depending on the dataset version. The videos include human-object interactions such as playing instruments, as well as human-human interactions such as shaking hands and hugging. Each action class has at least 400/600/700 video clips. Each clip is human annotated with a single action class and lasts around 10 seconds.
This dataset contains videos and action classifications for the 400 class version of the dataset.
This dataset supports partial downloads:
You can specify subsets of data to download via the
classesandmax_samplesparameters
See this page for more information about partial downloads of this dataset.
Original split stats:
Train split: 219,782 videos
Test split: 35,357 videos
Validation split: 18,035 videos
CVDF split stats:
Train split: 246,534 videos
Test split: 39,805 videos
Validation split: 19,906 videos
Example usage:
import fiftyone as fo import fiftyone.zoo as foz # # Load 10 random samples from the validation split # # Only the required videos will be downloaded (if necessary). # dataset = foz.load_zoo_dataset( "kinetics-400", split="validation", max_samples=10, shuffle=True, ) session = fo.launch_app(dataset) # # Load 10 samples from the validation split that # contain the actions "springboard diving" and "surfing water" # # Videos that contain all `classes` will be prioritized first, followed # by videos that contain at least one of the required `classes`. If # there are not enough videos matching `classes` in the split to meet # `max_samples`, only the available videos will be loaded. # # Videos will only be downloaded if necessary # # Subsequent partial loads of the validation split will never require # downloading any videos # dataset = foz.load_zoo_dataset( "kinetics-400", split="validation", classes=["springboard diving", "surfing water"], max_samples=10, ) session.dataset = dataset
Dataset size
Train split: 370 GB
Test split: 56 GB
Validation split: 30 GB
- Parameters:
classes (None) – a string or list of strings specifying required classes to load. If provided, only samples containing at least one instance of a specified class will be loaded
num_workers (None) – a suggested number of threads to use when downloading individual images
shuffle (False) – whether to randomly shuffle the order in which samples are chosen for partial downloads
seed (None) – a random seed to use when shuffling
max_samples (None) – a maximum number of samples to load per split. If
classesare also specified, only up to the number of samples that contain at least one specified class will be loaded. By default, all matching samples are loaded
Attributes:
The name of the dataset.
The license or list,of,licenses under which the dataset is distributed, or None if unknown.
A tuple of tags for the dataset.
A tuple of supported splits for the dataset, or None if the dataset does not have splits.
Whether the dataset supports downloading partial subsets of its splits.
Whether the dataset has patches that may need to be applied to already downloaded files.
Whether the dataset has splits.
Whether the dataset has tags.
A dict of default kwargs to pass to this dataset's
fiftyone.utils.data.importers.DatasetImporter.Whether the dataset is remotely-sourced.
An optional dict of parameters describing the configuration of the zoo dataset when it was downloaded.
Whether this dataset requires some files to be manually downloaded by the user before the dataset can be loaded.
Methods:
download_and_prepare(dataset_dir[, split, ...])Downloads the dataset and prepares it for use.
get_info_path(dataset_dir)Returns the path to the
ZooDatasetInfofor the dataset.get_split_dir(dataset_dir, split)Returns the directory for the given split of the dataset.
has_info(dataset_dir)Determines whether the directory contains
ZooDatasetInfo.has_split(split)Whether the dataset has the given split.
has_tag(tag)Whether the dataset has the given tag.
load_info(dataset_dir[, upgrade, ...])Loads the
ZooDatasetInfofrom the given dataset directory.- property name#
The name of the dataset.
- property license#
The license or list,of,licenses under which the dataset is distributed, or None if unknown.
- property tags#
A tuple of tags for the dataset.
- property supported_splits#
A tuple of supported splits for the dataset, or None if the dataset does not have splits.
- property supports_partial_downloads#
Whether the dataset supports downloading partial subsets of its splits.
- download_and_prepare(dataset_dir, split=None, splits=None, cleanup=True)#
Downloads the dataset and prepares it for use.
If the requested splits have already been downloaded, they are not re-downloaded.
- Parameters:
dataset_dir – the directory in which to construct the dataset
split (None) –
splitnorsplitsare provided, the full dataset is downloadedsplits (None) – a list of splits to download, if applicable. If neither
splitnorsplitsare provided, the full dataset is downloadedcleanup (True) – whether to cleanup any temporary files generated during download
- Returns:
the
ZooDatasetInfofor the dataset
- static get_info_path(dataset_dir)#
Returns the path to the
ZooDatasetInfofor the dataset.- Parameters:
dataset_dir – the dataset directory
- Returns:
the path to the
ZooDatasetInfo
- get_split_dir(dataset_dir, split)#
Returns the directory for the given split of the dataset.
- Parameters:
dataset_dir – the dataset directory
split – the dataset split
- Returns:
the directory that will/does hold the specified split
- static has_info(dataset_dir)#
Determines whether the directory contains
ZooDatasetInfo.- Parameters:
dataset_dir – the dataset directory
- Returns:
True/False
- property has_patches#
Whether the dataset has patches that may need to be applied to already downloaded files.
- has_split(split)#
Whether the dataset has the given split.
- Parameters:
split – the dataset split
- Returns:
True/False
- property has_splits#
Whether the dataset has splits.
- has_tag(tag)#
Whether the dataset has the given tag.
- Parameters:
tag – the tag
- Returns:
True/False
- property has_tags#
Whether the dataset has tags.
- property importer_kwargs#
A dict of default kwargs to pass to this dataset’s
fiftyone.utils.data.importers.DatasetImporter.
- property is_remote#
Whether the dataset is remotely-sourced.
- static load_info(dataset_dir, upgrade=True, warn_deprecated=False)#
Loads the
ZooDatasetInfofrom the given dataset directory.- Parameters:
dataset_dir – the directory in which to construct the dataset
upgrade (True) – whether to upgrade the JSON file on disk if any migrations were necessary
warn_deprecated (False) – whether to issue a warning if the dataset has a deprecated format
- Returns:
the
ZooDatasetInfofor the dataset
- property parameters#
An optional dict of parameters describing the configuration of the zoo dataset when it was downloaded.
- property requires_manual_download#
Whether this dataset requires some files to be manually downloaded by the user before the dataset can be loaded.
- class fiftyone.zoo.datasets.base.Kinetics600Dataset(classes=None, num_workers=None, shuffle=None, seed=None, max_samples=None)#
Bases:
FiftyOneDatasetKinetics is a collection of large-scale, high-quality datasets of URL links of up to 650,000 video clips that cover 400/600/700 human action classes, depending on the dataset version. The videos include human-object interactions such as playing instruments, as well as human-human interactions such as shaking hands and hugging. Each action class has at least 400/600/700 video clips. Each clip is human annotated with a single action class and lasts around 10 seconds.
This dataset contains videos and action classifications for the 600 class version of the dataset.
This dataset supports partial downloads:
You can specify subsets of data to download via the
classesandmax_samplesparameters
See this page for more information about partial downloads of this dataset.
Original split stats:
Train split: 370,582 videos
Test split: 56,618 videos
Validation split: 28,313 videos
CVDF split stats:
Train split: 427,549 videos
Test split: 72,924 videos
Validation split: 29,793 videos
Example usage:
import fiftyone as fo import fiftyone.zoo as foz # # Load 10 random samples from the validation split # # Only the required videos will be downloaded (if necessary). # dataset = foz.load_zoo_dataset( "kinetics-600", split="validation", max_samples=10, shuffle=True, ) session = fo.launch_app(dataset) # # Load 10 samples from the validation split that # contain the actions "springboard diving" and "surfing water" # # Videos that contain all `classes` will be prioritized first, followed # by videos that contain at least one of the required `classes`. If # there are not enough videos matching `classes` in the split to meet # `max_samples`, only the available videos will be loaded. # # Videos will only be downloaded if necessary # # Subsequent partial loads of the validation split will never require # downloading any videos # dataset = foz.load_zoo_dataset( "kinetics-600", split="validation", classes=["springboard diving", "surfing water"], max_samples=10, ) session.dataset = dataset
Dataset size
Train split: 648 GB
Test split: 88 GB
Validation split: 43 GB
- Parameters:
classes (None) – a string or list of strings specifying required classes to load. If provided, only samples containing at least one instance of a specified class will be loaded
num_workers (None) – a suggested number of threads to use when downloading individual images
shuffle (False) – whether to randomly shuffle the order in which samples are chosen for partial downloads
seed (None) – a random seed to use when shuffling
max_samples (None) – a maximum number of samples to load per split. If
classesare also specified, only up to the number of samples that contain at least one specified class will be loaded. By default, all matching samples are loaded
Attributes:
The name of the dataset.
The license or list,of,licenses under which the dataset is distributed, or None if unknown.
A tuple of tags for the dataset.
A tuple of supported splits for the dataset, or None if the dataset does not have splits.
Whether the dataset supports downloading partial subsets of its splits.
Whether the dataset has patches that may need to be applied to already downloaded files.
Whether the dataset has splits.
Whether the dataset has tags.
A dict of default kwargs to pass to this dataset's
fiftyone.utils.data.importers.DatasetImporter.Whether the dataset is remotely-sourced.
An optional dict of parameters describing the configuration of the zoo dataset when it was downloaded.
Whether this dataset requires some files to be manually downloaded by the user before the dataset can be loaded.
Methods:
download_and_prepare(dataset_dir[, split, ...])Downloads the dataset and prepares it for use.
get_info_path(dataset_dir)Returns the path to the
ZooDatasetInfofor the dataset.get_split_dir(dataset_dir, split)Returns the directory for the given split of the dataset.
has_info(dataset_dir)Determines whether the directory contains
ZooDatasetInfo.has_split(split)Whether the dataset has the given split.
has_tag(tag)Whether the dataset has the given tag.
load_info(dataset_dir[, upgrade, ...])Loads the
ZooDatasetInfofrom the given dataset directory.- property name#
The name of the dataset.
- property license#
The license or list,of,licenses under which the dataset is distributed, or None if unknown.
- property tags#
A tuple of tags for the dataset.
- property supported_splits#
A tuple of supported splits for the dataset, or None if the dataset does not have splits.
- property supports_partial_downloads#
Whether the dataset supports downloading partial subsets of its splits.
- download_and_prepare(dataset_dir, split=None, splits=None, cleanup=True)#
Downloads the dataset and prepares it for use.
If the requested splits have already been downloaded, they are not re-downloaded.
- Parameters:
dataset_dir – the directory in which to construct the dataset
split (None) –
splitnorsplitsare provided, the full dataset is downloadedsplits (None) – a list of splits to download, if applicable. If neither
splitnorsplitsare provided, the full dataset is downloadedcleanup (True) – whether to cleanup any temporary files generated during download
- Returns:
the
ZooDatasetInfofor the dataset
- static get_info_path(dataset_dir)#
Returns the path to the
ZooDatasetInfofor the dataset.- Parameters:
dataset_dir – the dataset directory
- Returns:
the path to the
ZooDatasetInfo
- get_split_dir(dataset_dir, split)#
Returns the directory for the given split of the dataset.
- Parameters:
dataset_dir – the dataset directory
split – the dataset split
- Returns:
the directory that will/does hold the specified split
- static has_info(dataset_dir)#
Determines whether the directory contains
ZooDatasetInfo.- Parameters:
dataset_dir – the dataset directory
- Returns:
True/False
- property has_patches#
Whether the dataset has patches that may need to be applied to already downloaded files.
- has_split(split)#
Whether the dataset has the given split.
- Parameters:
split – the dataset split
- Returns:
True/False
- property has_splits#
Whether the dataset has splits.
- has_tag(tag)#
Whether the dataset has the given tag.
- Parameters:
tag – the tag
- Returns:
True/False
- property has_tags#
Whether the dataset has tags.
- property importer_kwargs#
A dict of default kwargs to pass to this dataset’s
fiftyone.utils.data.importers.DatasetImporter.
- property is_remote#
Whether the dataset is remotely-sourced.
- static load_info(dataset_dir, upgrade=True, warn_deprecated=False)#
Loads the
ZooDatasetInfofrom the given dataset directory.- Parameters:
dataset_dir – the directory in which to construct the dataset
upgrade (True) – whether to upgrade the JSON file on disk if any migrations were necessary
warn_deprecated (False) – whether to issue a warning if the dataset has a deprecated format
- Returns:
the
ZooDatasetInfofor the dataset
- property parameters#
An optional dict of parameters describing the configuration of the zoo dataset when it was downloaded.
- property requires_manual_download#
Whether this dataset requires some files to be manually downloaded by the user before the dataset can be loaded.
- class fiftyone.zoo.datasets.base.Kinetics700Dataset(classes=None, num_workers=None, shuffle=None, seed=None, max_samples=None)#
Bases:
FiftyOneDatasetKinetics is a collection of large-scale, high-quality datasets of URL links of up to 650,000 video clips that cover 400/600/700 human action classes, depending on the dataset version. The videos include human-object interactions such as playing instruments, as well as human-human interactions such as shaking hands and hugging. Each action class has at least 400/600/700 video clips. Each clip is human annotated with a single action class and lasts around 10 seconds.
This dataset contains videos and action classifications for the 700 class version of the dataset.
This dataset supports partial downloads:
You can specify subsets of data to download via the
classesandmax_samplesparameters
See this page for more information about partial downloads of this dataset.
Original split stats:
Train split: 529,046 videos
Test split: 67,446 videos
Validation split: 33,925 videos
Example usage:
import fiftyone as fo import fiftyone.zoo as foz # # Load 10 random samples from the validation split # # Only the required videos will be downloaded (if necessary). # dataset = foz.load_zoo_dataset( "kinetics-700", split="validation", max_samples=10, shuffle=True, ) session = fo.launch_app(dataset) # # Load 10 samples from the validation split that # contain the actions "springboard diving" and "surfing water" # # Videos that contain all `classes` will be prioritized first, followed # by videos that contain at least one of the required `classes`. If # there are not enough videos matching `classes` in the split to meet # `max_samples`, only the available videos will be loaded. # # Videos will only be downloaded if necessary # # Subsequent partial loads of the validation split will never require # downloading any videos # dataset = foz.load_zoo_dataset( "kinetics-700", split="validation", classes=["springboard diving", "surfing water"], max_samples=10, ) session.dataset = dataset
Dataset size
Train split: 603 GB
Test split: 59 GB
Validation split: 48 GB
- Parameters:
classes (None) – a string or list of strings specifying required classes to load. If provided, only samples containing at least one instance of a specified class will be loaded
num_workers (None) – a suggested number of threads to use when downloading individual images
shuffle (False) – whether to randomly shuffle the order in which samples are chosen for partial downloads
seed (None) – a random seed to use when shuffling
max_samples (None) – a maximum number of samples to load per split. If
classesare also specified, only up to the number of samples that contain at least one specified class will be loaded. By default, all matching samples are loaded
Attributes:
The name of the dataset.
The license or list,of,licenses under which the dataset is distributed, or None if unknown.
A tuple of tags for the dataset.
A tuple of supported splits for the dataset, or None if the dataset does not have splits.
Whether the dataset supports downloading partial subsets of its splits.
Whether the dataset has patches that may need to be applied to already downloaded files.
Whether the dataset has splits.
Whether the dataset has tags.
A dict of default kwargs to pass to this dataset's
fiftyone.utils.data.importers.DatasetImporter.Whether the dataset is remotely-sourced.
An optional dict of parameters describing the configuration of the zoo dataset when it was downloaded.
Whether this dataset requires some files to be manually downloaded by the user before the dataset can be loaded.
Methods:
download_and_prepare(dataset_dir[, split, ...])Downloads the dataset and prepares it for use.
get_info_path(dataset_dir)Returns the path to the
ZooDatasetInfofor the dataset.get_split_dir(dataset_dir, split)Returns the directory for the given split of the dataset.
has_info(dataset_dir)Determines whether the directory contains
ZooDatasetInfo.has_split(split)Whether the dataset has the given split.
has_tag(tag)Whether the dataset has the given tag.
load_info(dataset_dir[, upgrade, ...])Loads the
ZooDatasetInfofrom the given dataset directory.- property name#
The name of the dataset.
- property license#
The license or list,of,licenses under which the dataset is distributed, or None if unknown.
- property tags#
A tuple of tags for the dataset.
- property supported_splits#
A tuple of supported splits for the dataset, or None if the dataset does not have splits.
- property supports_partial_downloads#
Whether the dataset supports downloading partial subsets of its splits.
- download_and_prepare(dataset_dir, split=None, splits=None, cleanup=True)#
Downloads the dataset and prepares it for use.
If the requested splits have already been downloaded, they are not re-downloaded.
- Parameters:
dataset_dir – the directory in which to construct the dataset
split (None) –
splitnorsplitsare provided, the full dataset is downloadedsplits (None) – a list of splits to download, if applicable. If neither
splitnorsplitsare provided, the full dataset is downloadedcleanup (True) – whether to cleanup any temporary files generated during download
- Returns:
the
ZooDatasetInfofor the dataset
- static get_info_path(dataset_dir)#
Returns the path to the
ZooDatasetInfofor the dataset.- Parameters:
dataset_dir – the dataset directory
- Returns:
the path to the
ZooDatasetInfo
- get_split_dir(dataset_dir, split)#
Returns the directory for the given split of the dataset.
- Parameters:
dataset_dir – the dataset directory
split – the dataset split
- Returns:
the directory that will/does hold the specified split
- static has_info(dataset_dir)#
Determines whether the directory contains
ZooDatasetInfo.- Parameters:
dataset_dir – the dataset directory
- Returns:
True/False
- property has_patches#
Whether the dataset has patches that may need to be applied to already downloaded files.
- has_split(split)#
Whether the dataset has the given split.
- Parameters:
split – the dataset split
- Returns:
True/False
- property has_splits#
Whether the dataset has splits.
- has_tag(tag)#
Whether the dataset has the given tag.
- Parameters:
tag – the tag
- Returns:
True/False
- property has_tags#
Whether the dataset has tags.
- property importer_kwargs#
A dict of default kwargs to pass to this dataset’s
fiftyone.utils.data.importers.DatasetImporter.
- property is_remote#
Whether the dataset is remotely-sourced.
- static load_info(dataset_dir, upgrade=True, warn_deprecated=False)#
Loads the
ZooDatasetInfofrom the given dataset directory.- Parameters:
dataset_dir – the directory in which to construct the dataset
upgrade (True) – whether to upgrade the JSON file on disk if any migrations were necessary
warn_deprecated (False) – whether to issue a warning if the dataset has a deprecated format
- Returns:
the
ZooDatasetInfofor the dataset
- property parameters#
An optional dict of parameters describing the configuration of the zoo dataset when it was downloaded.
- property requires_manual_download#
Whether this dataset requires some files to be manually downloaded by the user before the dataset can be loaded.
- class fiftyone.zoo.datasets.base.Kinetics7002020Dataset(classes=None, num_workers=None, shuffle=None, seed=None, max_samples=None)#
Bases:
FiftyOneDatasetKinetics is a collection of large-scale, high-quality datasets of URL links of up to 650,000 video clips that cover 400/600/700 human action classes, depending on the dataset version. The videos include human-object interactions such as playing instruments, as well as human-human interactions such as shaking hands and hugging. Each action class has at least 400/600/700 video clips. Each clip is human annotated with a single action class and lasts around 10 seconds.
This version contains videos and action classifications for the 700 class version of the dataset that was updated with new videos in 2020. This dataset is a superset of Kinetics 700.
This dataset supports partial downloads:
You can specify subsets of data to download via the
classesandmax_samplesparameters
See this page for more information about partial downloads of this dataset.
Original split stats:
Train split: 542,352 videos
Test split: 67,433 videos
Validation split: 34,125 videos
CVDF split stats:
Train split: 534,073 videos
Test split: 64,260 videos
Validation split: 33,914 videos
Example usage:
import fiftyone as fo import fiftyone.zoo as foz # # Load 10 random samples from the validation split # # Only the required videos will be downloaded (if necessary). # dataset = foz.load_zoo_dataset( "kinetics-700-2020", split="validation", max_samples=10, shuffle=True, ) session = fo.launch_app(dataset) # # Load 10 samples from the validation split that # contain the actions "springboard diving" and "surfing water" # # Videos that contain all `classes` will be prioritized first, followed # by videos that contain at least one of the required `classes`. If # there are not enough videos matching `classes` in the split to meet # `max_samples`, only the available videos will be loaded. # # Videos will only be downloaded if necessary # # Subsequent partial loads of the validation split will never require # downloading any videos # dataset = foz.load_zoo_dataset( "kinetics-700-2020", split="validation", classes=["springboard diving", "surfing water"], max_samples=10, ) session.dataset = dataset
Dataset size
Train split: 603 GB
Test split: 59 GB
Validation split: 48 GB
- Parameters:
classes (None) – a string or list of strings specifying required classes to load. If provided, only samples containing at least one instance of a specified class will be loaded
num_workers (None) – a suggested number of threads to use when downloading individual images
shuffle (False) – whether to randomly shuffle the order in which samples are chosen for partial downloads
seed (None) – a random seed to use when shuffling
max_samples (None) – a maximum number of samples to load per split. If
classesare also specified, only up to the number of samples that contain at least one specified class will be loaded. By default, all matching samples are loaded
Attributes:
The name of the dataset.
The license or list,of,licenses under which the dataset is distributed, or None if unknown.
A tuple of tags for the dataset.
A tuple of supported splits for the dataset, or None if the dataset does not have splits.
Whether the dataset supports downloading partial subsets of its splits.
Whether the dataset has patches that may need to be applied to already downloaded files.
Whether the dataset has splits.
Whether the dataset has tags.
A dict of default kwargs to pass to this dataset's
fiftyone.utils.data.importers.DatasetImporter.Whether the dataset is remotely-sourced.
An optional dict of parameters describing the configuration of the zoo dataset when it was downloaded.
Whether this dataset requires some files to be manually downloaded by the user before the dataset can be loaded.
Methods:
download_and_prepare(dataset_dir[, split, ...])Downloads the dataset and prepares it for use.
get_info_path(dataset_dir)Returns the path to the
ZooDatasetInfofor the dataset.get_split_dir(dataset_dir, split)Returns the directory for the given split of the dataset.
has_info(dataset_dir)Determines whether the directory contains
ZooDatasetInfo.has_split(split)Whether the dataset has the given split.
has_tag(tag)Whether the dataset has the given tag.
load_info(dataset_dir[, upgrade, ...])Loads the
ZooDatasetInfofrom the given dataset directory.- property name#
The name of the dataset.
- property license#
The license or list,of,licenses under which the dataset is distributed, or None if unknown.
- property tags#
A tuple of tags for the dataset.
- property supported_splits#
A tuple of supported splits for the dataset, or None if the dataset does not have splits.
- property supports_partial_downloads#
Whether the dataset supports downloading partial subsets of its splits.
- download_and_prepare(dataset_dir, split=None, splits=None, cleanup=True)#
Downloads the dataset and prepares it for use.
If the requested splits have already been downloaded, they are not re-downloaded.
- Parameters:
dataset_dir – the directory in which to construct the dataset
split (None) –
splitnorsplitsare provided, the full dataset is downloadedsplits (None) – a list of splits to download, if applicable. If neither
splitnorsplitsare provided, the full dataset is downloadedcleanup (True) – whether to cleanup any temporary files generated during download
- Returns:
the
ZooDatasetInfofor the dataset
- static get_info_path(dataset_dir)#
Returns the path to the
ZooDatasetInfofor the dataset.- Parameters:
dataset_dir – the dataset directory
- Returns:
the path to the
ZooDatasetInfo
- get_split_dir(dataset_dir, split)#
Returns the directory for the given split of the dataset.
- Parameters:
dataset_dir – the dataset directory
split – the dataset split
- Returns:
the directory that will/does hold the specified split
- static has_info(dataset_dir)#
Determines whether the directory contains
ZooDatasetInfo.- Parameters:
dataset_dir – the dataset directory
- Returns:
True/False
- property has_patches#
Whether the dataset has patches that may need to be applied to already downloaded files.
- has_split(split)#
Whether the dataset has the given split.
- Parameters:
split – the dataset split
- Returns:
True/False
- property has_splits#
Whether the dataset has splits.
- has_tag(tag)#
Whether the dataset has the given tag.
- Parameters:
tag – the tag
- Returns:
True/False
- property has_tags#
Whether the dataset has tags.
- property importer_kwargs#
A dict of default kwargs to pass to this dataset’s
fiftyone.utils.data.importers.DatasetImporter.
- property is_remote#
Whether the dataset is remotely-sourced.
- static load_info(dataset_dir, upgrade=True, warn_deprecated=False)#
Loads the
ZooDatasetInfofrom the given dataset directory.- Parameters:
dataset_dir – the directory in which to construct the dataset
upgrade (True) – whether to upgrade the JSON file on disk if any migrations were necessary
warn_deprecated (False) – whether to issue a warning if the dataset has a deprecated format
- Returns:
the
ZooDatasetInfofor the dataset
- property parameters#
An optional dict of parameters describing the configuration of the zoo dataset when it was downloaded.
- property requires_manual_download#
Whether this dataset requires some files to be manually downloaded by the user before the dataset can be loaded.
- class fiftyone.zoo.datasets.base.KITTIDataset#
Bases:
FiftyOneDatasetKITTI contains a suite of vision tasks built using an autonomous driving platform.
This dataset contains the left camera images and the associated 2D object detections.
The training split contains 7,481 annotated images, and the test split contains 7,518 unlabeled images.
A full description of the annotations can be found in the README of the object development kit on the KITTI homepage.
Example usage:
import fiftyone as fo import fiftyone.zoo as foz dataset = foz.load_zoo_dataset("kitti", split="train") session = fo.launch_app(dataset)
- Dataset size
12.57 GB
- Source
Attributes:
The name of the dataset.
The license or list,of,licenses under which the dataset is distributed, or None if unknown.
A tuple of tags for the dataset.
A tuple of supported splits for the dataset, or None if the dataset does not have splits.
Whether the dataset has patches that may need to be applied to already downloaded files.
Whether the dataset has splits.
Whether the dataset has tags.
A dict of default kwargs to pass to this dataset's
fiftyone.utils.data.importers.DatasetImporter.Whether the dataset is remotely-sourced.
An optional dict of parameters describing the configuration of the zoo dataset when it was downloaded.
Whether this dataset requires some files to be manually downloaded by the user before the dataset can be loaded.
Whether the dataset supports downloading partial subsets of its splits.
Methods:
download_and_prepare(dataset_dir[, split, ...])Downloads the dataset and prepares it for use.
get_info_path(dataset_dir)Returns the path to the
ZooDatasetInfofor the dataset.get_split_dir(dataset_dir, split)Returns the directory for the given split of the dataset.
has_info(dataset_dir)Determines whether the directory contains
ZooDatasetInfo.has_split(split)Whether the dataset has the given split.
has_tag(tag)Whether the dataset has the given tag.
load_info(dataset_dir[, upgrade, ...])Loads the
ZooDatasetInfofrom the given dataset directory.- property name#
The name of the dataset.
- property license#
The license or list,of,licenses under which the dataset is distributed, or None if unknown.
- property tags#
A tuple of tags for the dataset.
- property supported_splits#
A tuple of supported splits for the dataset, or None if the dataset does not have splits.
- download_and_prepare(dataset_dir, split=None, splits=None, cleanup=True)#
Downloads the dataset and prepares it for use.
If the requested splits have already been downloaded, they are not re-downloaded.
- Parameters:
dataset_dir – the directory in which to construct the dataset
split (None) –
splitnorsplitsare provided, the full dataset is downloadedsplits (None) – a list of splits to download, if applicable. If neither
splitnorsplitsare provided, the full dataset is downloadedcleanup (True) – whether to cleanup any temporary files generated during download
- Returns:
the
ZooDatasetInfofor the dataset
- static get_info_path(dataset_dir)#
Returns the path to the
ZooDatasetInfofor the dataset.- Parameters:
dataset_dir – the dataset directory
- Returns:
the path to the
ZooDatasetInfo
- get_split_dir(dataset_dir, split)#
Returns the directory for the given split of the dataset.
- Parameters:
dataset_dir – the dataset directory
split – the dataset split
- Returns:
the directory that will/does hold the specified split
- static has_info(dataset_dir)#
Determines whether the directory contains
ZooDatasetInfo.- Parameters:
dataset_dir – the dataset directory
- Returns:
True/False
- property has_patches#
Whether the dataset has patches that may need to be applied to already downloaded files.
- has_split(split)#
Whether the dataset has the given split.
- Parameters:
split – the dataset split
- Returns:
True/False
- property has_splits#
Whether the dataset has splits.
- has_tag(tag)#
Whether the dataset has the given tag.
- Parameters:
tag – the tag
- Returns:
True/False
- property has_tags#
Whether the dataset has tags.
- property importer_kwargs#
A dict of default kwargs to pass to this dataset’s
fiftyone.utils.data.importers.DatasetImporter.
- property is_remote#
Whether the dataset is remotely-sourced.
- static load_info(dataset_dir, upgrade=True, warn_deprecated=False)#
Loads the
ZooDatasetInfofrom the given dataset directory.- Parameters:
dataset_dir – the directory in which to construct the dataset
upgrade (True) – whether to upgrade the JSON file on disk if any migrations were necessary
warn_deprecated (False) – whether to issue a warning if the dataset has a deprecated format
- Returns:
the
ZooDatasetInfofor the dataset
- property parameters#
An optional dict of parameters describing the configuration of the zoo dataset when it was downloaded.
- property requires_manual_download#
Whether this dataset requires some files to be manually downloaded by the user before the dataset can be loaded.
- property supports_partial_downloads#
Whether the dataset supports downloading partial subsets of its splits.
- class fiftyone.zoo.datasets.base.KITTIMultiviewDataset#
Bases:
FiftyOneDatasetKITTI contains a suite of vision tasks built using an autonomous driving platform.
This dataset contains the following multiview data for each scene:
Left camera images annotated with 2D object detections
Right camera images annotated with 2D object detections
Velodyne LIDAR point clouds annotated with 3D object detections
The training split contains 7,481 annotated scenes, and the test split contains 7,518 unlabeled scenes.
A full description of the annotations can be found in the README of the object development kit on the KITTI homepage.
Example usage:
import fiftyone as fo import fiftyone.zoo as foz dataset = foz.load_zoo_dataset("kitti-multiview", split="train") session = fo.launch_app(dataset)
- Dataset size
53.34 GB
- Source
Attributes:
The name of the dataset.
The license or list,of,licenses under which the dataset is distributed, or None if unknown.
A tuple of tags for the dataset.
A tuple of supported splits for the dataset, or None if the dataset does not have splits.
Whether the dataset supports downloading partial subsets of its splits.
Whether the dataset has patches that may need to be applied to already downloaded files.
Whether the dataset has splits.
Whether the dataset has tags.
A dict of default kwargs to pass to this dataset's
fiftyone.utils.data.importers.DatasetImporter.Whether the dataset is remotely-sourced.
An optional dict of parameters describing the configuration of the zoo dataset when it was downloaded.
Whether this dataset requires some files to be manually downloaded by the user before the dataset can be loaded.
Methods:
download_and_prepare(dataset_dir[, split, ...])Downloads the dataset and prepares it for use.
get_info_path(dataset_dir)Returns the path to the
ZooDatasetInfofor the dataset.get_split_dir(dataset_dir, split)Returns the directory for the given split of the dataset.
has_info(dataset_dir)Determines whether the directory contains
ZooDatasetInfo.has_split(split)Whether the dataset has the given split.
has_tag(tag)Whether the dataset has the given tag.
load_info(dataset_dir[, upgrade, ...])Loads the
ZooDatasetInfofrom the given dataset directory.- property name#
The name of the dataset.
- property license#
The license or list,of,licenses under which the dataset is distributed, or None if unknown.
- property tags#
A tuple of tags for the dataset.
- property supported_splits#
A tuple of supported splits for the dataset, or None if the dataset does not have splits.
- property supports_partial_downloads#
Whether the dataset supports downloading partial subsets of its splits.
- property has_patches#
Whether the dataset has patches that may need to be applied to already downloaded files.
- download_and_prepare(dataset_dir, split=None, splits=None, cleanup=True)#
Downloads the dataset and prepares it for use.
If the requested splits have already been downloaded, they are not re-downloaded.
- Parameters:
dataset_dir – the directory in which to construct the dataset
split (None) –
splitnorsplitsare provided, the full dataset is downloadedsplits (None) – a list of splits to download, if applicable. If neither
splitnorsplitsare provided, the full dataset is downloadedcleanup (True) – whether to cleanup any temporary files generated during download
- Returns:
the
ZooDatasetInfofor the dataset
- static get_info_path(dataset_dir)#
Returns the path to the
ZooDatasetInfofor the dataset.- Parameters:
dataset_dir – the dataset directory
- Returns:
the path to the
ZooDatasetInfo
- get_split_dir(dataset_dir, split)#
Returns the directory for the given split of the dataset.
- Parameters:
dataset_dir – the dataset directory
split – the dataset split
- Returns:
the directory that will/does hold the specified split
- static has_info(dataset_dir)#
Determines whether the directory contains
ZooDatasetInfo.- Parameters:
dataset_dir – the dataset directory
- Returns:
True/False
- has_split(split)#
Whether the dataset has the given split.
- Parameters:
split – the dataset split
- Returns:
True/False
- property has_splits#
Whether the dataset has splits.
- has_tag(tag)#
Whether the dataset has the given tag.
- Parameters:
tag – the tag
- Returns:
True/False
- property has_tags#
Whether the dataset has tags.
- property importer_kwargs#
A dict of default kwargs to pass to this dataset’s
fiftyone.utils.data.importers.DatasetImporter.
- property is_remote#
Whether the dataset is remotely-sourced.
- static load_info(dataset_dir, upgrade=True, warn_deprecated=False)#
Loads the
ZooDatasetInfofrom the given dataset directory.- Parameters:
dataset_dir – the directory in which to construct the dataset
upgrade (True) – whether to upgrade the JSON file on disk if any migrations were necessary
warn_deprecated (False) – whether to issue a warning if the dataset has a deprecated format
- Returns:
the
ZooDatasetInfofor the dataset
- property parameters#
An optional dict of parameters describing the configuration of the zoo dataset when it was downloaded.
- property requires_manual_download#
Whether this dataset requires some files to be manually downloaded by the user before the dataset can be loaded.
- class fiftyone.zoo.datasets.base.LabeledFacesInTheWildDataset#
Bases:
FiftyOneDatasetLabeled Faces in the Wild is a public benchmark for face verification, also known as pair matching.
The dataset contains 13,233 images of 5,749 people’s faces collected from the web. Each face has been labeled with the name of the person pictured. 1,680 of the people pictured have two or more distinct photos in the data set. The only constraint on these faces is that they were detected by the Viola-Jones face detector.
Example usage:
import fiftyone as fo import fiftyone.zoo as foz dataset = foz.load_zoo_dataset("lfw", split="test") session = fo.launch_app(dataset)
- Dataset size
173.00 MB
- Source
Attributes:
The name of the dataset.
The license or list,of,licenses under which the dataset is distributed, or None if unknown.
A tuple of tags for the dataset.
A tuple of supported splits for the dataset, or None if the dataset does not have splits.
Whether the dataset has patches that may need to be applied to already downloaded files.
Whether the dataset has splits.
Whether the dataset has tags.
A dict of default kwargs to pass to this dataset's
fiftyone.utils.data.importers.DatasetImporter.Whether the dataset is remotely-sourced.
An optional dict of parameters describing the configuration of the zoo dataset when it was downloaded.
Whether this dataset requires some files to be manually downloaded by the user before the dataset can be loaded.
Whether the dataset supports downloading partial subsets of its splits.
Methods:
download_and_prepare(dataset_dir[, split, ...])Downloads the dataset and prepares it for use.
get_info_path(dataset_dir)Returns the path to the
ZooDatasetInfofor the dataset.get_split_dir(dataset_dir, split)Returns the directory for the given split of the dataset.
has_info(dataset_dir)Determines whether the directory contains
ZooDatasetInfo.has_split(split)Whether the dataset has the given split.
has_tag(tag)Whether the dataset has the given tag.
load_info(dataset_dir[, upgrade, ...])Loads the
ZooDatasetInfofrom the given dataset directory.- property name#
The name of the dataset.
- property license#
The license or list,of,licenses under which the dataset is distributed, or None if unknown.
- property tags#
A tuple of tags for the dataset.
- property supported_splits#
A tuple of supported splits for the dataset, or None if the dataset does not have splits.
- download_and_prepare(dataset_dir, split=None, splits=None, cleanup=True)#
Downloads the dataset and prepares it for use.
If the requested splits have already been downloaded, they are not re-downloaded.
- Parameters:
dataset_dir – the directory in which to construct the dataset
split (None) –
splitnorsplitsare provided, the full dataset is downloadedsplits (None) – a list of splits to download, if applicable. If neither
splitnorsplitsare provided, the full dataset is downloadedcleanup (True) – whether to cleanup any temporary files generated during download
- Returns:
the
ZooDatasetInfofor the dataset
- static get_info_path(dataset_dir)#
Returns the path to the
ZooDatasetInfofor the dataset.- Parameters:
dataset_dir – the dataset directory
- Returns:
the path to the
ZooDatasetInfo
- get_split_dir(dataset_dir, split)#
Returns the directory for the given split of the dataset.
- Parameters:
dataset_dir – the dataset directory
split – the dataset split
- Returns:
the directory that will/does hold the specified split
- static has_info(dataset_dir)#
Determines whether the directory contains
ZooDatasetInfo.- Parameters:
dataset_dir – the dataset directory
- Returns:
True/False
- property has_patches#
Whether the dataset has patches that may need to be applied to already downloaded files.
- has_split(split)#
Whether the dataset has the given split.
- Parameters:
split – the dataset split
- Returns:
True/False
- property has_splits#
Whether the dataset has splits.
- has_tag(tag)#
Whether the dataset has the given tag.
- Parameters:
tag – the tag
- Returns:
True/False
- property has_tags#
Whether the dataset has tags.
- property importer_kwargs#
A dict of default kwargs to pass to this dataset’s
fiftyone.utils.data.importers.DatasetImporter.
- property is_remote#
Whether the dataset is remotely-sourced.
- static load_info(dataset_dir, upgrade=True, warn_deprecated=False)#
Loads the
ZooDatasetInfofrom the given dataset directory.- Parameters:
dataset_dir – the directory in which to construct the dataset
upgrade (True) – whether to upgrade the JSON file on disk if any migrations were necessary
warn_deprecated (False) – whether to issue a warning if the dataset has a deprecated format
- Returns:
the
ZooDatasetInfofor the dataset
- property parameters#
An optional dict of parameters describing the configuration of the zoo dataset when it was downloaded.
- property requires_manual_download#
Whether this dataset requires some files to be manually downloaded by the user before the dataset can be loaded.
- property supports_partial_downloads#
Whether the dataset supports downloading partial subsets of its splits.
- class fiftyone.zoo.datasets.base.OpenImagesV6Dataset(label_types=None, classes=None, attrs=None, image_ids=None, num_workers=None, shuffle=None, seed=None, max_samples=None)#
Bases:
FiftyOneDatasetOpen Images V6 is a dataset of ~9 million images, roughly 2 million of which are annotated and available via this zoo dataset.
The dataset contains annotations for classification, detection, segmentation, and visual relationship tasks for the 600 boxable object classes.
This dataset supports partial downloads:
You can specify subsets of data to download via the``label_types``,
classes,attrs, andmax_samplesparametersYou can specify specific images to load via the
image_idsparameter
See this page for more information about partial downloads of this dataset.
Full split stats:
Train split: 1,743,042 images (513 GB)
Test split: 125,436 images (36 GB)
Validation split: 41,620 images (12 GB)
Notes:
Not all images contain all types of labels
All images have been rescaled so that their largest dimension is at most 1024 pixels
Example usage:
# # Load 50 random samples from the validation split # # By default, all label types are loaded # dataset = foz.load_zoo_dataset( "open-images-v6", split="validation", max_samples=50, shuffle=True, ) session = fo.launch_app(dataset) # # Load detections and classifications for 25 samples from the # validation split that contain fedoras and pianos # # Images that contain all `label_types` and `classes` will be # prioritized first, followed by images that contain at least one of # the required `classes`. If there are not enough images matching # `classes` in the split to meet `max_samples`, only the available # images will be loaded. # # Images will only be downloaded if necessary # dataset = foz.load_zoo_dataset( "open-images-v6", split="validation", label_types=["detections", "classifications"], classes=["Fedora", "Piano"], max_samples=25, ) session.dataset = dataset # # Download the entire validation split and load detections # # Subsequent partial loads of the validation split will never require # downloading any images # dataset = foz.load_zoo_dataset( "open-images-v6", split="validation", label_types=["detections"], ) session.dataset = dataset
- Dataset size
561 GB
- Source
- Parameters:
label_types (None) – a label type or list of label types to load. The supported values are
("detections", "classifications", "relationships", "segmentations"). By default, all label types are loadedclasses (None) – a string or list of strings specifying required classes to load. If provided, only samples containing at least one instance of a specified class will be loaded
attrs (None) – a string or list of strings specifying required relationship attributes to load. Only applicable when
label_typesincludes “relationships”. If provided, only samples containing at least one instance of a specified attribute will be loadedimage_ids (None) –
an optional list of specific image IDs to load. Can be provided in any of the following formats:
a list of
<image-id>stringsa list of
<split>/<image-id>stringsthe path to a text (newline-separated), JSON, or CSV file containing the list of image IDs to load in either of the first two formats
num_workers (None) – a suggested number of threads to use when downloading individual images
shuffle (False) – whether to randomly shuffle the order in which samples are chosen for partial downloads
seed (None) – a random seed to use when shuffling
max_samples (None) – a maximum number of samples to load per split. If
label_types,classes, and/orattrsare also specified, first priority will be given to samples that contain all of the specified label types, classes, and/or attributes, followed by samples that contain at least one of the specified labels types or classes. The actual number of samples loaded may be less than this maximum value if the dataset does not contain sufficient samples matching your requirements. By default, all matching samples are loaded
Attributes:
The name of the dataset.
The license or list,of,licenses under which the dataset is distributed, or None if unknown.
A tuple of tags for the dataset.
A tuple of supported splits for the dataset, or None if the dataset does not have splits.
Whether the dataset supports downloading partial subsets of its splits.
Whether the dataset has patches that may need to be applied to already downloaded files.
Whether the dataset has splits.
Whether the dataset has tags.
A dict of default kwargs to pass to this dataset's
fiftyone.utils.data.importers.DatasetImporter.Whether the dataset is remotely-sourced.
An optional dict of parameters describing the configuration of the zoo dataset when it was downloaded.
Whether this dataset requires some files to be manually downloaded by the user before the dataset can be loaded.
Methods:
download_and_prepare(dataset_dir[, split, ...])Downloads the dataset and prepares it for use.
get_info_path(dataset_dir)Returns the path to the
ZooDatasetInfofor the dataset.get_split_dir(dataset_dir, split)Returns the directory for the given split of the dataset.
has_info(dataset_dir)Determines whether the directory contains
ZooDatasetInfo.has_split(split)Whether the dataset has the given split.
has_tag(tag)Whether the dataset has the given tag.
load_info(dataset_dir[, upgrade, ...])Loads the
ZooDatasetInfofrom the given dataset directory.- property name#
The name of the dataset.
- property license#
The license or list,of,licenses under which the dataset is distributed, or None if unknown.
- property tags#
A tuple of tags for the dataset.
- property supported_splits#
A tuple of supported splits for the dataset, or None if the dataset does not have splits.
- property supports_partial_downloads#
Whether the dataset supports downloading partial subsets of its splits.
- download_and_prepare(dataset_dir, split=None, splits=None, cleanup=True)#
Downloads the dataset and prepares it for use.
If the requested splits have already been downloaded, they are not re-downloaded.
- Parameters:
dataset_dir – the directory in which to construct the dataset
split (None) –
splitnorsplitsare provided, the full dataset is downloadedsplits (None) – a list of splits to download, if applicable. If neither
splitnorsplitsare provided, the full dataset is downloadedcleanup (True) – whether to cleanup any temporary files generated during download
- Returns:
the
ZooDatasetInfofor the dataset
- static get_info_path(dataset_dir)#
Returns the path to the
ZooDatasetInfofor the dataset.- Parameters:
dataset_dir – the dataset directory
- Returns:
the path to the
ZooDatasetInfo
- get_split_dir(dataset_dir, split)#
Returns the directory for the given split of the dataset.
- Parameters:
dataset_dir – the dataset directory
split – the dataset split
- Returns:
the directory that will/does hold the specified split
- static has_info(dataset_dir)#
Determines whether the directory contains
ZooDatasetInfo.- Parameters:
dataset_dir – the dataset directory
- Returns:
True/False
- property has_patches#
Whether the dataset has patches that may need to be applied to already downloaded files.
- has_split(split)#
Whether the dataset has the given split.
- Parameters:
split – the dataset split
- Returns:
True/False
- property has_splits#
Whether the dataset has splits.
- has_tag(tag)#
Whether the dataset has the given tag.
- Parameters:
tag – the tag
- Returns:
True/False
- property has_tags#
Whether the dataset has tags.
- property importer_kwargs#
A dict of default kwargs to pass to this dataset’s
fiftyone.utils.data.importers.DatasetImporter.
- property is_remote#
Whether the dataset is remotely-sourced.
- static load_info(dataset_dir, upgrade=True, warn_deprecated=False)#
Loads the
ZooDatasetInfofrom the given dataset directory.- Parameters:
dataset_dir – the directory in which to construct the dataset
upgrade (True) – whether to upgrade the JSON file on disk if any migrations were necessary
warn_deprecated (False) – whether to issue a warning if the dataset has a deprecated format
- Returns:
the
ZooDatasetInfofor the dataset
- property parameters#
An optional dict of parameters describing the configuration of the zoo dataset when it was downloaded.
- property requires_manual_download#
Whether this dataset requires some files to be manually downloaded by the user before the dataset can be loaded.
- class fiftyone.zoo.datasets.base.OpenImagesV7Dataset(label_types=None, classes=None, attrs=None, image_ids=None, num_workers=None, shuffle=None, seed=None, max_samples=None)#
Bases:
FiftyOneDatasetOpen Images V7 is a dataset of ~9 million images, roughly 2 million of which are annotated and available via this zoo dataset.
The dataset contains annotations for classification, detection, segmentation, point labels, and visual relationship tasks for the 600 boxable object classes.
This dataset supports partial downloads:
You can specify subsets of data to download via the``label_types``,
classes,attrs, andmax_samplesparametersYou can specify specific images to load via the
image_idsparameter
See this page for more information about partial downloads of this dataset.
Full split stats:
Train split: 1,743,042 images (513 GB)
Test split: 125,436 images (36 GB)
Validation split: 41,620 images (12 GB)
Notes:
Not all images contain all types of labels
All images have been rescaled so that their largest dimension is at most 1024 pixels
Example usage:
# # Load 50 random samples from the validation split # # By default, all label types are loaded, including "points" # dataset = foz.load_zoo_dataset( "open-images-v7", split="validation", max_samples=50, shuffle=True, ) session = fo.launch_app(dataset) # # Load detections, classifications, and points for 25 samples from the # validation split that contain fedoras and pianos # # Images that contain all `label_types` and `classes` will be # prioritized first, followed by images that contain at least one of # the required `classes`. If there are not enough images matching # `classes` in the split to meet `max_samples`, only the available # images will be loaded. # # Images will only be downloaded if necessary # dataset = foz.load_zoo_dataset( "open-images-v7", split="validation", label_types=["detections", "classifications", "points"], classes=["Fedora", "Piano"], max_samples=25, ) session.dataset = dataset # # Download the entire validation split and load detections # # Subsequent partial loads of the validation split will never require # downloading any images # dataset = foz.load_zoo_dataset( "open-images-v7", split="validation", label_types=["detections"], ) session.dataset = dataset
- Dataset size
561 GB
- Source
- Parameters:
label_types (None) – a label type or list of label types to load. The supported values are
("detections", "classifications", "points", "relationships", "segmentations"). By default, all label types are loadedclasses (None) – a string or list of strings specifying required classes to load. If provided, only samples containing at least one instance of a specified class will be loaded
attrs (None) – a string or list of strings specifying required relationship attributes to load. Only applicable when
label_typesincludes “relationships”. If provided, only samples containing at least one instance of a specified attribute will be loadedimage_ids (None) –
an optional list of specific image IDs to load. Can be provided in any of the following formats:
a list of
<image-id>stringsa list of
<split>/<image-id>stringsthe path to a text (newline-separated), JSON, or CSV file containing the list of image IDs to load in either of the first two formats
num_workers (None) – a suggested number of threads to use when downloading individual images
shuffle (False) – whether to randomly shuffle the order in which samples are chosen for partial downloads
seed (None) – a random seed to use when shuffling
max_samples (None) – a maximum number of samples to load per split. If
label_types,classes, and/orattrsare also specified, first priority will be given to samples that contain all of the specified label types, classes, and/or attributes, followed by samples that contain at least one of the specified labels types or classes. The actual number of samples loaded may be less than this maximum value if the dataset does not contain sufficient samples matching your requirements. By default, all matching samples are loaded
Attributes:
The name of the dataset.
The license or list,of,licenses under which the dataset is distributed, or None if unknown.
A tuple of tags for the dataset.
A tuple of supported splits for the dataset, or None if the dataset does not have splits.
Whether the dataset supports downloading partial subsets of its splits.
Whether the dataset has patches that may need to be applied to already downloaded files.
Whether the dataset has splits.
Whether the dataset has tags.
A dict of default kwargs to pass to this dataset's
fiftyone.utils.data.importers.DatasetImporter.Whether the dataset is remotely-sourced.
An optional dict of parameters describing the configuration of the zoo dataset when it was downloaded.
Whether this dataset requires some files to be manually downloaded by the user before the dataset can be loaded.
Methods:
download_and_prepare(dataset_dir[, split, ...])Downloads the dataset and prepares it for use.
get_info_path(dataset_dir)Returns the path to the
ZooDatasetInfofor the dataset.get_split_dir(dataset_dir, split)Returns the directory for the given split of the dataset.
has_info(dataset_dir)Determines whether the directory contains
ZooDatasetInfo.has_split(split)Whether the dataset has the given split.
has_tag(tag)Whether the dataset has the given tag.
load_info(dataset_dir[, upgrade, ...])Loads the
ZooDatasetInfofrom the given dataset directory.- property name#
The name of the dataset.
- property license#
The license or list,of,licenses under which the dataset is distributed, or None if unknown.
- property tags#
A tuple of tags for the dataset.
- property supported_splits#
A tuple of supported splits for the dataset, or None if the dataset does not have splits.
- property supports_partial_downloads#
Whether the dataset supports downloading partial subsets of its splits.
- download_and_prepare(dataset_dir, split=None, splits=None, cleanup=True)#
Downloads the dataset and prepares it for use.
If the requested splits have already been downloaded, they are not re-downloaded.
- Parameters:
dataset_dir – the directory in which to construct the dataset
split (None) –
splitnorsplitsare provided, the full dataset is downloadedsplits (None) – a list of splits to download, if applicable. If neither
splitnorsplitsare provided, the full dataset is downloadedcleanup (True) – whether to cleanup any temporary files generated during download
- Returns:
the
ZooDatasetInfofor the dataset
- static get_info_path(dataset_dir)#
Returns the path to the
ZooDatasetInfofor the dataset.- Parameters:
dataset_dir – the dataset directory
- Returns:
the path to the
ZooDatasetInfo
- get_split_dir(dataset_dir, split)#
Returns the directory for the given split of the dataset.
- Parameters:
dataset_dir – the dataset directory
split – the dataset split
- Returns:
the directory that will/does hold the specified split
- static has_info(dataset_dir)#
Determines whether the directory contains
ZooDatasetInfo.- Parameters:
dataset_dir – the dataset directory
- Returns:
True/False
- property has_patches#
Whether the dataset has patches that may need to be applied to already downloaded files.
- has_split(split)#
Whether the dataset has the given split.
- Parameters:
split – the dataset split
- Returns:
True/False
- property has_splits#
Whether the dataset has splits.
- has_tag(tag)#
Whether the dataset has the given tag.
- Parameters:
tag – the tag
- Returns:
True/False
- property has_tags#
Whether the dataset has tags.
- property importer_kwargs#
A dict of default kwargs to pass to this dataset’s
fiftyone.utils.data.importers.DatasetImporter.
- property is_remote#
Whether the dataset is remotely-sourced.
- static load_info(dataset_dir, upgrade=True, warn_deprecated=False)#
Loads the
ZooDatasetInfofrom the given dataset directory.- Parameters:
dataset_dir – the directory in which to construct the dataset
upgrade (True) – whether to upgrade the JSON file on disk if any migrations were necessary
warn_deprecated (False) – whether to issue a warning if the dataset has a deprecated format
- Returns:
the
ZooDatasetInfofor the dataset
- property parameters#
An optional dict of parameters describing the configuration of the zoo dataset when it was downloaded.
- property requires_manual_download#
Whether this dataset requires some files to be manually downloaded by the user before the dataset can be loaded.
- class fiftyone.zoo.datasets.base.PlacesDataset#
Bases:
FiftyOneDatasetPlaces is a scene recognition dataset of 10 million images comprising ~400 unique scene categories.
The images are labeled with scene semantic categories, comprising a large and diverse list of the types of environments encountered in the world.
Full split stats:
Train split: 1,803,460 images, with between 3,068 and 5,000 per category
Test split: 328,500 images, with 900 images per category
Validation split: 36,500 images, with 100 images per category
Example usage:
import fiftyone as fo import fiftyone.zoo as foz dataset = foz.load_zoo_dataset("places", split="validation") session = fo.launch_app(dataset)
- Dataset size
29 GB
- Source
Attributes:
The name of the dataset.
The license or list,of,licenses under which the dataset is distributed, or None if unknown.
A tuple of tags for the dataset.
A tuple of supported splits for the dataset, or None if the dataset does not have splits.
Whether the dataset supports downloading partial subsets of its splits.
Whether the dataset has patches that may need to be applied to already downloaded files.
Whether the dataset has splits.
Whether the dataset has tags.
A dict of default kwargs to pass to this dataset's
fiftyone.utils.data.importers.DatasetImporter.Whether the dataset is remotely-sourced.
An optional dict of parameters describing the configuration of the zoo dataset when it was downloaded.
Whether this dataset requires some files to be manually downloaded by the user before the dataset can be loaded.
Methods:
download_and_prepare(dataset_dir[, split, ...])Downloads the dataset and prepares it for use.
get_info_path(dataset_dir)Returns the path to the
ZooDatasetInfofor the dataset.get_split_dir(dataset_dir, split)Returns the directory for the given split of the dataset.
has_info(dataset_dir)Determines whether the directory contains
ZooDatasetInfo.has_split(split)Whether the dataset has the given split.
has_tag(tag)Whether the dataset has the given tag.
load_info(dataset_dir[, upgrade, ...])Loads the
ZooDatasetInfofrom the given dataset directory.- property name#
The name of the dataset.
- property license#
The license or list,of,licenses under which the dataset is distributed, or None if unknown.
- property tags#
A tuple of tags for the dataset.
- property supported_splits#
A tuple of supported splits for the dataset, or None if the dataset does not have splits.
- property supports_partial_downloads#
Whether the dataset supports downloading partial subsets of its splits.
- download_and_prepare(dataset_dir, split=None, splits=None, cleanup=True)#
Downloads the dataset and prepares it for use.
If the requested splits have already been downloaded, they are not re-downloaded.
- Parameters:
dataset_dir – the directory in which to construct the dataset
split (None) –
splitnorsplitsare provided, the full dataset is downloadedsplits (None) – a list of splits to download, if applicable. If neither
splitnorsplitsare provided, the full dataset is downloadedcleanup (True) – whether to cleanup any temporary files generated during download
- Returns:
the
ZooDatasetInfofor the dataset
- static get_info_path(dataset_dir)#
Returns the path to the
ZooDatasetInfofor the dataset.- Parameters:
dataset_dir – the dataset directory
- Returns:
the path to the
ZooDatasetInfo
- get_split_dir(dataset_dir, split)#
Returns the directory for the given split of the dataset.
- Parameters:
dataset_dir – the dataset directory
split – the dataset split
- Returns:
the directory that will/does hold the specified split
- static has_info(dataset_dir)#
Determines whether the directory contains
ZooDatasetInfo.- Parameters:
dataset_dir – the dataset directory
- Returns:
True/False
- property has_patches#
Whether the dataset has patches that may need to be applied to already downloaded files.
- has_split(split)#
Whether the dataset has the given split.
- Parameters:
split – the dataset split
- Returns:
True/False
- property has_splits#
Whether the dataset has splits.
- has_tag(tag)#
Whether the dataset has the given tag.
- Parameters:
tag – the tag
- Returns:
True/False
- property has_tags#
Whether the dataset has tags.
- property importer_kwargs#
A dict of default kwargs to pass to this dataset’s
fiftyone.utils.data.importers.DatasetImporter.
- property is_remote#
Whether the dataset is remotely-sourced.
- static load_info(dataset_dir, upgrade=True, warn_deprecated=False)#
Loads the
ZooDatasetInfofrom the given dataset directory.- Parameters:
dataset_dir – the directory in which to construct the dataset
upgrade (True) – whether to upgrade the JSON file on disk if any migrations were necessary
warn_deprecated (False) – whether to issue a warning if the dataset has a deprecated format
- Returns:
the
ZooDatasetInfofor the dataset
- property parameters#
An optional dict of parameters describing the configuration of the zoo dataset when it was downloaded.
- property requires_manual_download#
Whether this dataset requires some files to be manually downloaded by the user before the dataset can be loaded.
- class fiftyone.zoo.datasets.base.QuickstartDataset#
Bases:
FiftyOneDatasetA small dataset with ground truth bounding boxes and predictions.
The dataset consists of 200 images from the validation split of COCO-2017, with model predictions generated by an out-of-the-box Faster R-CNN model from torchvision.models.
Example usage:
import fiftyone as fo import fiftyone.zoo as foz dataset = foz.load_zoo_dataset("quickstart") session = fo.launch_app(dataset)
- Dataset size
23.40 MB
Attributes:
The name of the dataset.
The license or list,of,licenses under which the dataset is distributed, or None if unknown.
A tuple of tags for the dataset.
A tuple of supported splits for the dataset, or None if the dataset does not have splits.
Whether the dataset has patches that may need to be applied to already downloaded files.
Whether the dataset has splits.
Whether the dataset has tags.
A dict of default kwargs to pass to this dataset's
fiftyone.utils.data.importers.DatasetImporter.Whether the dataset is remotely-sourced.
An optional dict of parameters describing the configuration of the zoo dataset when it was downloaded.
Whether this dataset requires some files to be manually downloaded by the user before the dataset can be loaded.
Whether the dataset supports downloading partial subsets of its splits.
Methods:
download_and_prepare(dataset_dir[, split, ...])Downloads the dataset and prepares it for use.
get_info_path(dataset_dir)Returns the path to the
ZooDatasetInfofor the dataset.get_split_dir(dataset_dir, split)Returns the directory for the given split of the dataset.
has_info(dataset_dir)Determines whether the directory contains
ZooDatasetInfo.has_split(split)Whether the dataset has the given split.
has_tag(tag)Whether the dataset has the given tag.
load_info(dataset_dir[, upgrade, ...])Loads the
ZooDatasetInfofrom the given dataset directory.- property name#
The name of the dataset.
- property license#
The license or list,of,licenses under which the dataset is distributed, or None if unknown.
- property tags#
A tuple of tags for the dataset.
- property supported_splits#
A tuple of supported splits for the dataset, or None if the dataset does not have splits.
- download_and_prepare(dataset_dir, split=None, splits=None, cleanup=True)#
Downloads the dataset and prepares it for use.
If the requested splits have already been downloaded, they are not re-downloaded.
- Parameters:
dataset_dir – the directory in which to construct the dataset
split (None) –
splitnorsplitsare provided, the full dataset is downloadedsplits (None) – a list of splits to download, if applicable. If neither
splitnorsplitsare provided, the full dataset is downloadedcleanup (True) – whether to cleanup any temporary files generated during download
- Returns:
the
ZooDatasetInfofor the dataset
- static get_info_path(dataset_dir)#
Returns the path to the
ZooDatasetInfofor the dataset.- Parameters:
dataset_dir – the dataset directory
- Returns:
the path to the
ZooDatasetInfo
- get_split_dir(dataset_dir, split)#
Returns the directory for the given split of the dataset.
- Parameters:
dataset_dir – the dataset directory
split – the dataset split
- Returns:
the directory that will/does hold the specified split
- static has_info(dataset_dir)#
Determines whether the directory contains
ZooDatasetInfo.- Parameters:
dataset_dir – the dataset directory
- Returns:
True/False
- property has_patches#
Whether the dataset has patches that may need to be applied to already downloaded files.
- has_split(split)#
Whether the dataset has the given split.
- Parameters:
split – the dataset split
- Returns:
True/False
- property has_splits#
Whether the dataset has splits.
- has_tag(tag)#
Whether the dataset has the given tag.
- Parameters:
tag – the tag
- Returns:
True/False
- property has_tags#
Whether the dataset has tags.
- property importer_kwargs#
A dict of default kwargs to pass to this dataset’s
fiftyone.utils.data.importers.DatasetImporter.
- property is_remote#
Whether the dataset is remotely-sourced.
- static load_info(dataset_dir, upgrade=True, warn_deprecated=False)#
Loads the
ZooDatasetInfofrom the given dataset directory.- Parameters:
dataset_dir – the directory in which to construct the dataset
upgrade (True) – whether to upgrade the JSON file on disk if any migrations were necessary
warn_deprecated (False) – whether to issue a warning if the dataset has a deprecated format
- Returns:
the
ZooDatasetInfofor the dataset
- property parameters#
An optional dict of parameters describing the configuration of the zoo dataset when it was downloaded.
- property requires_manual_download#
Whether this dataset requires some files to be manually downloaded by the user before the dataset can be loaded.
- property supports_partial_downloads#
Whether the dataset supports downloading partial subsets of its splits.
- class fiftyone.zoo.datasets.base.QuickstartGeoDataset#
Bases:
FiftyOneDatasetA small dataset with geolocation data.
The dataset consists of 500 images from the validation split of the BDD100K dataset in the New York City area with object detections and GPS timestamps.
Example usage:
import fiftyone as fo import fiftyone.zoo as foz dataset = foz.load_zoo_dataset("quickstart-geo") session = fo.launch_app(dataset)
- Dataset size
33.50 MB
Attributes:
The name of the dataset.
The license or list,of,licenses under which the dataset is distributed, or None if unknown.
A tuple of tags for the dataset.
A tuple of supported splits for the dataset, or None if the dataset does not have splits.
Whether the dataset has patches that may need to be applied to already downloaded files.
Whether the dataset has splits.
Whether the dataset has tags.
A dict of default kwargs to pass to this dataset's
fiftyone.utils.data.importers.DatasetImporter.Whether the dataset is remotely-sourced.
An optional dict of parameters describing the configuration of the zoo dataset when it was downloaded.
Whether this dataset requires some files to be manually downloaded by the user before the dataset can be loaded.
Whether the dataset supports downloading partial subsets of its splits.
Methods:
download_and_prepare(dataset_dir[, split, ...])Downloads the dataset and prepares it for use.
get_info_path(dataset_dir)Returns the path to the
ZooDatasetInfofor the dataset.get_split_dir(dataset_dir, split)Returns the directory for the given split of the dataset.
has_info(dataset_dir)Determines whether the directory contains
ZooDatasetInfo.has_split(split)Whether the dataset has the given split.
has_tag(tag)Whether the dataset has the given tag.
load_info(dataset_dir[, upgrade, ...])Loads the
ZooDatasetInfofrom the given dataset directory.- property name#
The name of the dataset.
- property license#
The license or list,of,licenses under which the dataset is distributed, or None if unknown.
- property tags#
A tuple of tags for the dataset.
- property supported_splits#
A tuple of supported splits for the dataset, or None if the dataset does not have splits.
- download_and_prepare(dataset_dir, split=None, splits=None, cleanup=True)#
Downloads the dataset and prepares it for use.
If the requested splits have already been downloaded, they are not re-downloaded.
- Parameters:
dataset_dir – the directory in which to construct the dataset
split (None) –
splitnorsplitsare provided, the full dataset is downloadedsplits (None) – a list of splits to download, if applicable. If neither
splitnorsplitsare provided, the full dataset is downloadedcleanup (True) – whether to cleanup any temporary files generated during download
- Returns:
the
ZooDatasetInfofor the dataset
- static get_info_path(dataset_dir)#
Returns the path to the
ZooDatasetInfofor the dataset.- Parameters:
dataset_dir – the dataset directory
- Returns:
the path to the
ZooDatasetInfo
- get_split_dir(dataset_dir, split)#
Returns the directory for the given split of the dataset.
- Parameters:
dataset_dir – the dataset directory
split – the dataset split
- Returns:
the directory that will/does hold the specified split
- static has_info(dataset_dir)#
Determines whether the directory contains
ZooDatasetInfo.- Parameters:
dataset_dir – the dataset directory
- Returns:
True/False
- property has_patches#
Whether the dataset has patches that may need to be applied to already downloaded files.
- has_split(split)#
Whether the dataset has the given split.
- Parameters:
split – the dataset split
- Returns:
True/False
- property has_splits#
Whether the dataset has splits.
- has_tag(tag)#
Whether the dataset has the given tag.
- Parameters:
tag – the tag
- Returns:
True/False
- property has_tags#
Whether the dataset has tags.
- property importer_kwargs#
A dict of default kwargs to pass to this dataset’s
fiftyone.utils.data.importers.DatasetImporter.
- property is_remote#
Whether the dataset is remotely-sourced.
- static load_info(dataset_dir, upgrade=True, warn_deprecated=False)#
Loads the
ZooDatasetInfofrom the given dataset directory.- Parameters:
dataset_dir – the directory in which to construct the dataset
upgrade (True) – whether to upgrade the JSON file on disk if any migrations were necessary
warn_deprecated (False) – whether to issue a warning if the dataset has a deprecated format
- Returns:
the
ZooDatasetInfofor the dataset
- property parameters#
An optional dict of parameters describing the configuration of the zoo dataset when it was downloaded.
- property requires_manual_download#
Whether this dataset requires some files to be manually downloaded by the user before the dataset can be loaded.
- property supports_partial_downloads#
Whether the dataset supports downloading partial subsets of its splits.
- class fiftyone.zoo.datasets.base.QuickstartVideoDataset#
Bases:
FiftyOneDatasetA small video dataset with dense annotations.
The dataset consists of 10 video segments with dense object detections generated by human annotators.
Example usage:
import fiftyone as fo import fiftyone.zoo as foz dataset = foz.load_zoo_dataset("quickstart-video") session = fo.launch_app(dataset)
- Dataset size
35.20 MB
Attributes:
The name of the dataset.
The license or list,of,licenses under which the dataset is distributed, or None if unknown.
A tuple of tags for the dataset.
A tuple of supported splits for the dataset, or None if the dataset does not have splits.
Whether the dataset has patches that may need to be applied to already downloaded files.
Whether the dataset has splits.
Whether the dataset has tags.
A dict of default kwargs to pass to this dataset's
fiftyone.utils.data.importers.DatasetImporter.Whether the dataset is remotely-sourced.
An optional dict of parameters describing the configuration of the zoo dataset when it was downloaded.
Whether this dataset requires some files to be manually downloaded by the user before the dataset can be loaded.
Whether the dataset supports downloading partial subsets of its splits.
Methods:
download_and_prepare(dataset_dir[, split, ...])Downloads the dataset and prepares it for use.
get_info_path(dataset_dir)Returns the path to the
ZooDatasetInfofor the dataset.get_split_dir(dataset_dir, split)Returns the directory for the given split of the dataset.
has_info(dataset_dir)Determines whether the directory contains
ZooDatasetInfo.has_split(split)Whether the dataset has the given split.
has_tag(tag)Whether the dataset has the given tag.
load_info(dataset_dir[, upgrade, ...])Loads the
ZooDatasetInfofrom the given dataset directory.- property name#
The name of the dataset.
- property license#
The license or list,of,licenses under which the dataset is distributed, or None if unknown.
- property tags#
A tuple of tags for the dataset.
- property supported_splits#
A tuple of supported splits for the dataset, or None if the dataset does not have splits.
- download_and_prepare(dataset_dir, split=None, splits=None, cleanup=True)#
Downloads the dataset and prepares it for use.
If the requested splits have already been downloaded, they are not re-downloaded.
- Parameters:
dataset_dir – the directory in which to construct the dataset
split (None) –
splitnorsplitsare provided, the full dataset is downloadedsplits (None) – a list of splits to download, if applicable. If neither
splitnorsplitsare provided, the full dataset is downloadedcleanup (True) – whether to cleanup any temporary files generated during download
- Returns:
the
ZooDatasetInfofor the dataset
- static get_info_path(dataset_dir)#
Returns the path to the
ZooDatasetInfofor the dataset.- Parameters:
dataset_dir – the dataset directory
- Returns:
the path to the
ZooDatasetInfo
- get_split_dir(dataset_dir, split)#
Returns the directory for the given split of the dataset.
- Parameters:
dataset_dir – the dataset directory
split – the dataset split
- Returns:
the directory that will/does hold the specified split
- static has_info(dataset_dir)#
Determines whether the directory contains
ZooDatasetInfo.- Parameters:
dataset_dir – the dataset directory
- Returns:
True/False
- property has_patches#
Whether the dataset has patches that may need to be applied to already downloaded files.
- has_split(split)#
Whether the dataset has the given split.
- Parameters:
split – the dataset split
- Returns:
True/False
- property has_splits#
Whether the dataset has splits.
- has_tag(tag)#
Whether the dataset has the given tag.
- Parameters:
tag – the tag
- Returns:
True/False
- property has_tags#
Whether the dataset has tags.
- property importer_kwargs#
A dict of default kwargs to pass to this dataset’s
fiftyone.utils.data.importers.DatasetImporter.
- property is_remote#
Whether the dataset is remotely-sourced.
- static load_info(dataset_dir, upgrade=True, warn_deprecated=False)#
Loads the
ZooDatasetInfofrom the given dataset directory.- Parameters:
dataset_dir – the directory in which to construct the dataset
upgrade (True) – whether to upgrade the JSON file on disk if any migrations were necessary
warn_deprecated (False) – whether to issue a warning if the dataset has a deprecated format
- Returns:
the
ZooDatasetInfofor the dataset
- property parameters#
An optional dict of parameters describing the configuration of the zoo dataset when it was downloaded.
- property requires_manual_download#
Whether this dataset requires some files to be manually downloaded by the user before the dataset can be loaded.
- property supports_partial_downloads#
Whether the dataset supports downloading partial subsets of its splits.
- class fiftyone.zoo.datasets.base.QuickstartTrajectoriesDataset#
Bases:
FiftyOneDatasetA small video dataset for trajectory annotation.
The dataset consists of the same 10 video segments as
QuickstartVideoDataset, but the per-frame object detections are linked across frames into object trajectories via thefiftyone.core.labels.Instancevalues in theirinstanceattributes (the legacyindexattribute has been removed).Note
Before annotating trajectories, you must compute video metadata and sample the videos into frames:
dataset.compute_metadata() dataset.to_frames(sample_frames=True)
Example usage:
import fiftyone as fo import fiftyone.zoo as foz dataset = foz.load_zoo_dataset("quickstart-trajectories") session = fo.launch_app(dataset)
- Dataset size
35.20 MB
Attributes:
The name of the dataset.
The license or list,of,licenses under which the dataset is distributed, or None if unknown.
A tuple of tags for the dataset.
A tuple of supported splits for the dataset, or None if the dataset does not have splits.
Whether the dataset has patches that may need to be applied to already downloaded files.
Whether the dataset has splits.
Whether the dataset has tags.
A dict of default kwargs to pass to this dataset's
fiftyone.utils.data.importers.DatasetImporter.Whether the dataset is remotely-sourced.
An optional dict of parameters describing the configuration of the zoo dataset when it was downloaded.
Whether this dataset requires some files to be manually downloaded by the user before the dataset can be loaded.
Whether the dataset supports downloading partial subsets of its splits.
Methods:
download_and_prepare(dataset_dir[, split, ...])Downloads the dataset and prepares it for use.
get_info_path(dataset_dir)Returns the path to the
ZooDatasetInfofor the dataset.get_split_dir(dataset_dir, split)Returns the directory for the given split of the dataset.
has_info(dataset_dir)Determines whether the directory contains
ZooDatasetInfo.has_split(split)Whether the dataset has the given split.
has_tag(tag)Whether the dataset has the given tag.
load_info(dataset_dir[, upgrade, ...])Loads the
ZooDatasetInfofrom the given dataset directory.- property name#
The name of the dataset.
- property license#
The license or list,of,licenses under which the dataset is distributed, or None if unknown.
- property tags#
A tuple of tags for the dataset.
- property supported_splits#
A tuple of supported splits for the dataset, or None if the dataset does not have splits.
- download_and_prepare(dataset_dir, split=None, splits=None, cleanup=True)#
Downloads the dataset and prepares it for use.
If the requested splits have already been downloaded, they are not re-downloaded.
- Parameters:
dataset_dir – the directory in which to construct the dataset
split (None) –
splitnorsplitsare provided, the full dataset is downloadedsplits (None) – a list of splits to download, if applicable. If neither
splitnorsplitsare provided, the full dataset is downloadedcleanup (True) – whether to cleanup any temporary files generated during download
- Returns:
the
ZooDatasetInfofor the dataset
- static get_info_path(dataset_dir)#
Returns the path to the
ZooDatasetInfofor the dataset.- Parameters:
dataset_dir – the dataset directory
- Returns:
the path to the
ZooDatasetInfo
- get_split_dir(dataset_dir, split)#
Returns the directory for the given split of the dataset.
- Parameters:
dataset_dir – the dataset directory
split – the dataset split
- Returns:
the directory that will/does hold the specified split
- static has_info(dataset_dir)#
Determines whether the directory contains
ZooDatasetInfo.- Parameters:
dataset_dir – the dataset directory
- Returns:
True/False
- property has_patches#
Whether the dataset has patches that may need to be applied to already downloaded files.
- has_split(split)#
Whether the dataset has the given split.
- Parameters:
split – the dataset split
- Returns:
True/False
- property has_splits#
Whether the dataset has splits.
- has_tag(tag)#
Whether the dataset has the given tag.
- Parameters:
tag – the tag
- Returns:
True/False
- property has_tags#
Whether the dataset has tags.
- property importer_kwargs#
A dict of default kwargs to pass to this dataset’s
fiftyone.utils.data.importers.DatasetImporter.
- property is_remote#
Whether the dataset is remotely-sourced.
- static load_info(dataset_dir, upgrade=True, warn_deprecated=False)#
Loads the
ZooDatasetInfofrom the given dataset directory.- Parameters:
dataset_dir – the directory in which to construct the dataset
upgrade (True) – whether to upgrade the JSON file on disk if any migrations were necessary
warn_deprecated (False) – whether to issue a warning if the dataset has a deprecated format
- Returns:
the
ZooDatasetInfofor the dataset
- property parameters#
An optional dict of parameters describing the configuration of the zoo dataset when it was downloaded.
- property requires_manual_download#
Whether this dataset requires some files to be manually downloaded by the user before the dataset can be loaded.
- property supports_partial_downloads#
Whether the dataset supports downloading partial subsets of its splits.
- class fiftyone.zoo.datasets.base.QuickstartGroupsDataset#
Bases:
FiftyOneDatasetA small dataset with grouped image and point cloud data.
The dataset consists of 200 scenes from the train split of the KITTI dataset, each containing left camera, right camera, point cloud, and 2D/3D object annotation data.
Example usage:
import fiftyone as fo import fiftyone.zoo as foz dataset = foz.load_zoo_dataset("quickstart-groups") session = fo.launch_app(dataset)
- Dataset size
576 MB
Attributes:
The name of the dataset.
The license or list,of,licenses under which the dataset is distributed, or None if unknown.
A tuple of tags for the dataset.
A tuple of supported splits for the dataset, or None if the dataset does not have splits.
Whether the dataset has patches that may need to be applied to already downloaded files.
Whether the dataset has splits.
Whether the dataset has tags.
A dict of default kwargs to pass to this dataset's
fiftyone.utils.data.importers.DatasetImporter.Whether the dataset is remotely-sourced.
An optional dict of parameters describing the configuration of the zoo dataset when it was downloaded.
Whether this dataset requires some files to be manually downloaded by the user before the dataset can be loaded.
Whether the dataset supports downloading partial subsets of its splits.
Methods:
download_and_prepare(dataset_dir[, split, ...])Downloads the dataset and prepares it for use.
get_info_path(dataset_dir)Returns the path to the
ZooDatasetInfofor the dataset.get_split_dir(dataset_dir, split)Returns the directory for the given split of the dataset.
has_info(dataset_dir)Determines whether the directory contains
ZooDatasetInfo.has_split(split)Whether the dataset has the given split.
has_tag(tag)Whether the dataset has the given tag.
load_info(dataset_dir[, upgrade, ...])Loads the
ZooDatasetInfofrom the given dataset directory.- property name#
The name of the dataset.
- property license#
The license or list,of,licenses under which the dataset is distributed, or None if unknown.
- property tags#
A tuple of tags for the dataset.
- property supported_splits#
A tuple of supported splits for the dataset, or None if the dataset does not have splits.
- property has_patches#
Whether the dataset has patches that may need to be applied to already downloaded files.
- download_and_prepare(dataset_dir, split=None, splits=None, cleanup=True)#
Downloads the dataset and prepares it for use.
If the requested splits have already been downloaded, they are not re-downloaded.
- Parameters:
dataset_dir – the directory in which to construct the dataset
split (None) –
splitnorsplitsare provided, the full dataset is downloadedsplits (None) – a list of splits to download, if applicable. If neither
splitnorsplitsare provided, the full dataset is downloadedcleanup (True) – whether to cleanup any temporary files generated during download
- Returns:
the
ZooDatasetInfofor the dataset
- static get_info_path(dataset_dir)#
Returns the path to the
ZooDatasetInfofor the dataset.- Parameters:
dataset_dir – the dataset directory
- Returns:
the path to the
ZooDatasetInfo
- get_split_dir(dataset_dir, split)#
Returns the directory for the given split of the dataset.
- Parameters:
dataset_dir – the dataset directory
split – the dataset split
- Returns:
the directory that will/does hold the specified split
- static has_info(dataset_dir)#
Determines whether the directory contains
ZooDatasetInfo.- Parameters:
dataset_dir – the dataset directory
- Returns:
True/False
- has_split(split)#
Whether the dataset has the given split.
- Parameters:
split – the dataset split
- Returns:
True/False
- property has_splits#
Whether the dataset has splits.
- has_tag(tag)#
Whether the dataset has the given tag.
- Parameters:
tag – the tag
- Returns:
True/False
- property has_tags#
Whether the dataset has tags.
- property importer_kwargs#
A dict of default kwargs to pass to this dataset’s
fiftyone.utils.data.importers.DatasetImporter.
- property is_remote#
Whether the dataset is remotely-sourced.
- static load_info(dataset_dir, upgrade=True, warn_deprecated=False)#
Loads the
ZooDatasetInfofrom the given dataset directory.- Parameters:
dataset_dir – the directory in which to construct the dataset
upgrade (True) – whether to upgrade the JSON file on disk if any migrations were necessary
warn_deprecated (False) – whether to issue a warning if the dataset has a deprecated format
- Returns:
the
ZooDatasetInfofor the dataset
- property parameters#
An optional dict of parameters describing the configuration of the zoo dataset when it was downloaded.
- property requires_manual_download#
Whether this dataset requires some files to be manually downloaded by the user before the dataset can be loaded.
- property supports_partial_downloads#
Whether the dataset supports downloading partial subsets of its splits.
- class fiftyone.zoo.datasets.base.Quickstart3DDataset#
Bases:
FiftyOneDatasetA small 3D dataset with meshes, point clouds, and oriented bounding boxes.
The dataset consists of 200 3D mesh samples from the test split of the ModelNet40 dataset, with point clouds generated using a Poisson disk sampling method, and oriented bounding boxes generated based on the convex hull.
Objects have been rescaled and recentered from the original dataset.
Example usage:
import fiftyone as fo import fiftyone.zoo as foz dataset = foz.load_zoo_dataset("quickstart-3d") session = fo.launch_app(dataset)
- Dataset size
215.7 MB
Attributes:
The name of the dataset.
The license or list,of,licenses under which the dataset is distributed, or None if unknown.
A tuple of tags for the dataset.
A tuple of supported splits for the dataset, or None if the dataset does not have splits.
Whether the dataset has patches that may need to be applied to already downloaded files.
Whether the dataset has splits.
Whether the dataset has tags.
A dict of default kwargs to pass to this dataset's
fiftyone.utils.data.importers.DatasetImporter.Whether the dataset is remotely-sourced.
An optional dict of parameters describing the configuration of the zoo dataset when it was downloaded.
Whether this dataset requires some files to be manually downloaded by the user before the dataset can be loaded.
Whether the dataset supports downloading partial subsets of its splits.
Methods:
download_and_prepare(dataset_dir[, split, ...])Downloads the dataset and prepares it for use.
get_info_path(dataset_dir)Returns the path to the
ZooDatasetInfofor the dataset.get_split_dir(dataset_dir, split)Returns the directory for the given split of the dataset.
has_info(dataset_dir)Determines whether the directory contains
ZooDatasetInfo.has_split(split)Whether the dataset has the given split.
has_tag(tag)Whether the dataset has the given tag.
load_info(dataset_dir[, upgrade, ...])Loads the
ZooDatasetInfofrom the given dataset directory.- property name#
The name of the dataset.
- property license#
The license or list,of,licenses under which the dataset is distributed, or None if unknown.
- property tags#
A tuple of tags for the dataset.
- property supported_splits#
A tuple of supported splits for the dataset, or None if the dataset does not have splits.
- download_and_prepare(dataset_dir, split=None, splits=None, cleanup=True)#
Downloads the dataset and prepares it for use.
If the requested splits have already been downloaded, they are not re-downloaded.
- Parameters:
dataset_dir – the directory in which to construct the dataset
split (None) –
splitnorsplitsare provided, the full dataset is downloadedsplits (None) – a list of splits to download, if applicable. If neither
splitnorsplitsare provided, the full dataset is downloadedcleanup (True) – whether to cleanup any temporary files generated during download
- Returns:
the
ZooDatasetInfofor the dataset
- static get_info_path(dataset_dir)#
Returns the path to the
ZooDatasetInfofor the dataset.- Parameters:
dataset_dir – the dataset directory
- Returns:
the path to the
ZooDatasetInfo
- get_split_dir(dataset_dir, split)#
Returns the directory for the given split of the dataset.
- Parameters:
dataset_dir – the dataset directory
split – the dataset split
- Returns:
the directory that will/does hold the specified split
- static has_info(dataset_dir)#
Determines whether the directory contains
ZooDatasetInfo.- Parameters:
dataset_dir – the dataset directory
- Returns:
True/False
- property has_patches#
Whether the dataset has patches that may need to be applied to already downloaded files.
- has_split(split)#
Whether the dataset has the given split.
- Parameters:
split – the dataset split
- Returns:
True/False
- property has_splits#
Whether the dataset has splits.
- has_tag(tag)#
Whether the dataset has the given tag.
- Parameters:
tag – the tag
- Returns:
True/False
- property has_tags#
Whether the dataset has tags.
- property importer_kwargs#
A dict of default kwargs to pass to this dataset’s
fiftyone.utils.data.importers.DatasetImporter.
- property is_remote#
Whether the dataset is remotely-sourced.
- static load_info(dataset_dir, upgrade=True, warn_deprecated=False)#
Loads the
ZooDatasetInfofrom the given dataset directory.- Parameters:
dataset_dir – the directory in which to construct the dataset
upgrade (True) – whether to upgrade the JSON file on disk if any migrations were necessary
warn_deprecated (False) – whether to issue a warning if the dataset has a deprecated format
- Returns:
the
ZooDatasetInfofor the dataset
- property parameters#
An optional dict of parameters describing the configuration of the zoo dataset when it was downloaded.
- property requires_manual_download#
Whether this dataset requires some files to be manually downloaded by the user before the dataset can be loaded.
- property supports_partial_downloads#
Whether the dataset supports downloading partial subsets of its splits.
- class fiftyone.zoo.datasets.base.UCF101Dataset(fold=1)#
Bases:
FiftyOneDatasetUCF101 is an action recognition data set of realistic action videos, collected from YouTube, having 101 action categories. This data set is an extension of UCF50 data set which has 50 action categories.
With 13,320 videos from 101 action categories, UCF101 gives the largest diversity in terms of actions and with the presence of large variations in camera motion, object appearance and pose, object scale, viewpoint, cluttered background, illumination conditions, etc, it is the most challenging data set to date. As most of the available action recognition data sets are not realistic and are staged by actors, UCF101 aims to encourage further research into action recognition by learning and exploring new realistic action categories.
The videos in 101 action categories are grouped into 25 groups, where each group can consist of 4-7 videos of an action. The videos from the same group may share some common features, such as similar background, similar viewpoint, etc.
Example usage:
import fiftyone as fo import fiftyone.zoo as foz dataset = foz.load_zoo_dataset("ucf101", split="test") session = fo.launch_app(dataset)
- Dataset size
6.48 GB
- Source
- Parameters:
fold (1) – the test/train fold to use to arrange the files on disk. The supported values are
(1, 2, 3)
Attributes:
The name of the dataset.
The license or list,of,licenses under which the dataset is distributed, or None if unknown.
A tuple of tags for the dataset.
An optional dict of parameters describing the configuration of the zoo dataset when it was downloaded.
A tuple of supported splits for the dataset, or None if the dataset does not have splits.
Whether the dataset has patches that may need to be applied to already downloaded files.
Whether the dataset has splits.
Whether the dataset has tags.
A dict of default kwargs to pass to this dataset's
fiftyone.utils.data.importers.DatasetImporter.Whether the dataset is remotely-sourced.
Whether this dataset requires some files to be manually downloaded by the user before the dataset can be loaded.
Whether the dataset supports downloading partial subsets of its splits.
Methods:
download_and_prepare(dataset_dir[, split, ...])Downloads the dataset and prepares it for use.
get_info_path(dataset_dir)Returns the path to the
ZooDatasetInfofor the dataset.get_split_dir(dataset_dir, split)Returns the directory for the given split of the dataset.
has_info(dataset_dir)Determines whether the directory contains
ZooDatasetInfo.has_split(split)Whether the dataset has the given split.
has_tag(tag)Whether the dataset has the given tag.
load_info(dataset_dir[, upgrade, ...])Loads the
ZooDatasetInfofrom the given dataset directory.- property name#
The name of the dataset.
- property license#
The license or list,of,licenses under which the dataset is distributed, or None if unknown.
- property tags#
A tuple of tags for the dataset.
- property parameters#
An optional dict of parameters describing the configuration of the zoo dataset when it was downloaded.
- property supported_splits#
A tuple of supported splits for the dataset, or None if the dataset does not have splits.
- download_and_prepare(dataset_dir, split=None, splits=None, cleanup=True)#
Downloads the dataset and prepares it for use.
If the requested splits have already been downloaded, they are not re-downloaded.
- Parameters:
dataset_dir – the directory in which to construct the dataset
split (None) –
splitnorsplitsare provided, the full dataset is downloadedsplits (None) – a list of splits to download, if applicable. If neither
splitnorsplitsare provided, the full dataset is downloadedcleanup (True) – whether to cleanup any temporary files generated during download
- Returns:
the
ZooDatasetInfofor the dataset
- static get_info_path(dataset_dir)#
Returns the path to the
ZooDatasetInfofor the dataset.- Parameters:
dataset_dir – the dataset directory
- Returns:
the path to the
ZooDatasetInfo
- get_split_dir(dataset_dir, split)#
Returns the directory for the given split of the dataset.
- Parameters:
dataset_dir – the dataset directory
split – the dataset split
- Returns:
the directory that will/does hold the specified split
- static has_info(dataset_dir)#
Determines whether the directory contains
ZooDatasetInfo.- Parameters:
dataset_dir – the dataset directory
- Returns:
True/False
- property has_patches#
Whether the dataset has patches that may need to be applied to already downloaded files.
- has_split(split)#
Whether the dataset has the given split.
- Parameters:
split – the dataset split
- Returns:
True/False
- property has_splits#
Whether the dataset has splits.
- has_tag(tag)#
Whether the dataset has the given tag.
- Parameters:
tag – the tag
- Returns:
True/False
- property has_tags#
Whether the dataset has tags.
- property importer_kwargs#
A dict of default kwargs to pass to this dataset’s
fiftyone.utils.data.importers.DatasetImporter.
- property is_remote#
Whether the dataset is remotely-sourced.
- static load_info(dataset_dir, upgrade=True, warn_deprecated=False)#
Loads the
ZooDatasetInfofrom the given dataset directory.- Parameters:
dataset_dir – the directory in which to construct the dataset
upgrade (True) – whether to upgrade the JSON file on disk if any migrations were necessary
warn_deprecated (False) – whether to issue a warning if the dataset has a deprecated format
- Returns:
the
ZooDatasetInfofor the dataset
- property requires_manual_download#
Whether this dataset requires some files to be manually downloaded by the user before the dataset can be loaded.
- property supports_partial_downloads#
Whether the dataset supports downloading partial subsets of its splits.
- class fiftyone.zoo.datasets.base.RTKSLAMAbsoluteAccuracyDataset#
Bases:
FiftyOneDatasetHandheld LiDAR, camera, IMU and GNSS sequences measured against surveyed checkpoints, as native
.mcapepisodes.A handheld rig carrying a Livox MID360, a global shutter camera and a GNSS receiver is walked through a public park and a construction hall, both of which block the sky in places, including a 30 m underpass and an indoor hall spanning more than 400 seconds of the route.
The reference is not the GNSS. A geodetic total station surveyed 87 checkpoints along the routes independently, so absolute error can be measured without first fitting the estimate onto the reference. Three published trajectories are carried alongside the sensors, together with each one’s distance to every checkpoint.
Four sequences and 64.6 minutes of walking.
Example usage:
import fiftyone as fo import fiftyone.zoo as foz dataset = foz.load_zoo_dataset("rtk-slam-absolute-accuracy") # Where the sky was hardest to see view = dataset.sort_by("gnss_fix_rate") session = fo.launch_app(dataset, view=view)
- Dataset size
10.85 GB
Attributes:
The name of the dataset.
The license or list,of,licenses under which the dataset is distributed, or None if unknown.
A tuple of tags for the dataset.
A tuple of supported splits for the dataset, or None if the dataset does not have splits.
Whether the dataset has patches that may need to be applied to already downloaded files.
Whether the dataset has splits.
Whether the dataset has tags.
A dict of default kwargs to pass to this dataset's
fiftyone.utils.data.importers.DatasetImporter.Whether the dataset is remotely-sourced.
An optional dict of parameters describing the configuration of the zoo dataset when it was downloaded.
Whether this dataset requires some files to be manually downloaded by the user before the dataset can be loaded.
Whether the dataset supports downloading partial subsets of its splits.
Methods:
download_and_prepare(dataset_dir[, split, ...])Downloads the dataset and prepares it for use.
get_info_path(dataset_dir)Returns the path to the
ZooDatasetInfofor the dataset.get_split_dir(dataset_dir, split)Returns the directory for the given split of the dataset.
has_info(dataset_dir)Determines whether the directory contains
ZooDatasetInfo.has_split(split)Whether the dataset has the given split.
has_tag(tag)Whether the dataset has the given tag.
load_info(dataset_dir[, upgrade, ...])Loads the
ZooDatasetInfofrom the given dataset directory.- property name#
The name of the dataset.
- property license#
The license or list,of,licenses under which the dataset is distributed, or None if unknown.
- property tags#
A tuple of tags for the dataset.
- property supported_splits#
A tuple of supported splits for the dataset, or None if the dataset does not have splits.
- download_and_prepare(dataset_dir, split=None, splits=None, cleanup=True)#
Downloads the dataset and prepares it for use.
If the requested splits have already been downloaded, they are not re-downloaded.
- Parameters:
dataset_dir – the directory in which to construct the dataset
split (None) –
splitnorsplitsare provided, the full dataset is downloadedsplits (None) – a list of splits to download, if applicable. If neither
splitnorsplitsare provided, the full dataset is downloadedcleanup (True) – whether to cleanup any temporary files generated during download
- Returns:
the
ZooDatasetInfofor the dataset
- static get_info_path(dataset_dir)#
Returns the path to the
ZooDatasetInfofor the dataset.- Parameters:
dataset_dir – the dataset directory
- Returns:
the path to the
ZooDatasetInfo
- get_split_dir(dataset_dir, split)#
Returns the directory for the given split of the dataset.
- Parameters:
dataset_dir – the dataset directory
split – the dataset split
- Returns:
the directory that will/does hold the specified split
- static has_info(dataset_dir)#
Determines whether the directory contains
ZooDatasetInfo.- Parameters:
dataset_dir – the dataset directory
- Returns:
True/False
- property has_patches#
Whether the dataset has patches that may need to be applied to already downloaded files.
- has_split(split)#
Whether the dataset has the given split.
- Parameters:
split – the dataset split
- Returns:
True/False
- property has_splits#
Whether the dataset has splits.
- has_tag(tag)#
Whether the dataset has the given tag.
- Parameters:
tag – the tag
- Returns:
True/False
- property has_tags#
Whether the dataset has tags.
- property importer_kwargs#
A dict of default kwargs to pass to this dataset’s
fiftyone.utils.data.importers.DatasetImporter.
- property is_remote#
Whether the dataset is remotely-sourced.
- static load_info(dataset_dir, upgrade=True, warn_deprecated=False)#
Loads the
ZooDatasetInfofrom the given dataset directory.- Parameters:
dataset_dir – the directory in which to construct the dataset
upgrade (True) – whether to upgrade the JSON file on disk if any migrations were necessary
warn_deprecated (False) – whether to issue a warning if the dataset has a deprecated format
- Returns:
the
ZooDatasetInfofor the dataset
- property parameters#
An optional dict of parameters describing the configuration of the zoo dataset when it was downloaded.
- property requires_manual_download#
Whether this dataset requires some files to be manually downloaded by the user before the dataset can be loaded.
- property supports_partial_downloads#
Whether the dataset supports downloading partial subsets of its splits.
- class fiftyone.zoo.datasets.base.TIIRATMDroneRacingDataset#
Bases:
FiftyOneDatasetIndoor drone racing flights pairing onboard visual-inertial odometry with motion capture ground truth, as native
.mcapepisodes.A quadrotor flies laps of a four-gate track, three on an ellipse and three on a lemniscate, carrying a fisheye camera and a 500 Hz IMU while a motion capture system watches the room. Each episode carries both the estimate the drone computed for itself and the reference measured at the same instant, along with the distance between them.
Six flights, 10.9 minutes and 2,563 metres flown. Tracking error ranges from 0.61 m to 1.66 m RMSE across the six.
Example usage:
import fiftyone as fo import fiftyone.zoo as foz dataset = foz.load_zoo_dataset("tii-ratm-drone-racing") # The flights the odometry found hardest view = dataset.sort_by("tracking_error_rmse_m", reverse=True) session = fo.launch_app(dataset)
- Dataset size
0.58 GB
Attributes:
The name of the dataset.
The license or list,of,licenses under which the dataset is distributed, or None if unknown.
A tuple of tags for the dataset.
A tuple of supported splits for the dataset, or None if the dataset does not have splits.
Whether the dataset has patches that may need to be applied to already downloaded files.
Whether the dataset has splits.
Whether the dataset has tags.
A dict of default kwargs to pass to this dataset's
fiftyone.utils.data.importers.DatasetImporter.Whether the dataset is remotely-sourced.
An optional dict of parameters describing the configuration of the zoo dataset when it was downloaded.
Whether this dataset requires some files to be manually downloaded by the user before the dataset can be loaded.
Whether the dataset supports downloading partial subsets of its splits.
Methods:
download_and_prepare(dataset_dir[, split, ...])Downloads the dataset and prepares it for use.
get_info_path(dataset_dir)Returns the path to the
ZooDatasetInfofor the dataset.get_split_dir(dataset_dir, split)Returns the directory for the given split of the dataset.
has_info(dataset_dir)Determines whether the directory contains
ZooDatasetInfo.has_split(split)Whether the dataset has the given split.
has_tag(tag)Whether the dataset has the given tag.
load_info(dataset_dir[, upgrade, ...])Loads the
ZooDatasetInfofrom the given dataset directory.- property name#
The name of the dataset.
- property license#
The license or list,of,licenses under which the dataset is distributed, or None if unknown.
- property tags#
A tuple of tags for the dataset.
- property supported_splits#
A tuple of supported splits for the dataset, or None if the dataset does not have splits.
- download_and_prepare(dataset_dir, split=None, splits=None, cleanup=True)#
Downloads the dataset and prepares it for use.
If the requested splits have already been downloaded, they are not re-downloaded.
- Parameters:
dataset_dir – the directory in which to construct the dataset
split (None) –
splitnorsplitsare provided, the full dataset is downloadedsplits (None) – a list of splits to download, if applicable. If neither
splitnorsplitsare provided, the full dataset is downloadedcleanup (True) – whether to cleanup any temporary files generated during download
- Returns:
the
ZooDatasetInfofor the dataset
- static get_info_path(dataset_dir)#
Returns the path to the
ZooDatasetInfofor the dataset.- Parameters:
dataset_dir – the dataset directory
- Returns:
the path to the
ZooDatasetInfo
- get_split_dir(dataset_dir, split)#
Returns the directory for the given split of the dataset.
- Parameters:
dataset_dir – the dataset directory
split – the dataset split
- Returns:
the directory that will/does hold the specified split
- static has_info(dataset_dir)#
Determines whether the directory contains
ZooDatasetInfo.- Parameters:
dataset_dir – the dataset directory
- Returns:
True/False
- property has_patches#
Whether the dataset has patches that may need to be applied to already downloaded files.
- has_split(split)#
Whether the dataset has the given split.
- Parameters:
split – the dataset split
- Returns:
True/False
- property has_splits#
Whether the dataset has splits.
- has_tag(tag)#
Whether the dataset has the given tag.
- Parameters:
tag – the tag
- Returns:
True/False
- property has_tags#
Whether the dataset has tags.
- property importer_kwargs#
A dict of default kwargs to pass to this dataset’s
fiftyone.utils.data.importers.DatasetImporter.
- property is_remote#
Whether the dataset is remotely-sourced.
- static load_info(dataset_dir, upgrade=True, warn_deprecated=False)#
Loads the
ZooDatasetInfofrom the given dataset directory.- Parameters:
dataset_dir – the directory in which to construct the dataset
upgrade (True) – whether to upgrade the JSON file on disk if any migrations were necessary
warn_deprecated (False) – whether to issue a warning if the dataset has a deprecated format
- Returns:
the
ZooDatasetInfofor the dataset
- property parameters#
An optional dict of parameters describing the configuration of the zoo dataset when it was downloaded.
- property requires_manual_download#
Whether this dataset requires some files to be manually downloaded by the user before the dataset can be loaded.
- property supports_partial_downloads#
Whether the dataset supports downloading partial subsets of its splits.
- class fiftyone.zoo.datasets.base.TUMRGBDDataset#
Bases:
FiftyOneDatasetThe TUM RGB-D SLAM benchmark, as native
.mcapepisodes.A Microsoft Kinect records color and depth at 640x480 and 30 Hz while an eight-camera motion-capture system tracks it at 100 Hz, handheld, on a Pioneer robot, and over scenes built to test structure against texture, moving people and object reconstruction. Each episode carries the color images, the depth images as the benchmark ships them, the ground-truth pose and the Kinect’s intrinsics, and on the freiburg1 and freiburg2 sequences the Kinect’s accelerometer.
47 sequences in six categories, 48 minutes 12 seconds of recording, 81,413 color frames and 80,683 depth frames.
Example usage:
import fiftyone as fo import fiftyone.zoo as foz from fiftyone import ViewField as F dataset = foz.load_zoo_dataset("tum-rgbd") # The sequences with people moving through the scene view = dataset.match(F("category") == "Dynamic Objects") session = fo.launch_app(dataset, view=view)
- Dataset size
8.12 GB
Attributes:
The name of the dataset.
The license or list,of,licenses under which the dataset is distributed, or None if unknown.
A tuple of tags for the dataset.
A tuple of supported splits for the dataset, or None if the dataset does not have splits.
Whether the dataset has patches that may need to be applied to already downloaded files.
Whether the dataset has splits.
Whether the dataset has tags.
A dict of default kwargs to pass to this dataset's
fiftyone.utils.data.importers.DatasetImporter.Whether the dataset is remotely-sourced.
An optional dict of parameters describing the configuration of the zoo dataset when it was downloaded.
Whether this dataset requires some files to be manually downloaded by the user before the dataset can be loaded.
Whether the dataset supports downloading partial subsets of its splits.
Methods:
download_and_prepare(dataset_dir[, split, ...])Downloads the dataset and prepares it for use.
get_info_path(dataset_dir)Returns the path to the
ZooDatasetInfofor the dataset.get_split_dir(dataset_dir, split)Returns the directory for the given split of the dataset.
has_info(dataset_dir)Determines whether the directory contains
ZooDatasetInfo.has_split(split)Whether the dataset has the given split.
has_tag(tag)Whether the dataset has the given tag.
load_info(dataset_dir[, upgrade, ...])Loads the
ZooDatasetInfofrom the given dataset directory.- property name#
The name of the dataset.
- property license#
The license or list,of,licenses under which the dataset is distributed, or None if unknown.
- property tags#
A tuple of tags for the dataset.
- property supported_splits#
A tuple of supported splits for the dataset, or None if the dataset does not have splits.
- download_and_prepare(dataset_dir, split=None, splits=None, cleanup=True)#
Downloads the dataset and prepares it for use.
If the requested splits have already been downloaded, they are not re-downloaded.
- Parameters:
dataset_dir – the directory in which to construct the dataset
split (None) –
splitnorsplitsare provided, the full dataset is downloadedsplits (None) – a list of splits to download, if applicable. If neither
splitnorsplitsare provided, the full dataset is downloadedcleanup (True) – whether to cleanup any temporary files generated during download
- Returns:
the
ZooDatasetInfofor the dataset
- static get_info_path(dataset_dir)#
Returns the path to the
ZooDatasetInfofor the dataset.- Parameters:
dataset_dir – the dataset directory
- Returns:
the path to the
ZooDatasetInfo
- get_split_dir(dataset_dir, split)#
Returns the directory for the given split of the dataset.
- Parameters:
dataset_dir – the dataset directory
split – the dataset split
- Returns:
the directory that will/does hold the specified split
- static has_info(dataset_dir)#
Determines whether the directory contains
ZooDatasetInfo.- Parameters:
dataset_dir – the dataset directory
- Returns:
True/False
- property has_patches#
Whether the dataset has patches that may need to be applied to already downloaded files.
- has_split(split)#
Whether the dataset has the given split.
- Parameters:
split – the dataset split
- Returns:
True/False
- property has_splits#
Whether the dataset has splits.
- has_tag(tag)#
Whether the dataset has the given tag.
- Parameters:
tag – the tag
- Returns:
True/False
- property has_tags#
Whether the dataset has tags.
- property importer_kwargs#
A dict of default kwargs to pass to this dataset’s
fiftyone.utils.data.importers.DatasetImporter.
- property is_remote#
Whether the dataset is remotely-sourced.
- static load_info(dataset_dir, upgrade=True, warn_deprecated=False)#
Loads the
ZooDatasetInfofrom the given dataset directory.- Parameters:
dataset_dir – the directory in which to construct the dataset
upgrade (True) – whether to upgrade the JSON file on disk if any migrations were necessary
warn_deprecated (False) – whether to issue a warning if the dataset has a deprecated format
- Returns:
the
ZooDatasetInfofor the dataset
- property parameters#
An optional dict of parameters describing the configuration of the zoo dataset when it was downloaded.
- property requires_manual_download#
Whether this dataset requires some files to be manually downloaded by the user before the dataset can be loaded.
- property supports_partial_downloads#
Whether the dataset supports downloading partial subsets of its splits.
- class fiftyone.zoo.datasets.base.EgocentricEMGForceDataset#
Bases:
FiftyOneDatasetFirst-person household task recordings pairing RGB-D video with wrist EMG and per-finger contact force, as native
.mcapepisodes.Someone wearing a depth camera and an eight-channel EMG band on each wrist works through eight household tasks. Alongside the video each episode carries the muscle signal from both forearms at roughly 550 Hz, a 21-point hand skeleton per frame, an estimate of how hard each finger is pressing, and wrist IMU.
Every episode is cut into subtasks a reviewer described in English, so the 122 segments read as instructions rather than indices.
38.2 minutes of recording: 67,185 camera and depth frames, 2,539,493 EMG samples, 60,254 hand skeletons and 133,721 per-finger force readings.
Contact force is an estimate derived from hand pose and depth rather than a reading from an instrumented glove, and it saturates at 45 N.
Example usage:
import fiftyone as fo import fiftyone.zoo as foz dataset = foz.load_zoo_dataset("egocentric-emg-force") # The tasks with the firmest contact view = dataset.match({"peak_finger_force": {"$gt": 40}}) session = fo.launch_app(dataset)
- Dataset size
8.43 GB
Attributes:
The name of the dataset.
The license or list,of,licenses under which the dataset is distributed, or None if unknown.
A tuple of tags for the dataset.
A tuple of supported splits for the dataset, or None if the dataset does not have splits.
Whether the dataset has patches that may need to be applied to already downloaded files.
Whether the dataset has splits.
Whether the dataset has tags.
A dict of default kwargs to pass to this dataset's
fiftyone.utils.data.importers.DatasetImporter.Whether the dataset is remotely-sourced.
An optional dict of parameters describing the configuration of the zoo dataset when it was downloaded.
Whether this dataset requires some files to be manually downloaded by the user before the dataset can be loaded.
Whether the dataset supports downloading partial subsets of its splits.
Methods:
download_and_prepare(dataset_dir[, split, ...])Downloads the dataset and prepares it for use.
get_info_path(dataset_dir)Returns the path to the
ZooDatasetInfofor the dataset.get_split_dir(dataset_dir, split)Returns the directory for the given split of the dataset.
has_info(dataset_dir)Determines whether the directory contains
ZooDatasetInfo.has_split(split)Whether the dataset has the given split.
has_tag(tag)Whether the dataset has the given tag.
load_info(dataset_dir[, upgrade, ...])Loads the
ZooDatasetInfofrom the given dataset directory.- property name#
The name of the dataset.
- property license#
The license or list,of,licenses under which the dataset is distributed, or None if unknown.
- property tags#
A tuple of tags for the dataset.
- property supported_splits#
A tuple of supported splits for the dataset, or None if the dataset does not have splits.
- download_and_prepare(dataset_dir, split=None, splits=None, cleanup=True)#
Downloads the dataset and prepares it for use.
If the requested splits have already been downloaded, they are not re-downloaded.
- Parameters:
dataset_dir – the directory in which to construct the dataset
split (None) –
splitnorsplitsare provided, the full dataset is downloadedsplits (None) – a list of splits to download, if applicable. If neither
splitnorsplitsare provided, the full dataset is downloadedcleanup (True) – whether to cleanup any temporary files generated during download
- Returns:
the
ZooDatasetInfofor the dataset
- static get_info_path(dataset_dir)#
Returns the path to the
ZooDatasetInfofor the dataset.- Parameters:
dataset_dir – the dataset directory
- Returns:
the path to the
ZooDatasetInfo
- get_split_dir(dataset_dir, split)#
Returns the directory for the given split of the dataset.
- Parameters:
dataset_dir – the dataset directory
split – the dataset split
- Returns:
the directory that will/does hold the specified split
- static has_info(dataset_dir)#
Determines whether the directory contains
ZooDatasetInfo.- Parameters:
dataset_dir – the dataset directory
- Returns:
True/False
- property has_patches#
Whether the dataset has patches that may need to be applied to already downloaded files.
- has_split(split)#
Whether the dataset has the given split.
- Parameters:
split – the dataset split
- Returns:
True/False
- property has_splits#
Whether the dataset has splits.
- has_tag(tag)#
Whether the dataset has the given tag.
- Parameters:
tag – the tag
- Returns:
True/False
- property has_tags#
Whether the dataset has tags.
- property importer_kwargs#
A dict of default kwargs to pass to this dataset’s
fiftyone.utils.data.importers.DatasetImporter.
- property is_remote#
Whether the dataset is remotely-sourced.
- static load_info(dataset_dir, upgrade=True, warn_deprecated=False)#
Loads the
ZooDatasetInfofrom the given dataset directory.- Parameters:
dataset_dir – the directory in which to construct the dataset
upgrade (True) – whether to upgrade the JSON file on disk if any migrations were necessary
warn_deprecated (False) – whether to issue a warning if the dataset has a deprecated format
- Returns:
the
ZooDatasetInfofor the dataset
- property parameters#
An optional dict of parameters describing the configuration of the zoo dataset when it was downloaded.
- property requires_manual_download#
Whether this dataset requires some files to be manually downloaded by the user before the dataset can be loaded.
- property supports_partial_downloads#
Whether the dataset supports downloading partial subsets of its splits.
- class fiftyone.zoo.datasets.base.CitrusFarmSampleDataset#
Bases:
FiftyOneDatasetA sample of the CitrusFarm multimodal agricultural robotics dataset, as a native
.mcapepisode.A Clearpath Jackal drives the rows of citrus trees at the University of California Riverside’s Agricultural Experimental Station carrying a monochrome camera, a thermal camera, a camera that sees red, green and near-infrared, a ZED 2i stereo camera with its depth, a Velodyne LiDAR, an inertial unit and a GPS-RTK receiver. The episode carries every camera, the stereo depth, the LiDAR scans, the GPS-RTK fixes, the wheel and visual odometry and the ground-truth trajectory on one clock.
One sequence, 5 minutes of driving over 357 m: 3,026 monochrome, 3,024 thermal, 3,025 red-green-NIR and 3,022 stereo frames and 2,998 LiDAR scans.
Example usage:
import fiftyone as fo import fiftyone.zoo as foz dataset = foz.load_zoo_dataset("citrusfarm-sample") session = fo.launch_app(dataset)
- Dataset size
2.50 GB
Attributes:
The name of the dataset.
The license or list,of,licenses under which the dataset is distributed, or None if unknown.
A tuple of tags for the dataset.
A tuple of supported splits for the dataset, or None if the dataset does not have splits.
Whether the dataset has patches that may need to be applied to already downloaded files.
Whether the dataset has splits.
Whether the dataset has tags.
A dict of default kwargs to pass to this dataset's
fiftyone.utils.data.importers.DatasetImporter.Whether the dataset is remotely-sourced.
An optional dict of parameters describing the configuration of the zoo dataset when it was downloaded.
Whether this dataset requires some files to be manually downloaded by the user before the dataset can be loaded.
Whether the dataset supports downloading partial subsets of its splits.
Methods:
download_and_prepare(dataset_dir[, split, ...])Downloads the dataset and prepares it for use.
get_info_path(dataset_dir)Returns the path to the
ZooDatasetInfofor the dataset.get_split_dir(dataset_dir, split)Returns the directory for the given split of the dataset.
has_info(dataset_dir)Determines whether the directory contains
ZooDatasetInfo.has_split(split)Whether the dataset has the given split.
has_tag(tag)Whether the dataset has the given tag.
load_info(dataset_dir[, upgrade, ...])Loads the
ZooDatasetInfofrom the given dataset directory.- property name#
The name of the dataset.
- property license#
The license or list,of,licenses under which the dataset is distributed, or None if unknown.
- property tags#
A tuple of tags for the dataset.
- property supported_splits#
A tuple of supported splits for the dataset, or None if the dataset does not have splits.
- download_and_prepare(dataset_dir, split=None, splits=None, cleanup=True)#
Downloads the dataset and prepares it for use.
If the requested splits have already been downloaded, they are not re-downloaded.
- Parameters:
dataset_dir – the directory in which to construct the dataset
split (None) –
splitnorsplitsare provided, the full dataset is downloadedsplits (None) – a list of splits to download, if applicable. If neither
splitnorsplitsare provided, the full dataset is downloadedcleanup (True) – whether to cleanup any temporary files generated during download
- Returns:
the
ZooDatasetInfofor the dataset
- static get_info_path(dataset_dir)#
Returns the path to the
ZooDatasetInfofor the dataset.- Parameters:
dataset_dir – the dataset directory
- Returns:
the path to the
ZooDatasetInfo
- get_split_dir(dataset_dir, split)#
Returns the directory for the given split of the dataset.
- Parameters:
dataset_dir – the dataset directory
split – the dataset split
- Returns:
the directory that will/does hold the specified split
- static has_info(dataset_dir)#
Determines whether the directory contains
ZooDatasetInfo.- Parameters:
dataset_dir – the dataset directory
- Returns:
True/False
- property has_patches#
Whether the dataset has patches that may need to be applied to already downloaded files.
- has_split(split)#
Whether the dataset has the given split.
- Parameters:
split – the dataset split
- Returns:
True/False
- property has_splits#
Whether the dataset has splits.
- has_tag(tag)#
Whether the dataset has the given tag.
- Parameters:
tag – the tag
- Returns:
True/False
- property has_tags#
Whether the dataset has tags.
- property importer_kwargs#
A dict of default kwargs to pass to this dataset’s
fiftyone.utils.data.importers.DatasetImporter.
- property is_remote#
Whether the dataset is remotely-sourced.
- static load_info(dataset_dir, upgrade=True, warn_deprecated=False)#
Loads the
ZooDatasetInfofrom the given dataset directory.- Parameters:
dataset_dir – the directory in which to construct the dataset
upgrade (True) – whether to upgrade the JSON file on disk if any migrations were necessary
warn_deprecated (False) – whether to issue a warning if the dataset has a deprecated format
- Returns:
the
ZooDatasetInfofor the dataset
- property parameters#
An optional dict of parameters describing the configuration of the zoo dataset when it was downloaded.
- property requires_manual_download#
Whether this dataset requires some files to be manually downloaded by the user before the dataset can be loaded.
- property supports_partial_downloads#
Whether the dataset supports downloading partial subsets of its splits.
- class fiftyone.zoo.datasets.base.RoboLabDataset#
Bases:
FiftyOneDatasetPolicy rollouts recorded on NVIDIA’s RoboLab manipulation benchmark, as native
.mcapepisodes.Each take carries three synchronized camera views with a matching 16-bit depth stream, per-camera intrinsics, joint positions, actions, end-effector pose, and the task instruction. Takes keep the benchmark’s own success label, so failed rollouts sit alongside successful ones.
In 153 of the 4,000 takes the camera streams carry 80 frames while depth and telemetry carry 81, so align streams by timestamp rather than by index.
Example usage:
import fiftyone as fo import fiftyone.zoo as foz dataset = foz.load_zoo_dataset("robolab") # Rollouts the policy got right view = dataset.match({"success": True}) session = fo.launch_app(dataset)
- Dataset size
21.85 GB
Attributes:
The name of the dataset.
The license or list,of,licenses under which the dataset is distributed, or None if unknown.
A tuple of tags for the dataset.
A tuple of supported splits for the dataset, or None if the dataset does not have splits.
Whether the dataset has patches that may need to be applied to already downloaded files.
Whether the dataset has splits.
Whether the dataset has tags.
A dict of default kwargs to pass to this dataset's
fiftyone.utils.data.importers.DatasetImporter.Whether the dataset is remotely-sourced.
An optional dict of parameters describing the configuration of the zoo dataset when it was downloaded.
Whether this dataset requires some files to be manually downloaded by the user before the dataset can be loaded.
Whether the dataset supports downloading partial subsets of its splits.
Methods:
download_and_prepare(dataset_dir[, split, ...])Downloads the dataset and prepares it for use.
get_info_path(dataset_dir)Returns the path to the
ZooDatasetInfofor the dataset.get_split_dir(dataset_dir, split)Returns the directory for the given split of the dataset.
has_info(dataset_dir)Determines whether the directory contains
ZooDatasetInfo.has_split(split)Whether the dataset has the given split.
has_tag(tag)Whether the dataset has the given tag.
load_info(dataset_dir[, upgrade, ...])Loads the
ZooDatasetInfofrom the given dataset directory.- property name#
The name of the dataset.
- property license#
The license or list,of,licenses under which the dataset is distributed, or None if unknown.
- property tags#
A tuple of tags for the dataset.
- property supported_splits#
A tuple of supported splits for the dataset, or None if the dataset does not have splits.
- download_and_prepare(dataset_dir, split=None, splits=None, cleanup=True)#
Downloads the dataset and prepares it for use.
If the requested splits have already been downloaded, they are not re-downloaded.
- Parameters:
dataset_dir – the directory in which to construct the dataset
split (None) –
splitnorsplitsare provided, the full dataset is downloadedsplits (None) – a list of splits to download, if applicable. If neither
splitnorsplitsare provided, the full dataset is downloadedcleanup (True) – whether to cleanup any temporary files generated during download
- Returns:
the
ZooDatasetInfofor the dataset
- static get_info_path(dataset_dir)#
Returns the path to the
ZooDatasetInfofor the dataset.- Parameters:
dataset_dir – the dataset directory
- Returns:
the path to the
ZooDatasetInfo
- get_split_dir(dataset_dir, split)#
Returns the directory for the given split of the dataset.
- Parameters:
dataset_dir – the dataset directory
split – the dataset split
- Returns:
the directory that will/does hold the specified split
- static has_info(dataset_dir)#
Determines whether the directory contains
ZooDatasetInfo.- Parameters:
dataset_dir – the dataset directory
- Returns:
True/False
- property has_patches#
Whether the dataset has patches that may need to be applied to already downloaded files.
- has_split(split)#
Whether the dataset has the given split.
- Parameters:
split – the dataset split
- Returns:
True/False
- property has_splits#
Whether the dataset has splits.
- has_tag(tag)#
Whether the dataset has the given tag.
- Parameters:
tag – the tag
- Returns:
True/False
- property has_tags#
Whether the dataset has tags.
- property importer_kwargs#
A dict of default kwargs to pass to this dataset’s
fiftyone.utils.data.importers.DatasetImporter.
- property is_remote#
Whether the dataset is remotely-sourced.
- static load_info(dataset_dir, upgrade=True, warn_deprecated=False)#
Loads the
ZooDatasetInfofrom the given dataset directory.- Parameters:
dataset_dir – the directory in which to construct the dataset
upgrade (True) – whether to upgrade the JSON file on disk if any migrations were necessary
warn_deprecated (False) – whether to issue a warning if the dataset has a deprecated format
- Returns:
the
ZooDatasetInfofor the dataset
- property parameters#
An optional dict of parameters describing the configuration of the zoo dataset when it was downloaded.
- property requires_manual_download#
Whether this dataset requires some files to be manually downloaded by the user before the dataset can be loaded.
- property supports_partial_downloads#
Whether the dataset supports downloading partial subsets of its splits.
- class fiftyone.zoo.datasets.base.GrandTourSampleDataset#
Bases:
FiftyOneDatasetA sample of the GrandTour legged robotics dataset, as native
.mcapepisodes.An ANYmal D quadruped from ETH Zurich’s Robotic Systems Lab carries the Boxi sensor payload through cities, buildings, forests, mountains and ice: HDR and depth cameras, a Hesai LiDAR, a tactical-grade inertial unit, a GNSS/INS receiver and the robot’s own joint sensing, with a total station tracking a prism on the payload for reference.
The sample carries three of the release’s 49 missions, one episode each, chosen to contrast: ice on the Jungfraujoch, the main hall of ETH Zurich and a muddy forest slope on the Uetliberg.
Example usage:
import fiftyone as fo import fiftyone.zoo as foz dataset = foz.load_zoo_dataset("grandtour-sample") # The longest walk view = dataset.sort_by("lidar_odometry_path_m", reverse=True) session = fo.launch_app(dataset, view=view)
- Dataset size
15.92 GB
Attributes:
The name of the dataset.
The license or list,of,licenses under which the dataset is distributed, or None if unknown.
A tuple of tags for the dataset.
A tuple of supported splits for the dataset, or None if the dataset does not have splits.
Whether the dataset has patches that may need to be applied to already downloaded files.
Whether the dataset has splits.
Whether the dataset has tags.
A dict of default kwargs to pass to this dataset's
fiftyone.utils.data.importers.DatasetImporter.Whether the dataset is remotely-sourced.
An optional dict of parameters describing the configuration of the zoo dataset when it was downloaded.
Whether this dataset requires some files to be manually downloaded by the user before the dataset can be loaded.
Whether the dataset supports downloading partial subsets of its splits.
Methods:
download_and_prepare(dataset_dir[, split, ...])Downloads the dataset and prepares it for use.
get_info_path(dataset_dir)Returns the path to the
ZooDatasetInfofor the dataset.get_split_dir(dataset_dir, split)Returns the directory for the given split of the dataset.
has_info(dataset_dir)Determines whether the directory contains
ZooDatasetInfo.has_split(split)Whether the dataset has the given split.
has_tag(tag)Whether the dataset has the given tag.
load_info(dataset_dir[, upgrade, ...])Loads the
ZooDatasetInfofrom the given dataset directory.- property name#
The name of the dataset.
- property license#
The license or list,of,licenses under which the dataset is distributed, or None if unknown.
- property tags#
A tuple of tags for the dataset.
- property supported_splits#
A tuple of supported splits for the dataset, or None if the dataset does not have splits.
- download_and_prepare(dataset_dir, split=None, splits=None, cleanup=True)#
Downloads the dataset and prepares it for use.
If the requested splits have already been downloaded, they are not re-downloaded.
- Parameters:
dataset_dir – the directory in which to construct the dataset
split (None) –
splitnorsplitsare provided, the full dataset is downloadedsplits (None) – a list of splits to download, if applicable. If neither
splitnorsplitsare provided, the full dataset is downloadedcleanup (True) – whether to cleanup any temporary files generated during download
- Returns:
the
ZooDatasetInfofor the dataset
- static get_info_path(dataset_dir)#
Returns the path to the
ZooDatasetInfofor the dataset.- Parameters:
dataset_dir – the dataset directory
- Returns:
the path to the
ZooDatasetInfo
- get_split_dir(dataset_dir, split)#
Returns the directory for the given split of the dataset.
- Parameters:
dataset_dir – the dataset directory
split – the dataset split
- Returns:
the directory that will/does hold the specified split
- static has_info(dataset_dir)#
Determines whether the directory contains
ZooDatasetInfo.- Parameters:
dataset_dir – the dataset directory
- Returns:
True/False
- property has_patches#
Whether the dataset has patches that may need to be applied to already downloaded files.
- has_split(split)#
Whether the dataset has the given split.
- Parameters:
split – the dataset split
- Returns:
True/False
- property has_splits#
Whether the dataset has splits.
- has_tag(tag)#
Whether the dataset has the given tag.
- Parameters:
tag – the tag
- Returns:
True/False
- property has_tags#
Whether the dataset has tags.
- property importer_kwargs#
A dict of default kwargs to pass to this dataset’s
fiftyone.utils.data.importers.DatasetImporter.
- property is_remote#
Whether the dataset is remotely-sourced.
- static load_info(dataset_dir, upgrade=True, warn_deprecated=False)#
Loads the
ZooDatasetInfofrom the given dataset directory.- Parameters:
dataset_dir – the directory in which to construct the dataset
upgrade (True) – whether to upgrade the JSON file on disk if any migrations were necessary
warn_deprecated (False) – whether to issue a warning if the dataset has a deprecated format
- Returns:
the
ZooDatasetInfofor the dataset
- property parameters#
An optional dict of parameters describing the configuration of the zoo dataset when it was downloaded.
- property requires_manual_download#
Whether this dataset requires some files to be manually downloaded by the user before the dataset can be loaded.
- property supports_partial_downloads#
Whether the dataset supports downloading partial subsets of its splits.
- class fiftyone.zoo.datasets.base.BoilingBenchMultimodalDataset#
Bases:
FiftyOneDatasetPool-boiling and immersion-cooling experiments pairing high-speed or infrared video with thermal and acoustic sensing, as native
.mcapepisodes.A copper surface is driven past the onset of boiling while a high-speed camera watches from the side and a hydrophone, a microphone and an acoustic-emission sensor listen. Boiling changes character before it changes appearance, and the sensor streams carry a recorded clock offset against the temperature acquisition, so the sound and the surface temperature sit on one timeline.
Each pool-boiling episode carries surface temperature and heat flux, the four embedded thermocouples, acoustic band power and characteristic frequencies per sensor, per-hit acoustic-emission parameters, and the release’s derived markers stamped where they were found: departure from nucleate boiling, the surface temperature peak, the critical-heat-flux marker and the DC power start and shutoff. Every episode but the hydrophone reference run also carries the camera. Two closed-loop immersion-cooling runs are carried alongside them, recorded in infrared with HFE-7100 and water.
The critical-heat-flux figures are the release’s own screening markers rather than validated measurements, and each episode carries the source’s
chf_event_statusbeside them.The high-speed camera carries no clock offset of its own, so its frames are placed by scaling container time onto the run and those episodes record the
video_time_scalethey were placed with. The infrared frames carry their own timestamps.Example usage:
import fiftyone as fo import fiftyone.zoo as foz dataset = foz.load_zoo_dataset("boilingbench-multimodal") # The runs that reached the highest wall temperature view = dataset.sort_by("max_surface_temp_C", reverse=True) session = fo.launch_app(dataset, view=view)
- Dataset size
2.90 GB
Attributes:
The name of the dataset.
The license or list,of,licenses under which the dataset is distributed, or None if unknown.
A tuple of tags for the dataset.
A tuple of supported splits for the dataset, or None if the dataset does not have splits.
Whether the dataset has patches that may need to be applied to already downloaded files.
Whether the dataset has splits.
Whether the dataset has tags.
A dict of default kwargs to pass to this dataset's
fiftyone.utils.data.importers.DatasetImporter.Whether the dataset is remotely-sourced.
An optional dict of parameters describing the configuration of the zoo dataset when it was downloaded.
Whether this dataset requires some files to be manually downloaded by the user before the dataset can be loaded.
Whether the dataset supports downloading partial subsets of its splits.
Methods:
download_and_prepare(dataset_dir[, split, ...])Downloads the dataset and prepares it for use.
get_info_path(dataset_dir)Returns the path to the
ZooDatasetInfofor the dataset.get_split_dir(dataset_dir, split)Returns the directory for the given split of the dataset.
has_info(dataset_dir)Determines whether the directory contains
ZooDatasetInfo.has_split(split)Whether the dataset has the given split.
has_tag(tag)Whether the dataset has the given tag.
load_info(dataset_dir[, upgrade, ...])Loads the
ZooDatasetInfofrom the given dataset directory.- property name#
The name of the dataset.
- property license#
The license or list,of,licenses under which the dataset is distributed, or None if unknown.
- property tags#
A tuple of tags for the dataset.
- property supported_splits#
A tuple of supported splits for the dataset, or None if the dataset does not have splits.
- download_and_prepare(dataset_dir, split=None, splits=None, cleanup=True)#
Downloads the dataset and prepares it for use.
If the requested splits have already been downloaded, they are not re-downloaded.
- Parameters:
dataset_dir – the directory in which to construct the dataset
split (None) –
splitnorsplitsare provided, the full dataset is downloadedsplits (None) – a list of splits to download, if applicable. If neither
splitnorsplitsare provided, the full dataset is downloadedcleanup (True) – whether to cleanup any temporary files generated during download
- Returns:
the
ZooDatasetInfofor the dataset
- static get_info_path(dataset_dir)#
Returns the path to the
ZooDatasetInfofor the dataset.- Parameters:
dataset_dir – the dataset directory
- Returns:
the path to the
ZooDatasetInfo
- get_split_dir(dataset_dir, split)#
Returns the directory for the given split of the dataset.
- Parameters:
dataset_dir – the dataset directory
split – the dataset split
- Returns:
the directory that will/does hold the specified split
- static has_info(dataset_dir)#
Determines whether the directory contains
ZooDatasetInfo.- Parameters:
dataset_dir – the dataset directory
- Returns:
True/False
- property has_patches#
Whether the dataset has patches that may need to be applied to already downloaded files.
- has_split(split)#
Whether the dataset has the given split.
- Parameters:
split – the dataset split
- Returns:
True/False
- property has_splits#
Whether the dataset has splits.
- has_tag(tag)#
Whether the dataset has the given tag.
- Parameters:
tag – the tag
- Returns:
True/False
- property has_tags#
Whether the dataset has tags.
- property importer_kwargs#
A dict of default kwargs to pass to this dataset’s
fiftyone.utils.data.importers.DatasetImporter.
- property is_remote#
Whether the dataset is remotely-sourced.
- static load_info(dataset_dir, upgrade=True, warn_deprecated=False)#
Loads the
ZooDatasetInfofrom the given dataset directory.- Parameters:
dataset_dir – the directory in which to construct the dataset
upgrade (True) – whether to upgrade the JSON file on disk if any migrations were necessary
warn_deprecated (False) – whether to issue a warning if the dataset has a deprecated format
- Returns:
the
ZooDatasetInfofor the dataset
- property parameters#
An optional dict of parameters describing the configuration of the zoo dataset when it was downloaded.
- property requires_manual_download#
Whether this dataset requires some files to be manually downloaded by the user before the dataset can be loaded.
- property supports_partial_downloads#
Whether the dataset supports downloading partial subsets of its splits.
- class fiftyone.zoo.datasets.base.ABC130kDataset#
Bases:
FiftyOneDatasetA curated 40-episode subset of the ABC-130k bimanual robot teleoperation corpus (134,806 episodes, 195 tasks, 3,553 hours).
Each sample is a native
.mcapepisode containing synchronized multi-camera video and robot telemetry, rendered on the timeline via FiftyOne’s multimodal support.Example usage:
import fiftyone as fo import fiftyone.zoo as foz dataset = foz.load_zoo_dataset("abc-130k") session = fo.launch_app(dataset)
- Dataset size
3.52 GB
Attributes:
The name of the dataset.
The license or list,of,licenses under which the dataset is distributed, or None if unknown.
A tuple of tags for the dataset.
A tuple of supported splits for the dataset, or None if the dataset does not have splits.
Whether the dataset has patches that may need to be applied to already downloaded files.
Whether the dataset has splits.
Whether the dataset has tags.
A dict of default kwargs to pass to this dataset's
fiftyone.utils.data.importers.DatasetImporter.Whether the dataset is remotely-sourced.
An optional dict of parameters describing the configuration of the zoo dataset when it was downloaded.
Whether this dataset requires some files to be manually downloaded by the user before the dataset can be loaded.
Whether the dataset supports downloading partial subsets of its splits.
Methods:
download_and_prepare(dataset_dir[, split, ...])Downloads the dataset and prepares it for use.
get_info_path(dataset_dir)Returns the path to the
ZooDatasetInfofor the dataset.get_split_dir(dataset_dir, split)Returns the directory for the given split of the dataset.
has_info(dataset_dir)Determines whether the directory contains
ZooDatasetInfo.has_split(split)Whether the dataset has the given split.
has_tag(tag)Whether the dataset has the given tag.
load_info(dataset_dir[, upgrade, ...])Loads the
ZooDatasetInfofrom the given dataset directory.- property name#
The name of the dataset.
- property license#
The license or list,of,licenses under which the dataset is distributed, or None if unknown.
- property tags#
A tuple of tags for the dataset.
- property supported_splits#
A tuple of supported splits for the dataset, or None if the dataset does not have splits.
- download_and_prepare(dataset_dir, split=None, splits=None, cleanup=True)#
Downloads the dataset and prepares it for use.
If the requested splits have already been downloaded, they are not re-downloaded.
- Parameters:
dataset_dir – the directory in which to construct the dataset
split (None) –
splitnorsplitsare provided, the full dataset is downloadedsplits (None) – a list of splits to download, if applicable. If neither
splitnorsplitsare provided, the full dataset is downloadedcleanup (True) – whether to cleanup any temporary files generated during download
- Returns:
the
ZooDatasetInfofor the dataset
- static get_info_path(dataset_dir)#
Returns the path to the
ZooDatasetInfofor the dataset.- Parameters:
dataset_dir – the dataset directory
- Returns:
the path to the
ZooDatasetInfo
- get_split_dir(dataset_dir, split)#
Returns the directory for the given split of the dataset.
- Parameters:
dataset_dir – the dataset directory
split – the dataset split
- Returns:
the directory that will/does hold the specified split
- static has_info(dataset_dir)#
Determines whether the directory contains
ZooDatasetInfo.- Parameters:
dataset_dir – the dataset directory
- Returns:
True/False
- property has_patches#
Whether the dataset has patches that may need to be applied to already downloaded files.
- has_split(split)#
Whether the dataset has the given split.
- Parameters:
split – the dataset split
- Returns:
True/False
- property has_splits#
Whether the dataset has splits.
- has_tag(tag)#
Whether the dataset has the given tag.
- Parameters:
tag – the tag
- Returns:
True/False
- property has_tags#
Whether the dataset has tags.
- property importer_kwargs#
A dict of default kwargs to pass to this dataset’s
fiftyone.utils.data.importers.DatasetImporter.
- property is_remote#
Whether the dataset is remotely-sourced.
- static load_info(dataset_dir, upgrade=True, warn_deprecated=False)#
Loads the
ZooDatasetInfofrom the given dataset directory.- Parameters:
dataset_dir – the directory in which to construct the dataset
upgrade (True) – whether to upgrade the JSON file on disk if any migrations were necessary
warn_deprecated (False) – whether to issue a warning if the dataset has a deprecated format
- Returns:
the
ZooDatasetInfofor the dataset
- property parameters#
An optional dict of parameters describing the configuration of the zoo dataset when it was downloaded.
- property requires_manual_download#
Whether this dataset requires some files to be manually downloaded by the user before the dataset can be loaded.
- property supports_partial_downloads#
Whether the dataset supports downloading partial subsets of its splits.
- class fiftyone.zoo.datasets.base.GR00TXEmbodimentSimDataset#
Bases:
FiftyOneDatasetA 42-episode subset of NVIDIA’s GR00T-X-Embodiment-Sim corpus, six episodes from each of seven robot embodiments, as native
.mcapepisodes.Each episode carries the camera streams as H.264 video, per-part robot state and action telemetry with timeline plot channels, and the task instruction.
Example usage:
import fiftyone as fo import fiftyone.zoo as foz dataset = foz.load_zoo_dataset("gr00t-x-embodiment-sim") session = fo.launch_app(dataset)
- Dataset size
0.90 GB
Attributes:
The name of the dataset.
The license or list,of,licenses under which the dataset is distributed, or None if unknown.
A tuple of tags for the dataset.
A tuple of supported splits for the dataset, or None if the dataset does not have splits.
Whether the dataset has patches that may need to be applied to already downloaded files.
Whether the dataset has splits.
Whether the dataset has tags.
A dict of default kwargs to pass to this dataset's
fiftyone.utils.data.importers.DatasetImporter.Whether the dataset is remotely-sourced.
An optional dict of parameters describing the configuration of the zoo dataset when it was downloaded.
Whether this dataset requires some files to be manually downloaded by the user before the dataset can be loaded.
Whether the dataset supports downloading partial subsets of its splits.
Methods:
download_and_prepare(dataset_dir[, split, ...])Downloads the dataset and prepares it for use.
get_info_path(dataset_dir)Returns the path to the
ZooDatasetInfofor the dataset.get_split_dir(dataset_dir, split)Returns the directory for the given split of the dataset.
has_info(dataset_dir)Determines whether the directory contains
ZooDatasetInfo.has_split(split)Whether the dataset has the given split.
has_tag(tag)Whether the dataset has the given tag.
load_info(dataset_dir[, upgrade, ...])Loads the
ZooDatasetInfofrom the given dataset directory.- property name#
The name of the dataset.
- property license#
The license or list,of,licenses under which the dataset is distributed, or None if unknown.
- property tags#
A tuple of tags for the dataset.
- property supported_splits#
A tuple of supported splits for the dataset, or None if the dataset does not have splits.
- download_and_prepare(dataset_dir, split=None, splits=None, cleanup=True)#
Downloads the dataset and prepares it for use.
If the requested splits have already been downloaded, they are not re-downloaded.
- Parameters:
dataset_dir – the directory in which to construct the dataset
split (None) –
splitnorsplitsare provided, the full dataset is downloadedsplits (None) – a list of splits to download, if applicable. If neither
splitnorsplitsare provided, the full dataset is downloadedcleanup (True) – whether to cleanup any temporary files generated during download
- Returns:
the
ZooDatasetInfofor the dataset
- static get_info_path(dataset_dir)#
Returns the path to the
ZooDatasetInfofor the dataset.- Parameters:
dataset_dir – the dataset directory
- Returns:
the path to the
ZooDatasetInfo
- get_split_dir(dataset_dir, split)#
Returns the directory for the given split of the dataset.
- Parameters:
dataset_dir – the dataset directory
split – the dataset split
- Returns:
the directory that will/does hold the specified split
- static has_info(dataset_dir)#
Determines whether the directory contains
ZooDatasetInfo.- Parameters:
dataset_dir – the dataset directory
- Returns:
True/False
- property has_patches#
Whether the dataset has patches that may need to be applied to already downloaded files.
- has_split(split)#
Whether the dataset has the given split.
- Parameters:
split – the dataset split
- Returns:
True/False
- property has_splits#
Whether the dataset has splits.
- has_tag(tag)#
Whether the dataset has the given tag.
- Parameters:
tag – the tag
- Returns:
True/False
- property has_tags#
Whether the dataset has tags.
- property importer_kwargs#
A dict of default kwargs to pass to this dataset’s
fiftyone.utils.data.importers.DatasetImporter.
- property is_remote#
Whether the dataset is remotely-sourced.
- static load_info(dataset_dir, upgrade=True, warn_deprecated=False)#
Loads the
ZooDatasetInfofrom the given dataset directory.- Parameters:
dataset_dir – the directory in which to construct the dataset
upgrade (True) – whether to upgrade the JSON file on disk if any migrations were necessary
warn_deprecated (False) – whether to issue a warning if the dataset has a deprecated format
- Returns:
the
ZooDatasetInfofor the dataset
- property parameters#
An optional dict of parameters describing the configuration of the zoo dataset when it was downloaded.
- property requires_manual_download#
Whether this dataset requires some files to be manually downloaded by the user before the dataset can be loaded.
- property supports_partial_downloads#
Whether the dataset supports downloading partial subsets of its splits.
- class fiftyone.zoo.datasets.base.RoboMINDDataset#
Bases:
FiftyOneDatasetA 32-episode subset of the RoboMIND manipulation benchmark, eight episodes from each of four robot embodiments, as native
.mcapepisodes.Each episode carries per-camera RGB and depth streams, joint telemetry for every recorded arm with timeline plot channels, and the language instruction.
Example usage:
import fiftyone as fo import fiftyone.zoo as foz dataset = foz.load_zoo_dataset("robomind") session = fo.launch_app(dataset)
- Dataset size
2.69 GB
Attributes:
The name of the dataset.
The license or list,of,licenses under which the dataset is distributed, or None if unknown.
A tuple of tags for the dataset.
A tuple of supported splits for the dataset, or None if the dataset does not have splits.
Whether the dataset has patches that may need to be applied to already downloaded files.
Whether the dataset has splits.
Whether the dataset has tags.
A dict of default kwargs to pass to this dataset's
fiftyone.utils.data.importers.DatasetImporter.Whether the dataset is remotely-sourced.
An optional dict of parameters describing the configuration of the zoo dataset when it was downloaded.
Whether this dataset requires some files to be manually downloaded by the user before the dataset can be loaded.
Whether the dataset supports downloading partial subsets of its splits.
Methods:
download_and_prepare(dataset_dir[, split, ...])Downloads the dataset and prepares it for use.
get_info_path(dataset_dir)Returns the path to the
ZooDatasetInfofor the dataset.get_split_dir(dataset_dir, split)Returns the directory for the given split of the dataset.
has_info(dataset_dir)Determines whether the directory contains
ZooDatasetInfo.has_split(split)Whether the dataset has the given split.
has_tag(tag)Whether the dataset has the given tag.
load_info(dataset_dir[, upgrade, ...])Loads the
ZooDatasetInfofrom the given dataset directory.- property name#
The name of the dataset.
- property license#
The license or list,of,licenses under which the dataset is distributed, or None if unknown.
- property tags#
A tuple of tags for the dataset.
- property supported_splits#
A tuple of supported splits for the dataset, or None if the dataset does not have splits.
- download_and_prepare(dataset_dir, split=None, splits=None, cleanup=True)#
Downloads the dataset and prepares it for use.
If the requested splits have already been downloaded, they are not re-downloaded.
- Parameters:
dataset_dir – the directory in which to construct the dataset
split (None) –
splitnorsplitsare provided, the full dataset is downloadedsplits (None) – a list of splits to download, if applicable. If neither
splitnorsplitsare provided, the full dataset is downloadedcleanup (True) – whether to cleanup any temporary files generated during download
- Returns:
the
ZooDatasetInfofor the dataset
- static get_info_path(dataset_dir)#
Returns the path to the
ZooDatasetInfofor the dataset.- Parameters:
dataset_dir – the dataset directory
- Returns:
the path to the
ZooDatasetInfo
- get_split_dir(dataset_dir, split)#
Returns the directory for the given split of the dataset.
- Parameters:
dataset_dir – the dataset directory
split – the dataset split
- Returns:
the directory that will/does hold the specified split
- static has_info(dataset_dir)#
Determines whether the directory contains
ZooDatasetInfo.- Parameters:
dataset_dir – the dataset directory
- Returns:
True/False
- property has_patches#
Whether the dataset has patches that may need to be applied to already downloaded files.
- has_split(split)#
Whether the dataset has the given split.
- Parameters:
split – the dataset split
- Returns:
True/False
- property has_splits#
Whether the dataset has splits.
- has_tag(tag)#
Whether the dataset has the given tag.
- Parameters:
tag – the tag
- Returns:
True/False
- property has_tags#
Whether the dataset has tags.
- property importer_kwargs#
A dict of default kwargs to pass to this dataset’s
fiftyone.utils.data.importers.DatasetImporter.
- property is_remote#
Whether the dataset is remotely-sourced.
- static load_info(dataset_dir, upgrade=True, warn_deprecated=False)#
Loads the
ZooDatasetInfofrom the given dataset directory.- Parameters:
dataset_dir – the directory in which to construct the dataset
upgrade (True) – whether to upgrade the JSON file on disk if any migrations were necessary
warn_deprecated (False) – whether to issue a warning if the dataset has a deprecated format
- Returns:
the
ZooDatasetInfofor the dataset
- property parameters#
An optional dict of parameters describing the configuration of the zoo dataset when it was downloaded.
- property requires_manual_download#
Whether this dataset requires some files to be manually downloaded by the user before the dataset can be loaded.
- property supports_partial_downloads#
Whether the dataset supports downloading partial subsets of its splits.
- class fiftyone.zoo.datasets.base.TartanGroundDataset#
Bases:
FiftyOneDatasetSix trajectories from the TartanGround ground-robot dataset, one per simulation environment, as native
.mcapepisodes.Each episode carries the front camera, its segmentation stream, per-frame lidar point clouds, ego pose, and IMU plot channels on a 10 Hz frame clock.
Example usage:
import fiftyone as fo import fiftyone.zoo as foz dataset = foz.load_zoo_dataset("tartanground") session = fo.launch_app(dataset)
- Dataset size
7.24 GB
Attributes:
The name of the dataset.
The license or list,of,licenses under which the dataset is distributed, or None if unknown.
A tuple of tags for the dataset.
A tuple of supported splits for the dataset, or None if the dataset does not have splits.
Whether the dataset has patches that may need to be applied to already downloaded files.
Whether the dataset has splits.
Whether the dataset has tags.
A dict of default kwargs to pass to this dataset's
fiftyone.utils.data.importers.DatasetImporter.Whether the dataset is remotely-sourced.
An optional dict of parameters describing the configuration of the zoo dataset when it was downloaded.
Whether this dataset requires some files to be manually downloaded by the user before the dataset can be loaded.
Whether the dataset supports downloading partial subsets of its splits.
Methods:
download_and_prepare(dataset_dir[, split, ...])Downloads the dataset and prepares it for use.
get_info_path(dataset_dir)Returns the path to the
ZooDatasetInfofor the dataset.get_split_dir(dataset_dir, split)Returns the directory for the given split of the dataset.
has_info(dataset_dir)Determines whether the directory contains
ZooDatasetInfo.has_split(split)Whether the dataset has the given split.
has_tag(tag)Whether the dataset has the given tag.
load_info(dataset_dir[, upgrade, ...])Loads the
ZooDatasetInfofrom the given dataset directory.- property name#
The name of the dataset.
- property license#
The license or list,of,licenses under which the dataset is distributed, or None if unknown.
- property tags#
A tuple of tags for the dataset.
- property supported_splits#
A tuple of supported splits for the dataset, or None if the dataset does not have splits.
- download_and_prepare(dataset_dir, split=None, splits=None, cleanup=True)#
Downloads the dataset and prepares it for use.
If the requested splits have already been downloaded, they are not re-downloaded.
- Parameters:
dataset_dir – the directory in which to construct the dataset
split (None) –
splitnorsplitsare provided, the full dataset is downloadedsplits (None) – a list of splits to download, if applicable. If neither
splitnorsplitsare provided, the full dataset is downloadedcleanup (True) – whether to cleanup any temporary files generated during download
- Returns:
the
ZooDatasetInfofor the dataset
- static get_info_path(dataset_dir)#
Returns the path to the
ZooDatasetInfofor the dataset.- Parameters:
dataset_dir – the dataset directory
- Returns:
the path to the
ZooDatasetInfo
- get_split_dir(dataset_dir, split)#
Returns the directory for the given split of the dataset.
- Parameters:
dataset_dir – the dataset directory
split – the dataset split
- Returns:
the directory that will/does hold the specified split
- static has_info(dataset_dir)#
Determines whether the directory contains
ZooDatasetInfo.- Parameters:
dataset_dir – the dataset directory
- Returns:
True/False
- property has_patches#
Whether the dataset has patches that may need to be applied to already downloaded files.
- has_split(split)#
Whether the dataset has the given split.
- Parameters:
split – the dataset split
- Returns:
True/False
- property has_splits#
Whether the dataset has splits.
- has_tag(tag)#
Whether the dataset has the given tag.
- Parameters:
tag – the tag
- Returns:
True/False
- property has_tags#
Whether the dataset has tags.
- property importer_kwargs#
A dict of default kwargs to pass to this dataset’s
fiftyone.utils.data.importers.DatasetImporter.
- property is_remote#
Whether the dataset is remotely-sourced.
- static load_info(dataset_dir, upgrade=True, warn_deprecated=False)#
Loads the
ZooDatasetInfofrom the given dataset directory.- Parameters:
dataset_dir – the directory in which to construct the dataset
upgrade (True) – whether to upgrade the JSON file on disk if any migrations were necessary
warn_deprecated (False) – whether to issue a warning if the dataset has a deprecated format
- Returns:
the
ZooDatasetInfofor the dataset
- property parameters#
An optional dict of parameters describing the configuration of the zoo dataset when it was downloaded.
- property requires_manual_download#
Whether this dataset requires some files to be manually downloaded by the user before the dataset can be loaded.
- property supports_partial_downloads#
Whether the dataset supports downloading partial subsets of its splits.
- class fiftyone.zoo.datasets.base.CMHTAutonomousDrivingDataset#
Bases:
FiftyOneDatasetAutonomous driving episodes with camera, lidar, and radar streams recorded via ROS2 and stored as native
.mcapfiles, with expert-generated object detection annotations.Example usage:
import fiftyone as fo import fiftyone.zoo as foz dataset = foz.load_zoo_dataset("cmht-autonomous-driving") session = fo.launch_app(dataset)
- Dataset size
61.8 GB
Attributes:
The name of the dataset.
The license or list,of,licenses under which the dataset is distributed, or None if unknown.
A tuple of tags for the dataset.
A tuple of supported splits for the dataset, or None if the dataset does not have splits.
Whether the dataset has patches that may need to be applied to already downloaded files.
Whether the dataset has splits.
Whether the dataset has tags.
A dict of default kwargs to pass to this dataset's
fiftyone.utils.data.importers.DatasetImporter.Whether the dataset is remotely-sourced.
An optional dict of parameters describing the configuration of the zoo dataset when it was downloaded.
Whether this dataset requires some files to be manually downloaded by the user before the dataset can be loaded.
Whether the dataset supports downloading partial subsets of its splits.
Methods:
download_and_prepare(dataset_dir[, split, ...])Downloads the dataset and prepares it for use.
get_info_path(dataset_dir)Returns the path to the
ZooDatasetInfofor the dataset.get_split_dir(dataset_dir, split)Returns the directory for the given split of the dataset.
has_info(dataset_dir)Determines whether the directory contains
ZooDatasetInfo.has_split(split)Whether the dataset has the given split.
has_tag(tag)Whether the dataset has the given tag.
load_info(dataset_dir[, upgrade, ...])Loads the
ZooDatasetInfofrom the given dataset directory.- property name#
The name of the dataset.
- property license#
The license or list,of,licenses under which the dataset is distributed, or None if unknown.
- property tags#
A tuple of tags for the dataset.
- property supported_splits#
A tuple of supported splits for the dataset, or None if the dataset does not have splits.
- download_and_prepare(dataset_dir, split=None, splits=None, cleanup=True)#
Downloads the dataset and prepares it for use.
If the requested splits have already been downloaded, they are not re-downloaded.
- Parameters:
dataset_dir – the directory in which to construct the dataset
split (None) –
splitnorsplitsare provided, the full dataset is downloadedsplits (None) – a list of splits to download, if applicable. If neither
splitnorsplitsare provided, the full dataset is downloadedcleanup (True) – whether to cleanup any temporary files generated during download
- Returns:
the
ZooDatasetInfofor the dataset
- static get_info_path(dataset_dir)#
Returns the path to the
ZooDatasetInfofor the dataset.- Parameters:
dataset_dir – the dataset directory
- Returns:
the path to the
ZooDatasetInfo
- get_split_dir(dataset_dir, split)#
Returns the directory for the given split of the dataset.
- Parameters:
dataset_dir – the dataset directory
split – the dataset split
- Returns:
the directory that will/does hold the specified split
- static has_info(dataset_dir)#
Determines whether the directory contains
ZooDatasetInfo.- Parameters:
dataset_dir – the dataset directory
- Returns:
True/False
- property has_patches#
Whether the dataset has patches that may need to be applied to already downloaded files.
- has_split(split)#
Whether the dataset has the given split.
- Parameters:
split – the dataset split
- Returns:
True/False
- property has_splits#
Whether the dataset has splits.
- has_tag(tag)#
Whether the dataset has the given tag.
- Parameters:
tag – the tag
- Returns:
True/False
- property has_tags#
Whether the dataset has tags.
- property importer_kwargs#
A dict of default kwargs to pass to this dataset’s
fiftyone.utils.data.importers.DatasetImporter.
- property is_remote#
Whether the dataset is remotely-sourced.
- static load_info(dataset_dir, upgrade=True, warn_deprecated=False)#
Loads the
ZooDatasetInfofrom the given dataset directory.- Parameters:
dataset_dir – the directory in which to construct the dataset
upgrade (True) – whether to upgrade the JSON file on disk if any migrations were necessary
warn_deprecated (False) – whether to issue a warning if the dataset has a deprecated format
- Returns:
the
ZooDatasetInfofor the dataset
- property parameters#
An optional dict of parameters describing the configuration of the zoo dataset when it was downloaded.
- property requires_manual_download#
Whether this dataset requires some files to be manually downloaded by the user before the dataset can be loaded.
- property supports_partial_downloads#
Whether the dataset supports downloading partial subsets of its splits.
- class fiftyone.zoo.datasets.base.TreeScopeMultimodalDataset#
Bases:
FiftyOneDatasetThe VAT-0723 collection of the TreeScope forestry robotics dataset: 10
.mcapepisodes of UAV-mounted lidar and odometry streams recorded in agricultural and forestry environments.Example usage:
import fiftyone as fo import fiftyone.zoo as foz dataset = foz.load_zoo_dataset("treescope-multimodal") session = fo.launch_app(dataset)
- Dataset size
41.59 GB
Attributes:
The name of the dataset.
The license or list,of,licenses under which the dataset is distributed, or None if unknown.
A tuple of tags for the dataset.
A tuple of supported splits for the dataset, or None if the dataset does not have splits.
Whether the dataset has patches that may need to be applied to already downloaded files.
Whether the dataset has splits.
Whether the dataset has tags.
A dict of default kwargs to pass to this dataset's
fiftyone.utils.data.importers.DatasetImporter.Whether the dataset is remotely-sourced.
An optional dict of parameters describing the configuration of the zoo dataset when it was downloaded.
Whether this dataset requires some files to be manually downloaded by the user before the dataset can be loaded.
Whether the dataset supports downloading partial subsets of its splits.
Methods:
download_and_prepare(dataset_dir[, split, ...])Downloads the dataset and prepares it for use.
get_info_path(dataset_dir)Returns the path to the
ZooDatasetInfofor the dataset.get_split_dir(dataset_dir, split)Returns the directory for the given split of the dataset.
has_info(dataset_dir)Determines whether the directory contains
ZooDatasetInfo.has_split(split)Whether the dataset has the given split.
has_tag(tag)Whether the dataset has the given tag.
load_info(dataset_dir[, upgrade, ...])Loads the
ZooDatasetInfofrom the given dataset directory.- property name#
The name of the dataset.
- property license#
The license or list,of,licenses under which the dataset is distributed, or None if unknown.
- property tags#
A tuple of tags for the dataset.
- property supported_splits#
A tuple of supported splits for the dataset, or None if the dataset does not have splits.
- download_and_prepare(dataset_dir, split=None, splits=None, cleanup=True)#
Downloads the dataset and prepares it for use.
If the requested splits have already been downloaded, they are not re-downloaded.
- Parameters:
dataset_dir – the directory in which to construct the dataset
split (None) –
splitnorsplitsare provided, the full dataset is downloadedsplits (None) – a list of splits to download, if applicable. If neither
splitnorsplitsare provided, the full dataset is downloadedcleanup (True) – whether to cleanup any temporary files generated during download
- Returns:
the
ZooDatasetInfofor the dataset
- static get_info_path(dataset_dir)#
Returns the path to the
ZooDatasetInfofor the dataset.- Parameters:
dataset_dir – the dataset directory
- Returns:
the path to the
ZooDatasetInfo
- get_split_dir(dataset_dir, split)#
Returns the directory for the given split of the dataset.
- Parameters:
dataset_dir – the dataset directory
split – the dataset split
- Returns:
the directory that will/does hold the specified split
- static has_info(dataset_dir)#
Determines whether the directory contains
ZooDatasetInfo.- Parameters:
dataset_dir – the dataset directory
- Returns:
True/False
- property has_patches#
Whether the dataset has patches that may need to be applied to already downloaded files.
- has_split(split)#
Whether the dataset has the given split.
- Parameters:
split – the dataset split
- Returns:
True/False
- property has_splits#
Whether the dataset has splits.
- has_tag(tag)#
Whether the dataset has the given tag.
- Parameters:
tag – the tag
- Returns:
True/False
- property has_tags#
Whether the dataset has tags.
- property importer_kwargs#
A dict of default kwargs to pass to this dataset’s
fiftyone.utils.data.importers.DatasetImporter.
- property is_remote#
Whether the dataset is remotely-sourced.
- static load_info(dataset_dir, upgrade=True, warn_deprecated=False)#
Loads the
ZooDatasetInfofrom the given dataset directory.- Parameters:
dataset_dir – the directory in which to construct the dataset
upgrade (True) – whether to upgrade the JSON file on disk if any migrations were necessary
warn_deprecated (False) – whether to issue a warning if the dataset has a deprecated format
- Returns:
the
ZooDatasetInfofor the dataset
- property parameters#
An optional dict of parameters describing the configuration of the zoo dataset when it was downloaded.
- property requires_manual_download#
Whether this dataset requires some files to be manually downloaded by the user before the dataset can be loaded.
- property supports_partial_downloads#
Whether the dataset supports downloading partial subsets of its splits.
- class fiftyone.zoo.datasets.base.HumanoidIKEAAssemblyChallengeDataset#
Bases:
FiftyOneDatasetSix episodes from the 2026 Humanoid IKEA Assembly Challenge, one per recording day, as native
.mcapepisodes.Each episode carries a side-by-side stereo head camera, both wrist cameras with their infrared pairs, whole-body and gripper telemetry with timeline plot channels, base odometry, and the human-annotated subtask sequence.
Example usage:
import fiftyone as fo import fiftyone.zoo as foz dataset = foz.load_zoo_dataset( "2026-humanoid-ikea-assembly-challenge" ) session = fo.launch_app(dataset)
- Dataset size
9.75 GB
Attributes:
The name of the dataset.
The license or list,of,licenses under which the dataset is distributed, or None if unknown.
A tuple of tags for the dataset.
A tuple of supported splits for the dataset, or None if the dataset does not have splits.
Whether the dataset has patches that may need to be applied to already downloaded files.
Whether the dataset has splits.
Whether the dataset has tags.
A dict of default kwargs to pass to this dataset's
fiftyone.utils.data.importers.DatasetImporter.Whether the dataset is remotely-sourced.
An optional dict of parameters describing the configuration of the zoo dataset when it was downloaded.
Whether this dataset requires some files to be manually downloaded by the user before the dataset can be loaded.
Whether the dataset supports downloading partial subsets of its splits.
Methods:
download_and_prepare(dataset_dir[, split, ...])Downloads the dataset and prepares it for use.
get_info_path(dataset_dir)Returns the path to the
ZooDatasetInfofor the dataset.get_split_dir(dataset_dir, split)Returns the directory for the given split of the dataset.
has_info(dataset_dir)Determines whether the directory contains
ZooDatasetInfo.has_split(split)Whether the dataset has the given split.
has_tag(tag)Whether the dataset has the given tag.
load_info(dataset_dir[, upgrade, ...])Loads the
ZooDatasetInfofrom the given dataset directory.- property name#
The name of the dataset.
- property license#
The license or list,of,licenses under which the dataset is distributed, or None if unknown.
- property tags#
A tuple of tags for the dataset.
- property supported_splits#
A tuple of supported splits for the dataset, or None if the dataset does not have splits.
- download_and_prepare(dataset_dir, split=None, splits=None, cleanup=True)#
Downloads the dataset and prepares it for use.
If the requested splits have already been downloaded, they are not re-downloaded.
- Parameters:
dataset_dir – the directory in which to construct the dataset
split (None) –
splitnorsplitsare provided, the full dataset is downloadedsplits (None) – a list of splits to download, if applicable. If neither
splitnorsplitsare provided, the full dataset is downloadedcleanup (True) – whether to cleanup any temporary files generated during download
- Returns:
the
ZooDatasetInfofor the dataset
- static get_info_path(dataset_dir)#
Returns the path to the
ZooDatasetInfofor the dataset.- Parameters:
dataset_dir – the dataset directory
- Returns:
the path to the
ZooDatasetInfo
- get_split_dir(dataset_dir, split)#
Returns the directory for the given split of the dataset.
- Parameters:
dataset_dir – the dataset directory
split – the dataset split
- Returns:
the directory that will/does hold the specified split
- static has_info(dataset_dir)#
Determines whether the directory contains
ZooDatasetInfo.- Parameters:
dataset_dir – the dataset directory
- Returns:
True/False
- property has_patches#
Whether the dataset has patches that may need to be applied to already downloaded files.
- has_split(split)#
Whether the dataset has the given split.
- Parameters:
split – the dataset split
- Returns:
True/False
- property has_splits#
Whether the dataset has splits.
- has_tag(tag)#
Whether the dataset has the given tag.
- Parameters:
tag – the tag
- Returns:
True/False
- property has_tags#
Whether the dataset has tags.
- property importer_kwargs#
A dict of default kwargs to pass to this dataset’s
fiftyone.utils.data.importers.DatasetImporter.
- property is_remote#
Whether the dataset is remotely-sourced.
- static load_info(dataset_dir, upgrade=True, warn_deprecated=False)#
Loads the
ZooDatasetInfofrom the given dataset directory.- Parameters:
dataset_dir – the directory in which to construct the dataset
upgrade (True) – whether to upgrade the JSON file on disk if any migrations were necessary
warn_deprecated (False) – whether to issue a warning if the dataset has a deprecated format
- Returns:
the
ZooDatasetInfofor the dataset
- property parameters#
An optional dict of parameters describing the configuration of the zoo dataset when it was downloaded.
- property requires_manual_download#
Whether this dataset requires some files to be manually downloaded by the user before the dataset can be loaded.
- property supports_partial_downloads#
Whether the dataset supports downloading partial subsets of its splits.
- class fiftyone.zoo.datasets.base.SEWMultimodalAMRDataset#
Bases:
FiftyOneDatasetThe labeled test set of the SEW-EURODRIVE Multimodal AMR dataset, as native
.mcapepisodes.Six sensing modalities ride one autonomous mobile robot: RGB, thermal, time-of-flight, 4D radar, two 2D laser scanners, and an ultrasonic array. The 3,151 labeled frames are split into 55 episodes, one per source recording session, spanning three seasons, six weather conditions, and day, dawn, and night. KITTI cuboids and YOLO boxes ride the timeline as scene and image annotations.
Example usage:
import fiftyone as fo import fiftyone.zoo as foz dataset = foz.load_zoo_dataset("sew-multimodal-amr") session = fo.launch_app(dataset)
- Dataset size
3.97 GB
Attributes:
The name of the dataset.
The license or list,of,licenses under which the dataset is distributed, or None if unknown.
A tuple of tags for the dataset.
A tuple of supported splits for the dataset, or None if the dataset does not have splits.
Whether the dataset has patches that may need to be applied to already downloaded files.
Whether the dataset has splits.
Whether the dataset has tags.
A dict of default kwargs to pass to this dataset's
fiftyone.utils.data.importers.DatasetImporter.Whether the dataset is remotely-sourced.
An optional dict of parameters describing the configuration of the zoo dataset when it was downloaded.
Whether this dataset requires some files to be manually downloaded by the user before the dataset can be loaded.
Whether the dataset supports downloading partial subsets of its splits.
Methods:
download_and_prepare(dataset_dir[, split, ...])Downloads the dataset and prepares it for use.
get_info_path(dataset_dir)Returns the path to the
ZooDatasetInfofor the dataset.get_split_dir(dataset_dir, split)Returns the directory for the given split of the dataset.
has_info(dataset_dir)Determines whether the directory contains
ZooDatasetInfo.has_split(split)Whether the dataset has the given split.
has_tag(tag)Whether the dataset has the given tag.
load_info(dataset_dir[, upgrade, ...])Loads the
ZooDatasetInfofrom the given dataset directory.- property name#
The name of the dataset.
- property license#
The license or list,of,licenses under which the dataset is distributed, or None if unknown.
- property tags#
A tuple of tags for the dataset.
- property supported_splits#
A tuple of supported splits for the dataset, or None if the dataset does not have splits.
- download_and_prepare(dataset_dir, split=None, splits=None, cleanup=True)#
Downloads the dataset and prepares it for use.
If the requested splits have already been downloaded, they are not re-downloaded.
- Parameters:
dataset_dir – the directory in which to construct the dataset
split (None) –
splitnorsplitsare provided, the full dataset is downloadedsplits (None) – a list of splits to download, if applicable. If neither
splitnorsplitsare provided, the full dataset is downloadedcleanup (True) – whether to cleanup any temporary files generated during download
- Returns:
the
ZooDatasetInfofor the dataset
- static get_info_path(dataset_dir)#
Returns the path to the
ZooDatasetInfofor the dataset.- Parameters:
dataset_dir – the dataset directory
- Returns:
the path to the
ZooDatasetInfo
- get_split_dir(dataset_dir, split)#
Returns the directory for the given split of the dataset.
- Parameters:
dataset_dir – the dataset directory
split – the dataset split
- Returns:
the directory that will/does hold the specified split
- static has_info(dataset_dir)#
Determines whether the directory contains
ZooDatasetInfo.- Parameters:
dataset_dir – the dataset directory
- Returns:
True/False
- property has_patches#
Whether the dataset has patches that may need to be applied to already downloaded files.
- has_split(split)#
Whether the dataset has the given split.
- Parameters:
split – the dataset split
- Returns:
True/False
- property has_splits#
Whether the dataset has splits.
- has_tag(tag)#
Whether the dataset has the given tag.
- Parameters:
tag – the tag
- Returns:
True/False
- property has_tags#
Whether the dataset has tags.
- property importer_kwargs#
A dict of default kwargs to pass to this dataset’s
fiftyone.utils.data.importers.DatasetImporter.
- property is_remote#
Whether the dataset is remotely-sourced.
- static load_info(dataset_dir, upgrade=True, warn_deprecated=False)#
Loads the
ZooDatasetInfofrom the given dataset directory.- Parameters:
dataset_dir – the directory in which to construct the dataset
upgrade (True) – whether to upgrade the JSON file on disk if any migrations were necessary
warn_deprecated (False) – whether to issue a warning if the dataset has a deprecated format
- Returns:
the
ZooDatasetInfofor the dataset
- property parameters#
An optional dict of parameters describing the configuration of the zoo dataset when it was downloaded.
- property requires_manual_download#
Whether this dataset requires some files to be manually downloaded by the user before the dataset can be loaded.
- property supports_partial_downloads#
Whether the dataset supports downloading partial subsets of its splits.
- class fiftyone.zoo.datasets.base.APACEgocentricStereoDataset#
Bases:
FiftyOneDatasetThe labeled stereo release of the APAC egocentric dataset, as native
.mcapepisodes.Twelve people were filmed doing their jobs while wearing a head-mounted stereo rig. Each sequence runs about a minute and carries the rectified video from both eyes, a depth render, a hand and head tracking render, and a caption describing what the wearer is doing at every moment. The work spans industrial, hospitality, logistics and retail settings, across 248 captioned segments and 62 distinct verbs.
The depth stream is a false-colour render rather than metric depth, and both eyes ride in one side-by-side stream cut at
per_eye_width.Example usage:
import fiftyone as fo import fiftyone.zoo as foz dataset = foz.load_zoo_dataset("apac-egocentric-stereo") # The industrial workplaces view = dataset.match({"environment": "Industrial"}) session = fo.launch_app(dataset, view=view)
- Dataset size
5.73 GB
Attributes:
The name of the dataset.
The license or list,of,licenses under which the dataset is distributed, or None if unknown.
A tuple of tags for the dataset.
A tuple of supported splits for the dataset, or None if the dataset does not have splits.
Whether the dataset has patches that may need to be applied to already downloaded files.
Whether the dataset has splits.
Whether the dataset has tags.
A dict of default kwargs to pass to this dataset's
fiftyone.utils.data.importers.DatasetImporter.Whether the dataset is remotely-sourced.
An optional dict of parameters describing the configuration of the zoo dataset when it was downloaded.
Whether this dataset requires some files to be manually downloaded by the user before the dataset can be loaded.
Whether the dataset supports downloading partial subsets of its splits.
Methods:
download_and_prepare(dataset_dir[, split, ...])Downloads the dataset and prepares it for use.
get_info_path(dataset_dir)Returns the path to the
ZooDatasetInfofor the dataset.get_split_dir(dataset_dir, split)Returns the directory for the given split of the dataset.
has_info(dataset_dir)Determines whether the directory contains
ZooDatasetInfo.has_split(split)Whether the dataset has the given split.
has_tag(tag)Whether the dataset has the given tag.
load_info(dataset_dir[, upgrade, ...])Loads the
ZooDatasetInfofrom the given dataset directory.- property name#
The name of the dataset.
- property license#
The license or list,of,licenses under which the dataset is distributed, or None if unknown.
- property tags#
A tuple of tags for the dataset.
- property supported_splits#
A tuple of supported splits for the dataset, or None if the dataset does not have splits.
- download_and_prepare(dataset_dir, split=None, splits=None, cleanup=True)#
Downloads the dataset and prepares it for use.
If the requested splits have already been downloaded, they are not re-downloaded.
- Parameters:
dataset_dir – the directory in which to construct the dataset
split (None) –
splitnorsplitsare provided, the full dataset is downloadedsplits (None) – a list of splits to download, if applicable. If neither
splitnorsplitsare provided, the full dataset is downloadedcleanup (True) – whether to cleanup any temporary files generated during download
- Returns:
the
ZooDatasetInfofor the dataset
- static get_info_path(dataset_dir)#
Returns the path to the
ZooDatasetInfofor the dataset.- Parameters:
dataset_dir – the dataset directory
- Returns:
the path to the
ZooDatasetInfo
- get_split_dir(dataset_dir, split)#
Returns the directory for the given split of the dataset.
- Parameters:
dataset_dir – the dataset directory
split – the dataset split
- Returns:
the directory that will/does hold the specified split
- static has_info(dataset_dir)#
Determines whether the directory contains
ZooDatasetInfo.- Parameters:
dataset_dir – the dataset directory
- Returns:
True/False
- property has_patches#
Whether the dataset has patches that may need to be applied to already downloaded files.
- has_split(split)#
Whether the dataset has the given split.
- Parameters:
split – the dataset split
- Returns:
True/False
- property has_splits#
Whether the dataset has splits.
- has_tag(tag)#
Whether the dataset has the given tag.
- Parameters:
tag – the tag
- Returns:
True/False
- property has_tags#
Whether the dataset has tags.
- property importer_kwargs#
A dict of default kwargs to pass to this dataset’s
fiftyone.utils.data.importers.DatasetImporter.
- property is_remote#
Whether the dataset is remotely-sourced.
- static load_info(dataset_dir, upgrade=True, warn_deprecated=False)#
Loads the
ZooDatasetInfofrom the given dataset directory.- Parameters:
dataset_dir – the directory in which to construct the dataset
upgrade (True) – whether to upgrade the JSON file on disk if any migrations were necessary
warn_deprecated (False) – whether to issue a warning if the dataset has a deprecated format
- Returns:
the
ZooDatasetInfofor the dataset
- property parameters#
An optional dict of parameters describing the configuration of the zoo dataset when it was downloaded.
- property requires_manual_download#
Whether this dataset requires some files to be manually downloaded by the user before the dataset can be loaded.
- property supports_partial_downloads#
Whether the dataset supports downloading partial subsets of its splits.
- class fiftyone.zoo.datasets.base.HiltiSLAMChallenge2022Dataset#
Bases:
FiftyOneDatasetThe Hilti SLAM Challenge 2022 recordings, as native
.mcapepisodes.The recordings were made with a handheld rig called Phasma, which carries five synchronized global-shutter cameras, a Hesai PandarXT-32 LiDAR and a Bosch BMI085 IMU. Seven runs were walked through an active construction site in Schaan, Liechtenstein, and nine through the Sheldonian Theatre in Oxford. A surveyor measured reference positions along every run, and three runs also carry a continuous reference trajectory. Every episode carries the reference at the instants it was measured, along with the rig’s calibrated frame tree.
Camera frames are published at 10 Hz, on the LiDAR’s clock, rather than the 40 Hz the bags record.
exp23_the_sheldonian_slamis one run stored as three episodes sharing asequenceand differing inpart, which is why sixteen runs arrive as eighteen episodes.Example usage:
import fiftyone as fo import fiftyone.zoo as foz dataset = foz.load_zoo_dataset("hilti-slam-challenge-2022") # The runs with a continuous reference trajectory view = dataset.match({"has_dense_ground_truth": True}) session = fo.launch_app(dataset, view=view)
- Dataset size
49.70 GB
Attributes:
The name of the dataset.
The license or list,of,licenses under which the dataset is distributed, or None if unknown.
A tuple of tags for the dataset.
A tuple of supported splits for the dataset, or None if the dataset does not have splits.
Whether the dataset has patches that may need to be applied to already downloaded files.
Whether the dataset has splits.
Whether the dataset has tags.
A dict of default kwargs to pass to this dataset's
fiftyone.utils.data.importers.DatasetImporter.Whether the dataset is remotely-sourced.
An optional dict of parameters describing the configuration of the zoo dataset when it was downloaded.
Whether this dataset requires some files to be manually downloaded by the user before the dataset can be loaded.
Whether the dataset supports downloading partial subsets of its splits.
Methods:
download_and_prepare(dataset_dir[, split, ...])Downloads the dataset and prepares it for use.
get_info_path(dataset_dir)Returns the path to the
ZooDatasetInfofor the dataset.get_split_dir(dataset_dir, split)Returns the directory for the given split of the dataset.
has_info(dataset_dir)Determines whether the directory contains
ZooDatasetInfo.has_split(split)Whether the dataset has the given split.
has_tag(tag)Whether the dataset has the given tag.
load_info(dataset_dir[, upgrade, ...])Loads the
ZooDatasetInfofrom the given dataset directory.- property name#
The name of the dataset.
- property license#
The license or list,of,licenses under which the dataset is distributed, or None if unknown.
- property tags#
A tuple of tags for the dataset.
- property supported_splits#
A tuple of supported splits for the dataset, or None if the dataset does not have splits.
- download_and_prepare(dataset_dir, split=None, splits=None, cleanup=True)#
Downloads the dataset and prepares it for use.
If the requested splits have already been downloaded, they are not re-downloaded.
- Parameters:
dataset_dir – the directory in which to construct the dataset
split (None) –
splitnorsplitsare provided, the full dataset is downloadedsplits (None) – a list of splits to download, if applicable. If neither
splitnorsplitsare provided, the full dataset is downloadedcleanup (True) – whether to cleanup any temporary files generated during download
- Returns:
the
ZooDatasetInfofor the dataset
- static get_info_path(dataset_dir)#
Returns the path to the
ZooDatasetInfofor the dataset.- Parameters:
dataset_dir – the dataset directory
- Returns:
the path to the
ZooDatasetInfo
- get_split_dir(dataset_dir, split)#
Returns the directory for the given split of the dataset.
- Parameters:
dataset_dir – the dataset directory
split – the dataset split
- Returns:
the directory that will/does hold the specified split
- static has_info(dataset_dir)#
Determines whether the directory contains
ZooDatasetInfo.- Parameters:
dataset_dir – the dataset directory
- Returns:
True/False
- property has_patches#
Whether the dataset has patches that may need to be applied to already downloaded files.
- has_split(split)#
Whether the dataset has the given split.
- Parameters:
split – the dataset split
- Returns:
True/False
- property has_splits#
Whether the dataset has splits.
- has_tag(tag)#
Whether the dataset has the given tag.
- Parameters:
tag – the tag
- Returns:
True/False
- property has_tags#
Whether the dataset has tags.
- property importer_kwargs#
A dict of default kwargs to pass to this dataset’s
fiftyone.utils.data.importers.DatasetImporter.
- property is_remote#
Whether the dataset is remotely-sourced.
- static load_info(dataset_dir, upgrade=True, warn_deprecated=False)#
Loads the
ZooDatasetInfofrom the given dataset directory.- Parameters:
dataset_dir – the directory in which to construct the dataset
upgrade (True) – whether to upgrade the JSON file on disk if any migrations were necessary
warn_deprecated (False) – whether to issue a warning if the dataset has a deprecated format
- Returns:
the
ZooDatasetInfofor the dataset
- property parameters#
An optional dict of parameters describing the configuration of the zoo dataset when it was downloaded.
- property requires_manual_download#
Whether this dataset requires some files to be manually downloaded by the user before the dataset can be loaded.
- property supports_partial_downloads#
Whether the dataset supports downloading partial subsets of its splits.
- class fiftyone.zoo.datasets.base.MirrorSentinelElevatorDataset#
Bases:
FiftyOneDatasetElevator traversals recorded to study mirror and glass interference, as native
.mcapepisodes.A rig carrying a ZED2 camera, an Ouster 3D LiDAR and the Ouster IMU was walked through elevator cabins. A LiDAR pointed at a mirror reports returns from behind it, so the cabin appears to extend into space that is solid wall. Eight traversals cover seven physical cabins, and each cabin was measured by hand so the real boundary can be compared against what the sensors report.
elevator_02andelevator_03are two runs of one cabin; thefootprintfield groups them.Example usage:
import fiftyone as fo import fiftyone.zoo as foz dataset = foz.load_zoo_dataset("mirror-elevator") # One run per physical cabin view = dataset.match({"sequence": {"$ne": "elevator_03"}}) session = fo.launch_app(dataset, view=view)
- Dataset size
6.18 GB
Attributes:
The name of the dataset.
The license or list,of,licenses under which the dataset is distributed, or None if unknown.
A tuple of tags for the dataset.
A tuple of supported splits for the dataset, or None if the dataset does not have splits.
Whether the dataset has patches that may need to be applied to already downloaded files.
Whether the dataset has splits.
Whether the dataset has tags.
A dict of default kwargs to pass to this dataset's
fiftyone.utils.data.importers.DatasetImporter.Whether the dataset is remotely-sourced.
An optional dict of parameters describing the configuration of the zoo dataset when it was downloaded.
Whether this dataset requires some files to be manually downloaded by the user before the dataset can be loaded.
Whether the dataset supports downloading partial subsets of its splits.
Methods:
download_and_prepare(dataset_dir[, split, ...])Downloads the dataset and prepares it for use.
get_info_path(dataset_dir)Returns the path to the
ZooDatasetInfofor the dataset.get_split_dir(dataset_dir, split)Returns the directory for the given split of the dataset.
has_info(dataset_dir)Determines whether the directory contains
ZooDatasetInfo.has_split(split)Whether the dataset has the given split.
has_tag(tag)Whether the dataset has the given tag.
load_info(dataset_dir[, upgrade, ...])Loads the
ZooDatasetInfofrom the given dataset directory.- property name#
The name of the dataset.
- property license#
The license or list,of,licenses under which the dataset is distributed, or None if unknown.
- property tags#
A tuple of tags for the dataset.
- property supported_splits#
A tuple of supported splits for the dataset, or None if the dataset does not have splits.
- download_and_prepare(dataset_dir, split=None, splits=None, cleanup=True)#
Downloads the dataset and prepares it for use.
If the requested splits have already been downloaded, they are not re-downloaded.
- Parameters:
dataset_dir – the directory in which to construct the dataset
split (None) –
splitnorsplitsare provided, the full dataset is downloadedsplits (None) – a list of splits to download, if applicable. If neither
splitnorsplitsare provided, the full dataset is downloadedcleanup (True) – whether to cleanup any temporary files generated during download
- Returns:
the
ZooDatasetInfofor the dataset
- static get_info_path(dataset_dir)#
Returns the path to the
ZooDatasetInfofor the dataset.- Parameters:
dataset_dir – the dataset directory
- Returns:
the path to the
ZooDatasetInfo
- get_split_dir(dataset_dir, split)#
Returns the directory for the given split of the dataset.
- Parameters:
dataset_dir – the dataset directory
split – the dataset split
- Returns:
the directory that will/does hold the specified split
- static has_info(dataset_dir)#
Determines whether the directory contains
ZooDatasetInfo.- Parameters:
dataset_dir – the dataset directory
- Returns:
True/False
- property has_patches#
Whether the dataset has patches that may need to be applied to already downloaded files.
- has_split(split)#
Whether the dataset has the given split.
- Parameters:
split – the dataset split
- Returns:
True/False
- property has_splits#
Whether the dataset has splits.
- has_tag(tag)#
Whether the dataset has the given tag.
- Parameters:
tag – the tag
- Returns:
True/False
- property has_tags#
Whether the dataset has tags.
- property importer_kwargs#
A dict of default kwargs to pass to this dataset’s
fiftyone.utils.data.importers.DatasetImporter.
- property is_remote#
Whether the dataset is remotely-sourced.
- static load_info(dataset_dir, upgrade=True, warn_deprecated=False)#
Loads the
ZooDatasetInfofrom the given dataset directory.- Parameters:
dataset_dir – the directory in which to construct the dataset
upgrade (True) – whether to upgrade the JSON file on disk if any migrations were necessary
warn_deprecated (False) – whether to issue a warning if the dataset has a deprecated format
- Returns:
the
ZooDatasetInfofor the dataset
- property parameters#
An optional dict of parameters describing the configuration of the zoo dataset when it was downloaded.
- property requires_manual_download#
Whether this dataset requires some files to be manually downloaded by the user before the dataset can be loaded.
- property supports_partial_downloads#
Whether the dataset supports downloading partial subsets of its splits.
- class fiftyone.zoo.datasets.base.DSECSampleDataset#
Bases:
FiftyOneDatasetA sample of the DSEC stereo event camera driving dataset, as native
.mcapepisodes.A car carries a stereo pair of Prophesee event cameras at 640x480 and a stereo pair of global-shutter color cameras at 1440x1080 through Zurich, Thun and Interlaken, with disparity ground truth derived from LiDAR for both pairs and, on some sequences, optical flow ground truth for the event cameras. Each episode carries every event of both event cameras as point clouds, one per 1/30 s window, beside a render of each window, with the rectified color images and the ground truth.
6 sequences across Zurich, Thun and Interlaken, 105 seconds of driving, 2,233,378,133 events and 2,112 image pairs.
Example usage:
import fiftyone as fo import fiftyone.zoo as foz dataset = foz.load_zoo_dataset("dsec-sample") # The sequences with the busiest event streams view = dataset.sort_by("peak_event_rate_mev_s", reverse=True) session = fo.launch_app(dataset, view=view)
- Dataset size
11.17 GB
Attributes:
The name of the dataset.
The license or list,of,licenses under which the dataset is distributed, or None if unknown.
A tuple of tags for the dataset.
A tuple of supported splits for the dataset, or None if the dataset does not have splits.
Whether the dataset has patches that may need to be applied to already downloaded files.
Whether the dataset has splits.
Whether the dataset has tags.
A dict of default kwargs to pass to this dataset's
fiftyone.utils.data.importers.DatasetImporter.Whether the dataset is remotely-sourced.
An optional dict of parameters describing the configuration of the zoo dataset when it was downloaded.
Whether this dataset requires some files to be manually downloaded by the user before the dataset can be loaded.
Whether the dataset supports downloading partial subsets of its splits.
Methods:
download_and_prepare(dataset_dir[, split, ...])Downloads the dataset and prepares it for use.
get_info_path(dataset_dir)Returns the path to the
ZooDatasetInfofor the dataset.get_split_dir(dataset_dir, split)Returns the directory for the given split of the dataset.
has_info(dataset_dir)Determines whether the directory contains
ZooDatasetInfo.has_split(split)Whether the dataset has the given split.
has_tag(tag)Whether the dataset has the given tag.
load_info(dataset_dir[, upgrade, ...])Loads the
ZooDatasetInfofrom the given dataset directory.- property name#
The name of the dataset.
- property license#
The license or list,of,licenses under which the dataset is distributed, or None if unknown.
- property tags#
A tuple of tags for the dataset.
- property supported_splits#
A tuple of supported splits for the dataset, or None if the dataset does not have splits.
- download_and_prepare(dataset_dir, split=None, splits=None, cleanup=True)#
Downloads the dataset and prepares it for use.
If the requested splits have already been downloaded, they are not re-downloaded.
- Parameters:
dataset_dir – the directory in which to construct the dataset
split (None) –
splitnorsplitsare provided, the full dataset is downloadedsplits (None) – a list of splits to download, if applicable. If neither
splitnorsplitsare provided, the full dataset is downloadedcleanup (True) – whether to cleanup any temporary files generated during download
- Returns:
the
ZooDatasetInfofor the dataset
- static get_info_path(dataset_dir)#
Returns the path to the
ZooDatasetInfofor the dataset.- Parameters:
dataset_dir – the dataset directory
- Returns:
the path to the
ZooDatasetInfo
- get_split_dir(dataset_dir, split)#
Returns the directory for the given split of the dataset.
- Parameters:
dataset_dir – the dataset directory
split – the dataset split
- Returns:
the directory that will/does hold the specified split
- static has_info(dataset_dir)#
Determines whether the directory contains
ZooDatasetInfo.- Parameters:
dataset_dir – the dataset directory
- Returns:
True/False
- property has_patches#
Whether the dataset has patches that may need to be applied to already downloaded files.
- has_split(split)#
Whether the dataset has the given split.
- Parameters:
split – the dataset split
- Returns:
True/False
- property has_splits#
Whether the dataset has splits.
- has_tag(tag)#
Whether the dataset has the given tag.
- Parameters:
tag – the tag
- Returns:
True/False
- property has_tags#
Whether the dataset has tags.
- property importer_kwargs#
A dict of default kwargs to pass to this dataset’s
fiftyone.utils.data.importers.DatasetImporter.
- property is_remote#
Whether the dataset is remotely-sourced.
- static load_info(dataset_dir, upgrade=True, warn_deprecated=False)#
Loads the
ZooDatasetInfofrom the given dataset directory.- Parameters:
dataset_dir – the directory in which to construct the dataset
upgrade (True) – whether to upgrade the JSON file on disk if any migrations were necessary
warn_deprecated (False) – whether to issue a warning if the dataset has a deprecated format
- Returns:
the
ZooDatasetInfofor the dataset
- property parameters#
An optional dict of parameters describing the configuration of the zoo dataset when it was downloaded.
- property requires_manual_download#
Whether this dataset requires some files to be manually downloaded by the user before the dataset can be loaded.
- property supports_partial_downloads#
Whether the dataset supports downloading partial subsets of its splits.
- class fiftyone.zoo.datasets.base.HiltiSLAMChallenge2021Dataset#
Bases:
FiftyOneDatasetThe Hilti SLAM Challenge 2021 recordings, as native
.mcapepisodes.The first of the Hilti challenges and the one with the densest sensor suite. Twelve sequences were walked through offices, a lab, basements, a parking deck, campuses and construction sites, chosen for the things that break a SLAM system in the field: bare corridors with almost no geometric or visual structure, illumination that changes as the operator moves between floors and outdoors, stairs, and long loops.
The rig is a surveying pole carrying a Sevensense Alphasense head with five global-shutter cameras at 1440x1080 and an inertial unit, an Ouster OS0-64 spinning LiDAR, a Livox MID70 solid-state LiDAR and an ADIS16445 inertial unit. Every sensor’s clock agrees to within a millisecond. Both LiDARs and all five cameras run at 10 Hz, so every visual and 3D stream in an episode shares one clock.
Ten sequences carry sparse 3-DoF reference positions measured with a total station while the rig was held still, and two carry a continuous 6-DoF trajectory from an Optitrack motion-capture system. Both are timed, and every episode carries the reference at the instants the release measured it along with the rig’s calibrated frame tree.
Example usage:
import fiftyone as fo import fiftyone.zoo as foz dataset = foz.load_zoo_dataset("hilti-slam-challenge-2021") # The sequences with a continuous reference trajectory view = dataset.match({"has_dense_ground_truth": True}) session = fo.launch_app(dataset, view=view)
- Dataset size
120.67 GB
Attributes:
The name of the dataset.
The license or list,of,licenses under which the dataset is distributed, or None if unknown.
A tuple of tags for the dataset.
A tuple of supported splits for the dataset, or None if the dataset does not have splits.
Whether the dataset has patches that may need to be applied to already downloaded files.
Whether the dataset has splits.
Whether the dataset has tags.
A dict of default kwargs to pass to this dataset's
fiftyone.utils.data.importers.DatasetImporter.Whether the dataset is remotely-sourced.
An optional dict of parameters describing the configuration of the zoo dataset when it was downloaded.
Whether this dataset requires some files to be manually downloaded by the user before the dataset can be loaded.
Whether the dataset supports downloading partial subsets of its splits.
Methods:
download_and_prepare(dataset_dir[, split, ...])Downloads the dataset and prepares it for use.
get_info_path(dataset_dir)Returns the path to the
ZooDatasetInfofor the dataset.get_split_dir(dataset_dir, split)Returns the directory for the given split of the dataset.
has_info(dataset_dir)Determines whether the directory contains
ZooDatasetInfo.has_split(split)Whether the dataset has the given split.
has_tag(tag)Whether the dataset has the given tag.
load_info(dataset_dir[, upgrade, ...])Loads the
ZooDatasetInfofrom the given dataset directory.- property name#
The name of the dataset.
- property license#
The license or list,of,licenses under which the dataset is distributed, or None if unknown.
- property tags#
A tuple of tags for the dataset.
- property supported_splits#
A tuple of supported splits for the dataset, or None if the dataset does not have splits.
- download_and_prepare(dataset_dir, split=None, splits=None, cleanup=True)#
Downloads the dataset and prepares it for use.
If the requested splits have already been downloaded, they are not re-downloaded.
- Parameters:
dataset_dir – the directory in which to construct the dataset
split (None) –
splitnorsplitsare provided, the full dataset is downloadedsplits (None) – a list of splits to download, if applicable. If neither
splitnorsplitsare provided, the full dataset is downloadedcleanup (True) – whether to cleanup any temporary files generated during download
- Returns:
the
ZooDatasetInfofor the dataset
- static get_info_path(dataset_dir)#
Returns the path to the
ZooDatasetInfofor the dataset.- Parameters:
dataset_dir – the dataset directory
- Returns:
the path to the
ZooDatasetInfo
- get_split_dir(dataset_dir, split)#
Returns the directory for the given split of the dataset.
- Parameters:
dataset_dir – the dataset directory
split – the dataset split
- Returns:
the directory that will/does hold the specified split
- static has_info(dataset_dir)#
Determines whether the directory contains
ZooDatasetInfo.- Parameters:
dataset_dir – the dataset directory
- Returns:
True/False
- property has_patches#
Whether the dataset has patches that may need to be applied to already downloaded files.
- has_split(split)#
Whether the dataset has the given split.
- Parameters:
split – the dataset split
- Returns:
True/False
- property has_splits#
Whether the dataset has splits.
- has_tag(tag)#
Whether the dataset has the given tag.
- Parameters:
tag – the tag
- Returns:
True/False
- property has_tags#
Whether the dataset has tags.
- property importer_kwargs#
A dict of default kwargs to pass to this dataset’s
fiftyone.utils.data.importers.DatasetImporter.
- property is_remote#
Whether the dataset is remotely-sourced.
- static load_info(dataset_dir, upgrade=True, warn_deprecated=False)#
Loads the
ZooDatasetInfofrom the given dataset directory.- Parameters:
dataset_dir – the directory in which to construct the dataset
upgrade (True) – whether to upgrade the JSON file on disk if any migrations were necessary
warn_deprecated (False) – whether to issue a warning if the dataset has a deprecated format
- Returns:
the
ZooDatasetInfofor the dataset
- property parameters#
An optional dict of parameters describing the configuration of the zoo dataset when it was downloaded.
- property requires_manual_download#
Whether this dataset requires some files to be manually downloaded by the user before the dataset can be loaded.
- property supports_partial_downloads#
Whether the dataset supports downloading partial subsets of its splits.
- class fiftyone.zoo.datasets.base.HiltiTrimbleSLAMChallenge2026Dataset#
Bases:
FiftyOneDatasetThe Hilti x Trimble SLAM Challenge 2026 recordings, as native
.mcapepisodes.The fourth Hilti challenge drops the multi-sensor rig of the earlier years for a single consumer 360 camera, and adds the building’s own floor plans. A run is solved twice over, once as plain SLAM in whatever frame the system likes, and once as localization in the coordinates of the drawing the building was made from.
The recordings are an Insta360 ONE RS 1-Inch 360 Edition: two roughly 200-degree fisheye lenses at 1472x1440 and 30 Hz, back to back, with a 1000 Hz inertial unit inside the body. The lenses are published as they were recorded rather than stitched into a panorama, since the two optical centres are 40 mm apart.
Thirty runs cover ten floors of one active construction site, recorded on eight dates between May and December 2025, with eight of the floors walked more than once. Every run has a continuous 6-DoF reference trajectory solved by a LiDAR-inertial system carried alongside, and a measured starting pose in its floor plan’s own coordinates.
Example usage:
import fiftyone as fo import fiftyone.zoo as foz dataset = foz.load_zoo_dataset("hilti-trimble-slam-challenge-2026") # Every run on one floor, in the order they were recorded view = dataset.match({"floor": "floor_UG1"}).sort_by("recorded") session = fo.launch_app(dataset, view=view)
- Dataset size
130.54 GB
Attributes:
The name of the dataset.
The license or list,of,licenses under which the dataset is distributed, or None if unknown.
A tuple of tags for the dataset.
A tuple of supported splits for the dataset, or None if the dataset does not have splits.
Whether the dataset has patches that may need to be applied to already downloaded files.
Whether the dataset has splits.
Whether the dataset has tags.
A dict of default kwargs to pass to this dataset's
fiftyone.utils.data.importers.DatasetImporter.Whether the dataset is remotely-sourced.
An optional dict of parameters describing the configuration of the zoo dataset when it was downloaded.
Whether this dataset requires some files to be manually downloaded by the user before the dataset can be loaded.
Whether the dataset supports downloading partial subsets of its splits.
Methods:
download_and_prepare(dataset_dir[, split, ...])Downloads the dataset and prepares it for use.
get_info_path(dataset_dir)Returns the path to the
ZooDatasetInfofor the dataset.get_split_dir(dataset_dir, split)Returns the directory for the given split of the dataset.
has_info(dataset_dir)Determines whether the directory contains
ZooDatasetInfo.has_split(split)Whether the dataset has the given split.
has_tag(tag)Whether the dataset has the given tag.
load_info(dataset_dir[, upgrade, ...])Loads the
ZooDatasetInfofrom the given dataset directory.- property name#
The name of the dataset.
- property license#
The license or list,of,licenses under which the dataset is distributed, or None if unknown.
- property tags#
A tuple of tags for the dataset.
- property supported_splits#
A tuple of supported splits for the dataset, or None if the dataset does not have splits.
- download_and_prepare(dataset_dir, split=None, splits=None, cleanup=True)#
Downloads the dataset and prepares it for use.
If the requested splits have already been downloaded, they are not re-downloaded.
- Parameters:
dataset_dir – the directory in which to construct the dataset
split (None) –
splitnorsplitsare provided, the full dataset is downloadedsplits (None) – a list of splits to download, if applicable. If neither
splitnorsplitsare provided, the full dataset is downloadedcleanup (True) – whether to cleanup any temporary files generated during download
- Returns:
the
ZooDatasetInfofor the dataset
- static get_info_path(dataset_dir)#
Returns the path to the
ZooDatasetInfofor the dataset.- Parameters:
dataset_dir – the dataset directory
- Returns:
the path to the
ZooDatasetInfo
- get_split_dir(dataset_dir, split)#
Returns the directory for the given split of the dataset.
- Parameters:
dataset_dir – the dataset directory
split – the dataset split
- Returns:
the directory that will/does hold the specified split
- static has_info(dataset_dir)#
Determines whether the directory contains
ZooDatasetInfo.- Parameters:
dataset_dir – the dataset directory
- Returns:
True/False
- property has_patches#
Whether the dataset has patches that may need to be applied to already downloaded files.
- has_split(split)#
Whether the dataset has the given split.
- Parameters:
split – the dataset split
- Returns:
True/False
- property has_splits#
Whether the dataset has splits.
- has_tag(tag)#
Whether the dataset has the given tag.
- Parameters:
tag – the tag
- Returns:
True/False
- property has_tags#
Whether the dataset has tags.
- property importer_kwargs#
A dict of default kwargs to pass to this dataset’s
fiftyone.utils.data.importers.DatasetImporter.
- property is_remote#
Whether the dataset is remotely-sourced.
- static load_info(dataset_dir, upgrade=True, warn_deprecated=False)#
Loads the
ZooDatasetInfofrom the given dataset directory.- Parameters:
dataset_dir – the directory in which to construct the dataset
upgrade (True) – whether to upgrade the JSON file on disk if any migrations were necessary
warn_deprecated (False) – whether to issue a warning if the dataset has a deprecated format
- Returns:
the
ZooDatasetInfofor the dataset
- property parameters#
An optional dict of parameters describing the configuration of the zoo dataset when it was downloaded.
- property requires_manual_download#
Whether this dataset requires some files to be manually downloaded by the user before the dataset can be loaded.
- property supports_partial_downloads#
Whether the dataset supports downloading partial subsets of its splits.
- class fiftyone.zoo.datasets.base.NTNUUnderwaterMulticamDataset#
Bases:
FiftyOneDatasetPiloted underwater robot runs with five cameras and an inertial unit, as native
.mcapepisodes.Ariel, the NTNU Autonomous Robots Lab’s underwater robot built on the BlueROV2 Heavy configuration, is piloted through the Trondheim Fjord and the Marine Cybernetics Laboratory pool. An Alphasense rig records five monochrome cameras, a forward stereo pair and cameras looking up, left and right, with a 200 Hz inertial unit, while the vehicle’s autopilot logs a second inertial unit, a barometer, a downward rangefinder and the thruster outputs. Each run carries the authors’ ReAqROVIO reference trajectory and the rig’s calibration.
Example usage:
import fiftyone as fo import fiftyone.zoo as foz dataset = foz.load_zoo_dataset("ntnu-underwater-multicam") # The deepest dives view = dataset.sort_by("max_depth_m", reverse=True) session = fo.launch_app(dataset, view=view)
- Dataset size
1.31 GB
Attributes:
The name of the dataset.
The license or list,of,licenses under which the dataset is distributed, or None if unknown.
A tuple of tags for the dataset.
A tuple of supported splits for the dataset, or None if the dataset does not have splits.
Whether the dataset has patches that may need to be applied to already downloaded files.
Whether the dataset has splits.
Whether the dataset has tags.
A dict of default kwargs to pass to this dataset's
fiftyone.utils.data.importers.DatasetImporter.Whether the dataset is remotely-sourced.
An optional dict of parameters describing the configuration of the zoo dataset when it was downloaded.
Whether this dataset requires some files to be manually downloaded by the user before the dataset can be loaded.
Whether the dataset supports downloading partial subsets of its splits.
Methods:
download_and_prepare(dataset_dir[, split, ...])Downloads the dataset and prepares it for use.
get_info_path(dataset_dir)Returns the path to the
ZooDatasetInfofor the dataset.get_split_dir(dataset_dir, split)Returns the directory for the given split of the dataset.
has_info(dataset_dir)Determines whether the directory contains
ZooDatasetInfo.has_split(split)Whether the dataset has the given split.
has_tag(tag)Whether the dataset has the given tag.
load_info(dataset_dir[, upgrade, ...])Loads the
ZooDatasetInfofrom the given dataset directory.- property name#
The name of the dataset.
- property license#
The license or list,of,licenses under which the dataset is distributed, or None if unknown.
- property tags#
A tuple of tags for the dataset.
- property supported_splits#
A tuple of supported splits for the dataset, or None if the dataset does not have splits.
- download_and_prepare(dataset_dir, split=None, splits=None, cleanup=True)#
Downloads the dataset and prepares it for use.
If the requested splits have already been downloaded, they are not re-downloaded.
- Parameters:
dataset_dir – the directory in which to construct the dataset
split (None) –
splitnorsplitsare provided, the full dataset is downloadedsplits (None) – a list of splits to download, if applicable. If neither
splitnorsplitsare provided, the full dataset is downloadedcleanup (True) – whether to cleanup any temporary files generated during download
- Returns:
the
ZooDatasetInfofor the dataset
- static get_info_path(dataset_dir)#
Returns the path to the
ZooDatasetInfofor the dataset.- Parameters:
dataset_dir – the dataset directory
- Returns:
the path to the
ZooDatasetInfo
- get_split_dir(dataset_dir, split)#
Returns the directory for the given split of the dataset.
- Parameters:
dataset_dir – the dataset directory
split – the dataset split
- Returns:
the directory that will/does hold the specified split
- static has_info(dataset_dir)#
Determines whether the directory contains
ZooDatasetInfo.- Parameters:
dataset_dir – the dataset directory
- Returns:
True/False
- property has_patches#
Whether the dataset has patches that may need to be applied to already downloaded files.
- has_split(split)#
Whether the dataset has the given split.
- Parameters:
split – the dataset split
- Returns:
True/False
- property has_splits#
Whether the dataset has splits.
- has_tag(tag)#
Whether the dataset has the given tag.
- Parameters:
tag – the tag
- Returns:
True/False
- property has_tags#
Whether the dataset has tags.
- property importer_kwargs#
A dict of default kwargs to pass to this dataset’s
fiftyone.utils.data.importers.DatasetImporter.
- property is_remote#
Whether the dataset is remotely-sourced.
- static load_info(dataset_dir, upgrade=True, warn_deprecated=False)#
Loads the
ZooDatasetInfofrom the given dataset directory.- Parameters:
dataset_dir – the directory in which to construct the dataset
upgrade (True) – whether to upgrade the JSON file on disk if any migrations were necessary
warn_deprecated (False) – whether to issue a warning if the dataset has a deprecated format
- Returns:
the
ZooDatasetInfofor the dataset
- property parameters#
An optional dict of parameters describing the configuration of the zoo dataset when it was downloaded.
- property requires_manual_download#
Whether this dataset requires some files to be manually downloaded by the user before the dataset can be loaded.
- property supports_partial_downloads#
Whether the dataset supports downloading partial subsets of its splits.
- class fiftyone.zoo.datasets.base.ConstructionSiteTraversabilityDataset#
Bases:
FiftyOneDatasetConstruction-site recordings from an autonomous mobile robot, as native
.mcapepisodes.A tracked mobile robot drives closed loops through two active construction sites carrying an OAK-D colour and range camera, a Livox 3D LiDAR, two inertial units and a u-blox GNSS receiver, with a LiDAR-inertial odometry estimate and the wheel encoders recorded alongside them. The runs revisit the same ground, which is what makes them useful for loop closure and for traversability work.
Four sessions and 105 minutes of driving over 9,760 m of ground. The colour camera and the LiDAR both run at 10 Hz and the range camera is halved onto the same clock, so every visual and 3D stream in an episode shares one rate.
Every episode carries the camera’s intrinsics and the transforms placing the camera and the LiDAR on the robot, taken from the calibration the authors publish alongside their annotated frames.
The recordings were made on working sites and contain site personnel and vehicles in the camera streams.
Example usage:
import fiftyone as fo import fiftyone.zoo as foz dataset = foz.load_zoo_dataset("construction-site-traversability") # The longest run view = dataset.sort_by("duration", reverse=True) session = fo.launch_app(dataset, view=view)
- Dataset size
18.14 GB
Attributes:
The name of the dataset.
The license or list,of,licenses under which the dataset is distributed, or None if unknown.
A tuple of tags for the dataset.
A tuple of supported splits for the dataset, or None if the dataset does not have splits.
Whether the dataset has patches that may need to be applied to already downloaded files.
Whether the dataset has splits.
Whether the dataset has tags.
A dict of default kwargs to pass to this dataset's
fiftyone.utils.data.importers.DatasetImporter.Whether the dataset is remotely-sourced.
An optional dict of parameters describing the configuration of the zoo dataset when it was downloaded.
Whether this dataset requires some files to be manually downloaded by the user before the dataset can be loaded.
Whether the dataset supports downloading partial subsets of its splits.
Methods:
download_and_prepare(dataset_dir[, split, ...])Downloads the dataset and prepares it for use.
get_info_path(dataset_dir)Returns the path to the
ZooDatasetInfofor the dataset.get_split_dir(dataset_dir, split)Returns the directory for the given split of the dataset.
has_info(dataset_dir)Determines whether the directory contains
ZooDatasetInfo.has_split(split)Whether the dataset has the given split.
has_tag(tag)Whether the dataset has the given tag.
load_info(dataset_dir[, upgrade, ...])Loads the
ZooDatasetInfofrom the given dataset directory.- property name#
The name of the dataset.
- property license#
The license or list,of,licenses under which the dataset is distributed, or None if unknown.
- property tags#
A tuple of tags for the dataset.
- property supported_splits#
A tuple of supported splits for the dataset, or None if the dataset does not have splits.
- download_and_prepare(dataset_dir, split=None, splits=None, cleanup=True)#
Downloads the dataset and prepares it for use.
If the requested splits have already been downloaded, they are not re-downloaded.
- Parameters:
dataset_dir – the directory in which to construct the dataset
split (None) –
splitnorsplitsare provided, the full dataset is downloadedsplits (None) – a list of splits to download, if applicable. If neither
splitnorsplitsare provided, the full dataset is downloadedcleanup (True) – whether to cleanup any temporary files generated during download
- Returns:
the
ZooDatasetInfofor the dataset
- static get_info_path(dataset_dir)#
Returns the path to the
ZooDatasetInfofor the dataset.- Parameters:
dataset_dir – the dataset directory
- Returns:
the path to the
ZooDatasetInfo
- get_split_dir(dataset_dir, split)#
Returns the directory for the given split of the dataset.
- Parameters:
dataset_dir – the dataset directory
split – the dataset split
- Returns:
the directory that will/does hold the specified split
- static has_info(dataset_dir)#
Determines whether the directory contains
ZooDatasetInfo.- Parameters:
dataset_dir – the dataset directory
- Returns:
True/False
- property has_patches#
Whether the dataset has patches that may need to be applied to already downloaded files.
- has_split(split)#
Whether the dataset has the given split.
- Parameters:
split – the dataset split
- Returns:
True/False
- property has_splits#
Whether the dataset has splits.
- has_tag(tag)#
Whether the dataset has the given tag.
- Parameters:
tag – the tag
- Returns:
True/False
- property has_tags#
Whether the dataset has tags.
- property importer_kwargs#
A dict of default kwargs to pass to this dataset’s
fiftyone.utils.data.importers.DatasetImporter.
- property is_remote#
Whether the dataset is remotely-sourced.
- static load_info(dataset_dir, upgrade=True, warn_deprecated=False)#
Loads the
ZooDatasetInfofrom the given dataset directory.- Parameters:
dataset_dir – the directory in which to construct the dataset
upgrade (True) – whether to upgrade the JSON file on disk if any migrations were necessary
warn_deprecated (False) – whether to issue a warning if the dataset has a deprecated format
- Returns:
the
ZooDatasetInfofor the dataset
- property parameters#
An optional dict of parameters describing the configuration of the zoo dataset when it was downloaded.
- property requires_manual_download#
Whether this dataset requires some files to be manually downloaded by the user before the dataset can be loaded.
- property supports_partial_downloads#
Whether the dataset supports downloading partial subsets of its splits.
- class fiftyone.zoo.datasets.base.ColoRadarSampleDataset#
Bases:
FiftyOneDatasetA sample of the ColoRadar 3D millimetre-wave radar dataset, as native
.mcapepisodes.A handheld rig carries a cascaded imaging radar and a single-chip radar beside a 64-beam LiDAR and an inertial unit, through hallways, a lab, a motion-capture space, outdoor built environments, the narrow and the large passages of an underground mine, and a fast ride along paths and roads. Each episode carries both radars’ point clouds, a top-down render of each cascaded radar heatmap, the LiDAR scans, the inertial unit and the release’s LiDAR-inertial ground truth.
The sample carries one sequence from each of the seven places the release records, 13 minutes 46 seconds in all.
Example usage:
import fiftyone as fo import fiftyone.zoo as foz dataset = foz.load_zoo_dataset("coloradar-sample") # The sequences that covered the most ground view = dataset.sort_by("ground_truth_path_m", reverse=True) session = fo.launch_app(dataset, view=view)
- Dataset size
6.47 GB
Attributes:
The name of the dataset.
The license or list,of,licenses under which the dataset is distributed, or None if unknown.
A tuple of tags for the dataset.
A tuple of supported splits for the dataset, or None if the dataset does not have splits.
Whether the dataset has patches that may need to be applied to already downloaded files.
Whether the dataset has splits.
Whether the dataset has tags.
A dict of default kwargs to pass to this dataset's
fiftyone.utils.data.importers.DatasetImporter.Whether the dataset is remotely-sourced.
An optional dict of parameters describing the configuration of the zoo dataset when it was downloaded.
Whether this dataset requires some files to be manually downloaded by the user before the dataset can be loaded.
Whether the dataset supports downloading partial subsets of its splits.
Methods:
download_and_prepare(dataset_dir[, split, ...])Downloads the dataset and prepares it for use.
get_info_path(dataset_dir)Returns the path to the
ZooDatasetInfofor the dataset.get_split_dir(dataset_dir, split)Returns the directory for the given split of the dataset.
has_info(dataset_dir)Determines whether the directory contains
ZooDatasetInfo.has_split(split)Whether the dataset has the given split.
has_tag(tag)Whether the dataset has the given tag.
load_info(dataset_dir[, upgrade, ...])Loads the
ZooDatasetInfofrom the given dataset directory.- property name#
The name of the dataset.
- property license#
The license or list,of,licenses under which the dataset is distributed, or None if unknown.
- property tags#
A tuple of tags for the dataset.
- property supported_splits#
A tuple of supported splits for the dataset, or None if the dataset does not have splits.
- download_and_prepare(dataset_dir, split=None, splits=None, cleanup=True)#
Downloads the dataset and prepares it for use.
If the requested splits have already been downloaded, they are not re-downloaded.
- Parameters:
dataset_dir – the directory in which to construct the dataset
split (None) –
splitnorsplitsare provided, the full dataset is downloadedsplits (None) – a list of splits to download, if applicable. If neither
splitnorsplitsare provided, the full dataset is downloadedcleanup (True) – whether to cleanup any temporary files generated during download
- Returns:
the
ZooDatasetInfofor the dataset
- static get_info_path(dataset_dir)#
Returns the path to the
ZooDatasetInfofor the dataset.- Parameters:
dataset_dir – the dataset directory
- Returns:
the path to the
ZooDatasetInfo
- get_split_dir(dataset_dir, split)#
Returns the directory for the given split of the dataset.
- Parameters:
dataset_dir – the dataset directory
split – the dataset split
- Returns:
the directory that will/does hold the specified split
- static has_info(dataset_dir)#
Determines whether the directory contains
ZooDatasetInfo.- Parameters:
dataset_dir – the dataset directory
- Returns:
True/False
- property has_patches#
Whether the dataset has patches that may need to be applied to already downloaded files.
- has_split(split)#
Whether the dataset has the given split.
- Parameters:
split – the dataset split
- Returns:
True/False
- property has_splits#
Whether the dataset has splits.
- has_tag(tag)#
Whether the dataset has the given tag.
- Parameters:
tag – the tag
- Returns:
True/False
- property has_tags#
Whether the dataset has tags.
- property importer_kwargs#
A dict of default kwargs to pass to this dataset’s
fiftyone.utils.data.importers.DatasetImporter.
- property is_remote#
Whether the dataset is remotely-sourced.
- static load_info(dataset_dir, upgrade=True, warn_deprecated=False)#
Loads the
ZooDatasetInfofrom the given dataset directory.- Parameters:
dataset_dir – the directory in which to construct the dataset
upgrade (True) – whether to upgrade the JSON file on disk if any migrations were necessary
warn_deprecated (False) – whether to issue a warning if the dataset has a deprecated format
- Returns:
the
ZooDatasetInfofor the dataset
- property parameters#
An optional dict of parameters describing the configuration of the zoo dataset when it was downloaded.
- property requires_manual_download#
Whether this dataset requires some files to be manually downloaded by the user before the dataset can be loaded.
- property supports_partial_downloads#
Whether the dataset supports downloading partial subsets of its splits.
- class fiftyone.zoo.datasets.base.TaFTactileForceDataset#
Bases:
FiftyOneDatasetContact-rich probing runs pairing tactile sensing with measured force, as native
.mcapepisodes.Every frame carries what a tactile sensor sees and what a force sensor measures at the same instant: a vision-based tactile image, a 12x12 piezoelectric pressure map locating the contact, and a six-axis wrench from an ATI sensor. Contacts reach 90.8 N and 1.58 Nm.
Six sensor configurations are represented, spanning the GelSight Mini with and without markers and a custom sensor with several marker grids.
Example usage:
import fiftyone as fo import fiftyone.zoo as foz dataset = foz.load_zoo_dataset("taf-tactile-force") # The firmest contacts view = dataset.match({"peak_force": {"$gt": 50}}) session = fo.launch_app(dataset, view=view)
- Dataset size
41.65 GB
Attributes:
The name of the dataset.
The license or list,of,licenses under which the dataset is distributed, or None if unknown.
A tuple of tags for the dataset.
A tuple of supported splits for the dataset, or None if the dataset does not have splits.
Whether the dataset has patches that may need to be applied to already downloaded files.
Whether the dataset has splits.
Whether the dataset has tags.
A dict of default kwargs to pass to this dataset's
fiftyone.utils.data.importers.DatasetImporter.Whether the dataset is remotely-sourced.
An optional dict of parameters describing the configuration of the zoo dataset when it was downloaded.
Whether this dataset requires some files to be manually downloaded by the user before the dataset can be loaded.
Whether the dataset supports downloading partial subsets of its splits.
Methods:
download_and_prepare(dataset_dir[, split, ...])Downloads the dataset and prepares it for use.
get_info_path(dataset_dir)Returns the path to the
ZooDatasetInfofor the dataset.get_split_dir(dataset_dir, split)Returns the directory for the given split of the dataset.
has_info(dataset_dir)Determines whether the directory contains
ZooDatasetInfo.has_split(split)Whether the dataset has the given split.
has_tag(tag)Whether the dataset has the given tag.
load_info(dataset_dir[, upgrade, ...])Loads the
ZooDatasetInfofrom the given dataset directory.- property name#
The name of the dataset.
- property license#
The license or list,of,licenses under which the dataset is distributed, or None if unknown.
- property tags#
A tuple of tags for the dataset.
- property supported_splits#
A tuple of supported splits for the dataset, or None if the dataset does not have splits.
- download_and_prepare(dataset_dir, split=None, splits=None, cleanup=True)#
Downloads the dataset and prepares it for use.
If the requested splits have already been downloaded, they are not re-downloaded.
- Parameters:
dataset_dir – the directory in which to construct the dataset
split (None) –
splitnorsplitsare provided, the full dataset is downloadedsplits (None) – a list of splits to download, if applicable. If neither
splitnorsplitsare provided, the full dataset is downloadedcleanup (True) – whether to cleanup any temporary files generated during download
- Returns:
the
ZooDatasetInfofor the dataset
- static get_info_path(dataset_dir)#
Returns the path to the
ZooDatasetInfofor the dataset.- Parameters:
dataset_dir – the dataset directory
- Returns:
the path to the
ZooDatasetInfo
- get_split_dir(dataset_dir, split)#
Returns the directory for the given split of the dataset.
- Parameters:
dataset_dir – the dataset directory
split – the dataset split
- Returns:
the directory that will/does hold the specified split
- static has_info(dataset_dir)#
Determines whether the directory contains
ZooDatasetInfo.- Parameters:
dataset_dir – the dataset directory
- Returns:
True/False
- property has_patches#
Whether the dataset has patches that may need to be applied to already downloaded files.
- has_split(split)#
Whether the dataset has the given split.
- Parameters:
split – the dataset split
- Returns:
True/False
- property has_splits#
Whether the dataset has splits.
- has_tag(tag)#
Whether the dataset has the given tag.
- Parameters:
tag – the tag
- Returns:
True/False
- property has_tags#
Whether the dataset has tags.
- property importer_kwargs#
A dict of default kwargs to pass to this dataset’s
fiftyone.utils.data.importers.DatasetImporter.
- property is_remote#
Whether the dataset is remotely-sourced.
- static load_info(dataset_dir, upgrade=True, warn_deprecated=False)#
Loads the
ZooDatasetInfofrom the given dataset directory.- Parameters:
dataset_dir – the directory in which to construct the dataset
upgrade (True) – whether to upgrade the JSON file on disk if any migrations were necessary
warn_deprecated (False) – whether to issue a warning if the dataset has a deprecated format
- Returns:
the
ZooDatasetInfofor the dataset
- property parameters#
An optional dict of parameters describing the configuration of the zoo dataset when it was downloaded.
- property requires_manual_download#
Whether this dataset requires some files to be manually downloaded by the user before the dataset can be loaded.
- property supports_partial_downloads#
Whether the dataset supports downloading partial subsets of its splits.
- class fiftyone.zoo.datasets.base.HapTileDataset#
Bases:
FiftyOneDatasetTeleoperated contact-rich manipulation with vision-based tactile fingertips and the operator’s haptic feedback, as native
.mcapepisodes.A UR5e arm with a Robotiq 2F-85 gripper works through contact-rich tabletop tasks under teleoperation. Each gripper finger carries a vision-based tactile sensor that films a gel pad printed with a marker grid, so the contact shows as the markers moving. Two RGB-D cameras watch the scene, one facing the table and one on the wrist, and the haptic feedback the operator felt is recorded alongside the robot state and the language instruction.
The 1,699 episodes span 38 tasks, from inserting a peg and folding a T-shirt to pouring from a bottle and wiping a whiteboard.
Example usage:
import fiftyone as fo import fiftyone.zoo as foz dataset = foz.load_zoo_dataset("haptile") # The firmest contacts on the right fingertip view = dataset.sort_by("peak_marker_motion_right", reverse=True) session = fo.launch_app(dataset, view=view)
- Dataset size
6.32 GB
Attributes:
The name of the dataset.
The license or list,of,licenses under which the dataset is distributed, or None if unknown.
A tuple of tags for the dataset.
A tuple of supported splits for the dataset, or None if the dataset does not have splits.
Whether the dataset has patches that may need to be applied to already downloaded files.
Whether the dataset has splits.
Whether the dataset has tags.
A dict of default kwargs to pass to this dataset's
fiftyone.utils.data.importers.DatasetImporter.Whether the dataset is remotely-sourced.
An optional dict of parameters describing the configuration of the zoo dataset when it was downloaded.
Whether this dataset requires some files to be manually downloaded by the user before the dataset can be loaded.
Whether the dataset supports downloading partial subsets of its splits.
Methods:
download_and_prepare(dataset_dir[, split, ...])Downloads the dataset and prepares it for use.
get_info_path(dataset_dir)Returns the path to the
ZooDatasetInfofor the dataset.get_split_dir(dataset_dir, split)Returns the directory for the given split of the dataset.
has_info(dataset_dir)Determines whether the directory contains
ZooDatasetInfo.has_split(split)Whether the dataset has the given split.
has_tag(tag)Whether the dataset has the given tag.
load_info(dataset_dir[, upgrade, ...])Loads the
ZooDatasetInfofrom the given dataset directory.- property name#
The name of the dataset.
- property license#
The license or list,of,licenses under which the dataset is distributed, or None if unknown.
- property tags#
A tuple of tags for the dataset.
- property supported_splits#
A tuple of supported splits for the dataset, or None if the dataset does not have splits.
- download_and_prepare(dataset_dir, split=None, splits=None, cleanup=True)#
Downloads the dataset and prepares it for use.
If the requested splits have already been downloaded, they are not re-downloaded.
- Parameters:
dataset_dir – the directory in which to construct the dataset
split (None) –
splitnorsplitsare provided, the full dataset is downloadedsplits (None) – a list of splits to download, if applicable. If neither
splitnorsplitsare provided, the full dataset is downloadedcleanup (True) – whether to cleanup any temporary files generated during download
- Returns:
the
ZooDatasetInfofor the dataset
- static get_info_path(dataset_dir)#
Returns the path to the
ZooDatasetInfofor the dataset.- Parameters:
dataset_dir – the dataset directory
- Returns:
the path to the
ZooDatasetInfo
- get_split_dir(dataset_dir, split)#
Returns the directory for the given split of the dataset.
- Parameters:
dataset_dir – the dataset directory
split – the dataset split
- Returns:
the directory that will/does hold the specified split
- static has_info(dataset_dir)#
Determines whether the directory contains
ZooDatasetInfo.- Parameters:
dataset_dir – the dataset directory
- Returns:
True/False
- property has_patches#
Whether the dataset has patches that may need to be applied to already downloaded files.
- has_split(split)#
Whether the dataset has the given split.
- Parameters:
split – the dataset split
- Returns:
True/False
- property has_splits#
Whether the dataset has splits.
- has_tag(tag)#
Whether the dataset has the given tag.
- Parameters:
tag – the tag
- Returns:
True/False
- property has_tags#
Whether the dataset has tags.
- property importer_kwargs#
A dict of default kwargs to pass to this dataset’s
fiftyone.utils.data.importers.DatasetImporter.
- property is_remote#
Whether the dataset is remotely-sourced.
- static load_info(dataset_dir, upgrade=True, warn_deprecated=False)#
Loads the
ZooDatasetInfofrom the given dataset directory.- Parameters:
dataset_dir – the directory in which to construct the dataset
upgrade (True) – whether to upgrade the JSON file on disk if any migrations were necessary
warn_deprecated (False) – whether to issue a warning if the dataset has a deprecated format
- Returns:
the
ZooDatasetInfofor the dataset
- property parameters#
An optional dict of parameters describing the configuration of the zoo dataset when it was downloaded.
- property requires_manual_download#
Whether this dataset requires some files to be manually downloaded by the user before the dataset can be loaded.
- property supports_partial_downloads#
Whether the dataset supports downloading partial subsets of its splits.
- class fiftyone.zoo.datasets.base.SpectralWasteSegmentationDataset#
Bases:
FiftyOneDatasetThe labeled split of SpectralWaste, as a grouped RGB and hyperspectral dataset.
The frames come from a working waste-sorting plant, looking down at the conveyor as material passes. Each is captured twice over, once in colour and once by a shortwave infrared camera reading 224 bands from about 900 to 1700 nm. Material that looks identical in colour separates in the infrared, which is what makes the pairing worth having.
Each sample is a group of three slices:
rgb, the colour frame;hsi, a false-colour rendering of the cube built from three bands across the sensor’s range; andcube, the 224-band cube itself as a TIFF. The two viewable slices each carry a segmentation mask over six waste categories.The release draws its annotations on the colour frame and transfers them onto the hyperspectral one. Every sample carries
mask_agreement, how far the two foregrounds overlap, which runs high for the bulky categories and low for the thin ones.Example usage:
import fiftyone as fo import fiftyone.zoo as foz dataset = foz.load_zoo_dataset("spectralwaste-segmentation") # Frames where the transferred mask held view = dataset.match({"mask_agreement": {"$gte": 0.7}}) session = fo.launch_app(dataset, view=view)
- Dataset size
25.25 GB
Attributes:
The name of the dataset.
The license or list,of,licenses under which the dataset is distributed, or None if unknown.
A tuple of tags for the dataset.
A tuple of supported splits for the dataset, or None if the dataset does not have splits.
Whether the dataset has patches that may need to be applied to already downloaded files.
Whether the dataset has splits.
Whether the dataset has tags.
A dict of default kwargs to pass to this dataset's
fiftyone.utils.data.importers.DatasetImporter.Whether the dataset is remotely-sourced.
An optional dict of parameters describing the configuration of the zoo dataset when it was downloaded.
Whether this dataset requires some files to be manually downloaded by the user before the dataset can be loaded.
Whether the dataset supports downloading partial subsets of its splits.
Methods:
download_and_prepare(dataset_dir[, split, ...])Downloads the dataset and prepares it for use.
get_info_path(dataset_dir)Returns the path to the
ZooDatasetInfofor the dataset.get_split_dir(dataset_dir, split)Returns the directory for the given split of the dataset.
has_info(dataset_dir)Determines whether the directory contains
ZooDatasetInfo.has_split(split)Whether the dataset has the given split.
has_tag(tag)Whether the dataset has the given tag.
load_info(dataset_dir[, upgrade, ...])Loads the
ZooDatasetInfofrom the given dataset directory.- property name#
The name of the dataset.
- property license#
The license or list,of,licenses under which the dataset is distributed, or None if unknown.
- property tags#
A tuple of tags for the dataset.
- property supported_splits#
A tuple of supported splits for the dataset, or None if the dataset does not have splits.
- download_and_prepare(dataset_dir, split=None, splits=None, cleanup=True)#
Downloads the dataset and prepares it for use.
If the requested splits have already been downloaded, they are not re-downloaded.
- Parameters:
dataset_dir – the directory in which to construct the dataset
split (None) –
splitnorsplitsare provided, the full dataset is downloadedsplits (None) – a list of splits to download, if applicable. If neither
splitnorsplitsare provided, the full dataset is downloadedcleanup (True) – whether to cleanup any temporary files generated during download
- Returns:
the
ZooDatasetInfofor the dataset
- static get_info_path(dataset_dir)#
Returns the path to the
ZooDatasetInfofor the dataset.- Parameters:
dataset_dir – the dataset directory
- Returns:
the path to the
ZooDatasetInfo
- get_split_dir(dataset_dir, split)#
Returns the directory for the given split of the dataset.
- Parameters:
dataset_dir – the dataset directory
split – the dataset split
- Returns:
the directory that will/does hold the specified split
- static has_info(dataset_dir)#
Determines whether the directory contains
ZooDatasetInfo.- Parameters:
dataset_dir – the dataset directory
- Returns:
True/False
- property has_patches#
Whether the dataset has patches that may need to be applied to already downloaded files.
- has_split(split)#
Whether the dataset has the given split.
- Parameters:
split – the dataset split
- Returns:
True/False
- property has_splits#
Whether the dataset has splits.
- has_tag(tag)#
Whether the dataset has the given tag.
- Parameters:
tag – the tag
- Returns:
True/False
- property has_tags#
Whether the dataset has tags.
- property importer_kwargs#
A dict of default kwargs to pass to this dataset’s
fiftyone.utils.data.importers.DatasetImporter.
- property is_remote#
Whether the dataset is remotely-sourced.
- static load_info(dataset_dir, upgrade=True, warn_deprecated=False)#
Loads the
ZooDatasetInfofrom the given dataset directory.- Parameters:
dataset_dir – the directory in which to construct the dataset
upgrade (True) – whether to upgrade the JSON file on disk if any migrations were necessary
warn_deprecated (False) – whether to issue a warning if the dataset has a deprecated format
- Returns:
the
ZooDatasetInfofor the dataset
- property parameters#
An optional dict of parameters describing the configuration of the zoo dataset when it was downloaded.
- property requires_manual_download#
Whether this dataset requires some files to be manually downloaded by the user before the dataset can be loaded.
- property supports_partial_downloads#
Whether the dataset supports downloading partial subsets of its splits.
- class fiftyone.zoo.datasets.base.M3EDSampleDataset#
Bases:
FiftyOneDatasetA sample of M3ED, the multi-robot, multi-sensor, multi-environment event camera dataset, as native
.mcapepisodes.A car, a quadrotor and a Boston Dynamics Spot carry the same sensor head: a stereo pair of Prophesee event cameras at 1280x720, a stereo pair of grayscale cameras and a color camera at 1280x800, an inertial unit and an Ouster OS1-64 LiDAR. Each episode carries every event of both event cameras as point clouds, one per 1/30 s window, beside a render of each window, with the cameras, the LiDAR scans and the ground-truth poses and depth.
3 sequences, one per platform: a city street by day, a quadrotor flight outdoors at night and an indoor stairwell, 192 seconds in all with 3,631,437,863 events, 4,802 image triplets and 1,921 LiDAR scans.
Example usage:
import fiftyone as fo import fiftyone.zoo as foz dataset = foz.load_zoo_dataset("m3ed-sample") # The sequences with the busiest event streams view = dataset.sort_by("peak_event_rate_mev_s", reverse=True) session = fo.launch_app(dataset, view=view)
- Dataset size
22.13 GB
Attributes:
The name of the dataset.
The license or list,of,licenses under which the dataset is distributed, or None if unknown.
A tuple of tags for the dataset.
A tuple of supported splits for the dataset, or None if the dataset does not have splits.
Whether the dataset has patches that may need to be applied to already downloaded files.
Whether the dataset has splits.
Whether the dataset has tags.
A dict of default kwargs to pass to this dataset's
fiftyone.utils.data.importers.DatasetImporter.Whether the dataset is remotely-sourced.
An optional dict of parameters describing the configuration of the zoo dataset when it was downloaded.
Whether this dataset requires some files to be manually downloaded by the user before the dataset can be loaded.
Whether the dataset supports downloading partial subsets of its splits.
Methods:
download_and_prepare(dataset_dir[, split, ...])Downloads the dataset and prepares it for use.
get_info_path(dataset_dir)Returns the path to the
ZooDatasetInfofor the dataset.get_split_dir(dataset_dir, split)Returns the directory for the given split of the dataset.
has_info(dataset_dir)Determines whether the directory contains
ZooDatasetInfo.has_split(split)Whether the dataset has the given split.
has_tag(tag)Whether the dataset has the given tag.
load_info(dataset_dir[, upgrade, ...])Loads the
ZooDatasetInfofrom the given dataset directory.- property name#
The name of the dataset.
- property license#
The license or list,of,licenses under which the dataset is distributed, or None if unknown.
- property tags#
A tuple of tags for the dataset.
- property supported_splits#
A tuple of supported splits for the dataset, or None if the dataset does not have splits.
- download_and_prepare(dataset_dir, split=None, splits=None, cleanup=True)#
Downloads the dataset and prepares it for use.
If the requested splits have already been downloaded, they are not re-downloaded.
- Parameters:
dataset_dir – the directory in which to construct the dataset
split (None) –
splitnorsplitsare provided, the full dataset is downloadedsplits (None) – a list of splits to download, if applicable. If neither
splitnorsplitsare provided, the full dataset is downloadedcleanup (True) – whether to cleanup any temporary files generated during download
- Returns:
the
ZooDatasetInfofor the dataset
- static get_info_path(dataset_dir)#
Returns the path to the
ZooDatasetInfofor the dataset.- Parameters:
dataset_dir – the dataset directory
- Returns:
the path to the
ZooDatasetInfo
- get_split_dir(dataset_dir, split)#
Returns the directory for the given split of the dataset.
- Parameters:
dataset_dir – the dataset directory
split – the dataset split
- Returns:
the directory that will/does hold the specified split
- static has_info(dataset_dir)#
Determines whether the directory contains
ZooDatasetInfo.- Parameters:
dataset_dir – the dataset directory
- Returns:
True/False
- property has_patches#
Whether the dataset has patches that may need to be applied to already downloaded files.
- has_split(split)#
Whether the dataset has the given split.
- Parameters:
split – the dataset split
- Returns:
True/False
- property has_splits#
Whether the dataset has splits.
- has_tag(tag)#
Whether the dataset has the given tag.
- Parameters:
tag – the tag
- Returns:
True/False
- property has_tags#
Whether the dataset has tags.
- property importer_kwargs#
A dict of default kwargs to pass to this dataset’s
fiftyone.utils.data.importers.DatasetImporter.
- property is_remote#
Whether the dataset is remotely-sourced.
- static load_info(dataset_dir, upgrade=True, warn_deprecated=False)#
Loads the
ZooDatasetInfofrom the given dataset directory.- Parameters:
dataset_dir – the directory in which to construct the dataset
upgrade (True) – whether to upgrade the JSON file on disk if any migrations were necessary
warn_deprecated (False) – whether to issue a warning if the dataset has a deprecated format
- Returns:
the
ZooDatasetInfofor the dataset
- property parameters#
An optional dict of parameters describing the configuration of the zoo dataset when it was downloaded.
- property requires_manual_download#
Whether this dataset requires some files to be manually downloaded by the user before the dataset can be loaded.
- property supports_partial_downloads#
Whether the dataset supports downloading partial subsets of its splits.
- class fiftyone.zoo.datasets.base.DreamTacDataset#
Bases:
FiftyOneDatasetContact-rich Franka manipulation with vision-based tactile fingertips, as native
.mcapepisodes.A Franka Emika Panda works through contact-rich tabletop tasks while four cameras record on one 20 fps clock: a third-person view, a wrist view, and two Xense Photon vision-based tactile sensors on the gripper fingertips. Each fingertip is a gel pad printed with a marker grid that deforms where the object presses, so the moment of contact is visible rather than inferred from a force reading.
The 703 trajectories span 12 tasks, from picking up a baguette or a USB plug to wiping a whiteboard and cutting a banana. Each episode also carries the end-effector pose, the gripper opening and the task instruction.
Example usage:
import fiftyone as fo import fiftyone.zoo as foz dataset = foz.load_zoo_dataset("dreamtac") # The trajectories that moved the furthest view = dataset.sort_by("end_effector_path_m", reverse=True) session = fo.launch_app(dataset, view=view)
- Dataset size
2.36 GB
Attributes:
The name of the dataset.
The license or list,of,licenses under which the dataset is distributed, or None if unknown.
A tuple of tags for the dataset.
A tuple of supported splits for the dataset, or None if the dataset does not have splits.
Whether the dataset has patches that may need to be applied to already downloaded files.
Whether the dataset has splits.
Whether the dataset has tags.
A dict of default kwargs to pass to this dataset's
fiftyone.utils.data.importers.DatasetImporter.Whether the dataset is remotely-sourced.
An optional dict of parameters describing the configuration of the zoo dataset when it was downloaded.
Whether this dataset requires some files to be manually downloaded by the user before the dataset can be loaded.
Whether the dataset supports downloading partial subsets of its splits.
Methods:
download_and_prepare(dataset_dir[, split, ...])Downloads the dataset and prepares it for use.
get_info_path(dataset_dir)Returns the path to the
ZooDatasetInfofor the dataset.get_split_dir(dataset_dir, split)Returns the directory for the given split of the dataset.
has_info(dataset_dir)Determines whether the directory contains
ZooDatasetInfo.has_split(split)Whether the dataset has the given split.
has_tag(tag)Whether the dataset has the given tag.
load_info(dataset_dir[, upgrade, ...])Loads the
ZooDatasetInfofrom the given dataset directory.- property name#
The name of the dataset.
- property license#
The license or list,of,licenses under which the dataset is distributed, or None if unknown.
- property tags#
A tuple of tags for the dataset.
- property supported_splits#
A tuple of supported splits for the dataset, or None if the dataset does not have splits.
- download_and_prepare(dataset_dir, split=None, splits=None, cleanup=True)#
Downloads the dataset and prepares it for use.
If the requested splits have already been downloaded, they are not re-downloaded.
- Parameters:
dataset_dir – the directory in which to construct the dataset
split (None) –
splitnorsplitsare provided, the full dataset is downloadedsplits (None) – a list of splits to download, if applicable. If neither
splitnorsplitsare provided, the full dataset is downloadedcleanup (True) – whether to cleanup any temporary files generated during download
- Returns:
the
ZooDatasetInfofor the dataset
- static get_info_path(dataset_dir)#
Returns the path to the
ZooDatasetInfofor the dataset.- Parameters:
dataset_dir – the dataset directory
- Returns:
the path to the
ZooDatasetInfo
- get_split_dir(dataset_dir, split)#
Returns the directory for the given split of the dataset.
- Parameters:
dataset_dir – the dataset directory
split – the dataset split
- Returns:
the directory that will/does hold the specified split
- static has_info(dataset_dir)#
Determines whether the directory contains
ZooDatasetInfo.- Parameters:
dataset_dir – the dataset directory
- Returns:
True/False
- property has_patches#
Whether the dataset has patches that may need to be applied to already downloaded files.
- has_split(split)#
Whether the dataset has the given split.
- Parameters:
split – the dataset split
- Returns:
True/False
- property has_splits#
Whether the dataset has splits.
- has_tag(tag)#
Whether the dataset has the given tag.
- Parameters:
tag – the tag
- Returns:
True/False
- property has_tags#
Whether the dataset has tags.
- property importer_kwargs#
A dict of default kwargs to pass to this dataset’s
fiftyone.utils.data.importers.DatasetImporter.
- property is_remote#
Whether the dataset is remotely-sourced.
- static load_info(dataset_dir, upgrade=True, warn_deprecated=False)#
Loads the
ZooDatasetInfofrom the given dataset directory.- Parameters:
dataset_dir – the directory in which to construct the dataset
upgrade (True) – whether to upgrade the JSON file on disk if any migrations were necessary
warn_deprecated (False) – whether to issue a warning if the dataset has a deprecated format
- Returns:
the
ZooDatasetInfofor the dataset
- property parameters#
An optional dict of parameters describing the configuration of the zoo dataset when it was downloaded.
- property requires_manual_download#
Whether this dataset requires some files to be manually downloaded by the user before the dataset can be loaded.
- property supports_partial_downloads#
Whether the dataset supports downloading partial subsets of its splits.
- class fiftyone.zoo.datasets.base.EdgedUSLAMEventCameraDataset#
Bases:
FiftyOneDatasetQuadrotor flights with a DAVIS346 event camera, carrying every event, as native
.mcapepisodes.A DAVIS346 event camera rides a quadrotor flown in a motion-capture room. Each run records the camera’s asynchronous events, its grayscale frames and its inertial unit with the Vicon pose of the vehicle, across lines, squares, circles, aggressive turns and manual flights and under lighting from under 5 lux to blinking lights and strong side light. The events are carried as point clouds, one per 1/30 s window, beside a render of each window.
The 13 runs cover 16 minutes 27 seconds of flight and 657,511,373 events.
Example usage:
import fiftyone as fo import fiftyone.zoo as foz dataset = foz.load_zoo_dataset("edged-uslam-event-camera") # The darkest runs, where the frames see least view = dataset.sort_by("mean_frame_brightness") session = fo.launch_app(dataset, view=view)
- Dataset size
4.88 GB
Attributes:
The name of the dataset.
The license or list,of,licenses under which the dataset is distributed, or None if unknown.
A tuple of tags for the dataset.
A tuple of supported splits for the dataset, or None if the dataset does not have splits.
Whether the dataset has patches that may need to be applied to already downloaded files.
Whether the dataset has splits.
Whether the dataset has tags.
A dict of default kwargs to pass to this dataset's
fiftyone.utils.data.importers.DatasetImporter.Whether the dataset is remotely-sourced.
An optional dict of parameters describing the configuration of the zoo dataset when it was downloaded.
Whether this dataset requires some files to be manually downloaded by the user before the dataset can be loaded.
Whether the dataset supports downloading partial subsets of its splits.
Methods:
download_and_prepare(dataset_dir[, split, ...])Downloads the dataset and prepares it for use.
get_info_path(dataset_dir)Returns the path to the
ZooDatasetInfofor the dataset.get_split_dir(dataset_dir, split)Returns the directory for the given split of the dataset.
has_info(dataset_dir)Determines whether the directory contains
ZooDatasetInfo.has_split(split)Whether the dataset has the given split.
has_tag(tag)Whether the dataset has the given tag.
load_info(dataset_dir[, upgrade, ...])Loads the
ZooDatasetInfofrom the given dataset directory.- property name#
The name of the dataset.
- property license#
The license or list,of,licenses under which the dataset is distributed, or None if unknown.
- property tags#
A tuple of tags for the dataset.
- property supported_splits#
A tuple of supported splits for the dataset, or None if the dataset does not have splits.
- download_and_prepare(dataset_dir, split=None, splits=None, cleanup=True)#
Downloads the dataset and prepares it for use.
If the requested splits have already been downloaded, they are not re-downloaded.
- Parameters:
dataset_dir – the directory in which to construct the dataset
split (None) –
splitnorsplitsare provided, the full dataset is downloadedsplits (None) – a list of splits to download, if applicable. If neither
splitnorsplitsare provided, the full dataset is downloadedcleanup (True) – whether to cleanup any temporary files generated during download
- Returns:
the
ZooDatasetInfofor the dataset
- static get_info_path(dataset_dir)#
Returns the path to the
ZooDatasetInfofor the dataset.- Parameters:
dataset_dir – the dataset directory
- Returns:
the path to the
ZooDatasetInfo
- get_split_dir(dataset_dir, split)#
Returns the directory for the given split of the dataset.
- Parameters:
dataset_dir – the dataset directory
split – the dataset split
- Returns:
the directory that will/does hold the specified split
- static has_info(dataset_dir)#
Determines whether the directory contains
ZooDatasetInfo.- Parameters:
dataset_dir – the dataset directory
- Returns:
True/False
- property has_patches#
Whether the dataset has patches that may need to be applied to already downloaded files.
- has_split(split)#
Whether the dataset has the given split.
- Parameters:
split – the dataset split
- Returns:
True/False
- property has_splits#
Whether the dataset has splits.
- has_tag(tag)#
Whether the dataset has the given tag.
- Parameters:
tag – the tag
- Returns:
True/False
- property has_tags#
Whether the dataset has tags.
- property importer_kwargs#
A dict of default kwargs to pass to this dataset’s
fiftyone.utils.data.importers.DatasetImporter.
- property is_remote#
Whether the dataset is remotely-sourced.
- static load_info(dataset_dir, upgrade=True, warn_deprecated=False)#
Loads the
ZooDatasetInfofrom the given dataset directory.- Parameters:
dataset_dir – the directory in which to construct the dataset
upgrade (True) – whether to upgrade the JSON file on disk if any migrations were necessary
warn_deprecated (False) – whether to issue a warning if the dataset has a deprecated format
- Returns:
the
ZooDatasetInfofor the dataset
- property parameters#
An optional dict of parameters describing the configuration of the zoo dataset when it was downloaded.
- property requires_manual_download#
Whether this dataset requires some files to be manually downloaded by the user before the dataset can be loaded.
- property supports_partial_downloads#
Whether the dataset supports downloading partial subsets of its splits.