fiftyone.types.dataset_types#

FiftyOne dataset types.

Copyright 2017-2025, Voxel51, Inc.

Classes:

Dataset()

Base type for datasets.

UnlabeledDataset()

Base type for datasets that represent an unlabeled collection of data samples.

UnlabeledImageDataset()

Base type for datasets that represent an unlabeled collection of images.

UnlabeledVideoDataset()

Base type for datasets that represent an unlabeled collection of videos.

LabeledDataset()

Base type for datasets that represent a collection of data samples and their associated labels.

LabeledImageDataset()

Base type for datasets that represent a collection of images and their associated labels.

LabeledVideoDataset()

Base type for datasets that represent a collection of videos and their associated labels.

ImageClassificationDataset()

Base type for datasets that represent a collection of images and a set of associated classification labels.

VideoClassificationDataset()

Base type for datasets that represent a collection of videos and a set of associated classification labels.

ImageDetectionDataset()

Base type for datasets that represent a collection of images and a set of associated detections.

VideoDetectionDataset()

Base type for datasets that represent a collection of videos and a set of associated video detections.

ImageSegmentationDataset()

Base type for datasets that represent a collection of images and a set of associated semantic segmentations.

ImageLabelsDataset()

Base type for datasets that represent a collection of images and a set of associated multitask predictions.

VideoLabelsDataset()

Base type for datasets that represent a collection of videos and a set of associated multitask predictions.

GroupDataset()

Base type for datasets that contain grouped samples of any type(s).

ImageDirectory()

A directory of images.

VideoDirectory()

A directory of videos.

MediaDirectory()

A directory of media files.

FiftyOneImageClassificationDataset()

A labeled dataset consisting of images and their associated classification labels stored in a simple JSON format.

ImageClassificationDirectoryTree()

A directory tree whose subfolders define an image classification dataset.

VideoClassificationDirectoryTree()

A directory tree whose subfolders define a video classification dataset.

TFImageClassificationDataset()

A labeled dataset consisting of images and their associated classification labels stored as TFRecords.

FiftyOneImageDetectionDataset()

A labeled dataset consisting of images and their associated object detections stored in a simple JSON format.

FiftyOneTemporalDetectionDataset()

A labeled dataset consisting of videos and their associated temporal detections stored in a simple JSON format.

COCODetectionDataset()

A labeled dataset consisting of images and their associated object detections saved in COCO Object Detection Format.

VOCDetectionDataset()

A labeled dataset consisting of images and their associated object detections saved in VOC format.

KITTIDetectionDataset()

A labeled dataset consisting of images and their associated object detections saved in KITTI format.

OpenImagesV6Dataset()

A labeled dataset consisting of images and their associated annotations saved in Open Images format.

OpenImagesV7Dataset()

FIWDataset()

A labeled dataset consisting of images and their associated annotations saved in Families in the Wild format.

OpenLABELImageDataset()

OpenLABELVideoDataset()

YOLOv4Dataset()

A labeled dataset consisting of images and their associated object detections saved in YOLOv4 format.

YOLOv5Dataset()

A labeled dataset consisting of images and their associated object detections saved in YOLOv5 format.

TFObjectDetectionDataset()

A labeled dataset consisting of images and their associated object detections stored as TFRecords in TF Object Detection API format.

ImageSegmentationDirectory()

An labeled dataset consisting of images and their associated semantic segmentations stored as images on disk.

CVATImageDataset()

A labeled dataset consisting of images and their associated labels stored in CVAT image format.

CVATVideoDataset()

A labeled dataset consisting of images and their associated object detections stored in CVAT video format.

FiftyOneImageLabelsDataset()

A labeled dataset consisting of images and their associated multitask predictions stored in ETA ImageLabels format.

FiftyOneVideoLabelsDataset()

A labeled dataset consisting of videos and their associated labels stored in ETA VideoLabels format.

BDDDataset()

A labeled dataset consisting of images and their associated multitask predictions saved in Berkeley DeepDrive (BDD) format.

DICOMDataset()

An image dataset whose image data and optional properties are stored in DICOM format.

ActivityNetDataset()

A video dataset composed of temporal activity detections from the ActivityNet dataset.

GeoJSONDataset()

An image or video dataset whose geolocation data and optional properties are stored in GeoJSON format.

GeoTIFFDataset()

An image dataset whose image and geolocation data are stored in GeoTIFF format.

CSVDataset()

A flexible CSV format that represents slice(s) of field values of a dataset as columns of a CSV file.

FiftyOneDataset()

A disk representation of an entire fiftyone.core.dataset.Dataset stored on disk in a serialized JSON format along with its source media.

LegacyFiftyOneDataset()

Legacy disk representation of an entire fiftyone.core.dataset.Dataset stored on disk in a serialized JSON format along with its source media.

PlacesDataset()

A labeled dataset consisting of images and their associated labels from the Places dataset <http://places2.csail.mit.edu/index.html>.

class fiftyone.types.dataset_types.Dataset#

Bases: object

Base type for datasets.

Methods:

get_dataset_importer_cls()

Returns the fiftyone.utils.data.importers.DatasetImporter class for importing datasets of this type from disk.

get_dataset_exporter_cls()

Returns the fiftyone.utils.data.exporters.DatasetExporter class for exporting datasets of this type to disk.

get_dataset_importer_cls()#

Returns the fiftyone.utils.data.importers.DatasetImporter class for importing datasets of this type from disk.

Returns:

a fiftyone.utils.data.importers.DatasetImporter class

get_dataset_exporter_cls()#

Returns the fiftyone.utils.data.exporters.DatasetExporter class for exporting datasets of this type to disk.

Returns:

a fiftyone.utils.data.exporters.DatasetExporter class

class fiftyone.types.dataset_types.UnlabeledDataset#

Bases: Dataset

Base type for datasets that represent an unlabeled collection of data samples.

Methods:

get_dataset_exporter_cls()

Returns the fiftyone.utils.data.exporters.DatasetExporter class for exporting datasets of this type to disk.

get_dataset_importer_cls()

Returns the fiftyone.utils.data.importers.DatasetImporter class for importing datasets of this type from disk.

get_dataset_exporter_cls()#

Returns the fiftyone.utils.data.exporters.DatasetExporter class for exporting datasets of this type to disk.

Returns:

a fiftyone.utils.data.exporters.DatasetExporter class

get_dataset_importer_cls()#

Returns the fiftyone.utils.data.importers.DatasetImporter class for importing datasets of this type from disk.

Returns:

a fiftyone.utils.data.importers.DatasetImporter class

class fiftyone.types.dataset_types.UnlabeledImageDataset#

Bases: UnlabeledDataset

Base type for datasets that represent an unlabeled collection of images.

Methods:

get_dataset_importer_cls()

Returns the fiftyone.utils.data.importers.UnlabeledImageDatasetImporter class for importing datasets of this type from disk.

get_dataset_exporter_cls()

Returns the fiftyone.utils.data.exporters.UnlabeledImageDatasetExporter class for exporting datasets of this type to disk.

get_dataset_importer_cls()#

Returns the fiftyone.utils.data.importers.UnlabeledImageDatasetImporter class for importing datasets of this type from disk.

Returns:

a fiftyone.utils.data.importers.UnlabeledImageDatasetImporter class

get_dataset_exporter_cls()#

Returns the fiftyone.utils.data.exporters.UnlabeledImageDatasetExporter class for exporting datasets of this type to disk.

Returns:

a fiftyone.utils.data.exporters.UnlabeledImageDatasetExporter class

class fiftyone.types.dataset_types.UnlabeledVideoDataset#

Bases: UnlabeledDataset

Base type for datasets that represent an unlabeled collection of videos.

Methods:

get_dataset_importer_cls()

Returns the fiftyone.utils.data.importers.UnlabeledVideoDatasetImporter class for importing datasets of this type from disk.

get_dataset_exporter_cls()

Returns the fiftyone.utils.data.exporters.UnlabeledVideoDatasetExporter class for exporting datasets of this type to disk.

get_dataset_importer_cls()#

Returns the fiftyone.utils.data.importers.UnlabeledVideoDatasetImporter class for importing datasets of this type from disk.

Returns:

a fiftyone.utils.data.importers.UnlabeledVideoDatasetImporter class

get_dataset_exporter_cls()#

Returns the fiftyone.utils.data.exporters.UnlabeledVideoDatasetExporter class for exporting datasets of this type to disk.

Returns:

a fiftyone.utils.data.exporters.UnlabeledVideoDatasetExporter class

class fiftyone.types.dataset_types.LabeledDataset#

Bases: Dataset

Base type for datasets that represent a collection of data samples and their associated labels.

Methods:

get_dataset_exporter_cls()

Returns the fiftyone.utils.data.exporters.DatasetExporter class for exporting datasets of this type to disk.

get_dataset_importer_cls()

Returns the fiftyone.utils.data.importers.DatasetImporter class for importing datasets of this type from disk.

get_dataset_exporter_cls()#

Returns the fiftyone.utils.data.exporters.DatasetExporter class for exporting datasets of this type to disk.

Returns:

a fiftyone.utils.data.exporters.DatasetExporter class

get_dataset_importer_cls()#

Returns the fiftyone.utils.data.importers.DatasetImporter class for importing datasets of this type from disk.

Returns:

a fiftyone.utils.data.importers.DatasetImporter class

class fiftyone.types.dataset_types.LabeledImageDataset#

Bases: LabeledDataset

Base type for datasets that represent a collection of images and their associated labels.

Methods:

get_dataset_importer_cls()

Returns the fiftyone.utils.data.importers.LabeledImageDatasetImporter class for importing datasets of this type from disk.

get_dataset_exporter_cls()

Returns the fiftyone.utils.data.exporters.LabeledImageDatasetExporter class for exporting datasets of this type to disk.

get_dataset_importer_cls()#

Returns the fiftyone.utils.data.importers.LabeledImageDatasetImporter class for importing datasets of this type from disk.

Returns:

a fiftyone.utils.data.importers.LabeledImageDatasetImporter class

get_dataset_exporter_cls()#

Returns the fiftyone.utils.data.exporters.LabeledImageDatasetExporter class for exporting datasets of this type to disk.

Returns:

a fiftyone.utils.data.exporters.LabeledImageDatasetExporter class

class fiftyone.types.dataset_types.LabeledVideoDataset#

Bases: LabeledDataset

Base type for datasets that represent a collection of videos and their associated labels.

Methods:

get_dataset_importer_cls()

Returns the fiftyone.utils.data.importers.LabeledVideoDatasetImporter class for importing datasets of this type from disk.

get_dataset_exporter_cls()

Returns the fiftyone.utils.data.exporters.LabeledVideoDatasetExporter class for exporting datasets of this type to disk.

get_dataset_importer_cls()#

Returns the fiftyone.utils.data.importers.LabeledVideoDatasetImporter class for importing datasets of this type from disk.

Returns:

a fiftyone.utils.data.importers.LabeledVideoDatasetImporter class

get_dataset_exporter_cls()#

Returns the fiftyone.utils.data.exporters.LabeledVideoDatasetExporter class for exporting datasets of this type to disk.

Returns:

a fiftyone.utils.data.exporters.LabeledVideoDatasetExporter class

class fiftyone.types.dataset_types.ImageClassificationDataset#

Bases: LabeledImageDataset

Base type for datasets that represent a collection of images and a set of associated classification labels.

Methods:

get_dataset_exporter_cls()

Returns the fiftyone.utils.data.exporters.LabeledImageDatasetExporter class for exporting datasets of this type to disk.

get_dataset_importer_cls()

Returns the fiftyone.utils.data.importers.LabeledImageDatasetImporter class for importing datasets of this type from disk.

get_dataset_exporter_cls()#

Returns the fiftyone.utils.data.exporters.LabeledImageDatasetExporter class for exporting datasets of this type to disk.

Returns:

a fiftyone.utils.data.exporters.LabeledImageDatasetExporter class

get_dataset_importer_cls()#

Returns the fiftyone.utils.data.importers.LabeledImageDatasetImporter class for importing datasets of this type from disk.

Returns:

a fiftyone.utils.data.importers.LabeledImageDatasetImporter class

class fiftyone.types.dataset_types.VideoClassificationDataset#

Bases: LabeledVideoDataset

Base type for datasets that represent a collection of videos and a set of associated classification labels.

Methods:

get_dataset_exporter_cls()

Returns the fiftyone.utils.data.exporters.LabeledVideoDatasetExporter class for exporting datasets of this type to disk.

get_dataset_importer_cls()

Returns the fiftyone.utils.data.importers.LabeledVideoDatasetImporter class for importing datasets of this type from disk.

get_dataset_exporter_cls()#

Returns the fiftyone.utils.data.exporters.LabeledVideoDatasetExporter class for exporting datasets of this type to disk.

Returns:

a fiftyone.utils.data.exporters.LabeledVideoDatasetExporter class

get_dataset_importer_cls()#

Returns the fiftyone.utils.data.importers.LabeledVideoDatasetImporter class for importing datasets of this type from disk.

Returns:

a fiftyone.utils.data.importers.LabeledVideoDatasetImporter class

class fiftyone.types.dataset_types.ImageDetectionDataset#

Bases: LabeledImageDataset

Base type for datasets that represent a collection of images and a set of associated detections.

Methods:

get_dataset_exporter_cls()

Returns the fiftyone.utils.data.exporters.LabeledImageDatasetExporter class for exporting datasets of this type to disk.

get_dataset_importer_cls()

Returns the fiftyone.utils.data.importers.LabeledImageDatasetImporter class for importing datasets of this type from disk.

get_dataset_exporter_cls()#

Returns the fiftyone.utils.data.exporters.LabeledImageDatasetExporter class for exporting datasets of this type to disk.

Returns:

a fiftyone.utils.data.exporters.LabeledImageDatasetExporter class

get_dataset_importer_cls()#

Returns the fiftyone.utils.data.importers.LabeledImageDatasetImporter class for importing datasets of this type from disk.

Returns:

a fiftyone.utils.data.importers.LabeledImageDatasetImporter class

class fiftyone.types.dataset_types.VideoDetectionDataset#

Bases: LabeledVideoDataset

Base type for datasets that represent a collection of videos and a set of associated video detections.

Methods:

get_dataset_exporter_cls()

Returns the fiftyone.utils.data.exporters.LabeledVideoDatasetExporter class for exporting datasets of this type to disk.

get_dataset_importer_cls()

Returns the fiftyone.utils.data.importers.LabeledVideoDatasetImporter class for importing datasets of this type from disk.

get_dataset_exporter_cls()#

Returns the fiftyone.utils.data.exporters.LabeledVideoDatasetExporter class for exporting datasets of this type to disk.

Returns:

a fiftyone.utils.data.exporters.LabeledVideoDatasetExporter class

get_dataset_importer_cls()#

Returns the fiftyone.utils.data.importers.LabeledVideoDatasetImporter class for importing datasets of this type from disk.

Returns:

a fiftyone.utils.data.importers.LabeledVideoDatasetImporter class

class fiftyone.types.dataset_types.ImageSegmentationDataset#

Bases: LabeledImageDataset

Base type for datasets that represent a collection of images and a set of associated semantic segmentations.

Methods:

get_dataset_exporter_cls()

Returns the fiftyone.utils.data.exporters.LabeledImageDatasetExporter class for exporting datasets of this type to disk.

get_dataset_importer_cls()

Returns the fiftyone.utils.data.importers.LabeledImageDatasetImporter class for importing datasets of this type from disk.

get_dataset_exporter_cls()#

Returns the fiftyone.utils.data.exporters.LabeledImageDatasetExporter class for exporting datasets of this type to disk.

Returns:

a fiftyone.utils.data.exporters.LabeledImageDatasetExporter class

get_dataset_importer_cls()#

Returns the fiftyone.utils.data.importers.LabeledImageDatasetImporter class for importing datasets of this type from disk.

Returns:

a fiftyone.utils.data.importers.LabeledImageDatasetImporter class

class fiftyone.types.dataset_types.ImageLabelsDataset#

Bases: LabeledImageDataset

Base type for datasets that represent a collection of images and a set of associated multitask predictions.

Methods:

get_dataset_exporter_cls()

Returns the fiftyone.utils.data.exporters.LabeledImageDatasetExporter class for exporting datasets of this type to disk.

get_dataset_importer_cls()

Returns the fiftyone.utils.data.importers.LabeledImageDatasetImporter class for importing datasets of this type from disk.

get_dataset_exporter_cls()#

Returns the fiftyone.utils.data.exporters.LabeledImageDatasetExporter class for exporting datasets of this type to disk.

Returns:

a fiftyone.utils.data.exporters.LabeledImageDatasetExporter class

get_dataset_importer_cls()#

Returns the fiftyone.utils.data.importers.LabeledImageDatasetImporter class for importing datasets of this type from disk.

Returns:

a fiftyone.utils.data.importers.LabeledImageDatasetImporter class

class fiftyone.types.dataset_types.VideoLabelsDataset#

Bases: LabeledVideoDataset

Base type for datasets that represent a collection of videos and a set of associated multitask predictions.

Methods:

get_dataset_exporter_cls()

Returns the fiftyone.utils.data.exporters.LabeledVideoDatasetExporter class for exporting datasets of this type to disk.

get_dataset_importer_cls()

Returns the fiftyone.utils.data.importers.LabeledVideoDatasetImporter class for importing datasets of this type from disk.

get_dataset_exporter_cls()#

Returns the fiftyone.utils.data.exporters.LabeledVideoDatasetExporter class for exporting datasets of this type to disk.

Returns:

a fiftyone.utils.data.exporters.LabeledVideoDatasetExporter class

get_dataset_importer_cls()#

Returns the fiftyone.utils.data.importers.LabeledVideoDatasetImporter class for importing datasets of this type from disk.

Returns:

a fiftyone.utils.data.importers.LabeledVideoDatasetImporter class

class fiftyone.types.dataset_types.GroupDataset#

Bases: Dataset

Base type for datasets that contain grouped samples of any type(s).

Methods:

get_dataset_importer_cls()

Returns the fiftyone.utils.data.importers.GroupDatasetImporter class for importing datasets of this type from disk.

get_dataset_exporter_cls()

Returns the fiftyone.utils.data.exporters.GroupDatasetExporter class for exporting datasets of this type to disk.

get_dataset_importer_cls()#

Returns the fiftyone.utils.data.importers.GroupDatasetImporter class for importing datasets of this type from disk.

Returns:

a fiftyone.utils.data.importers.GroupDatasetImporter class

get_dataset_exporter_cls()#

Returns the fiftyone.utils.data.exporters.GroupDatasetExporter class for exporting datasets of this type to disk.

Returns:

a fiftyone.utils.data.exporters.GroupDatasetExporter class

class fiftyone.types.dataset_types.ImageDirectory#

Bases: UnlabeledImageDataset

A directory of images.

See this page for importing datasets of this type, and see this page for exporting datasets of this type.

Methods:

get_dataset_importer_cls()

Returns the fiftyone.utils.data.importers.UnlabeledImageDatasetImporter class for importing datasets of this type from disk.

get_dataset_exporter_cls()

Returns the fiftyone.utils.data.exporters.UnlabeledImageDatasetExporter class for exporting datasets of this type to disk.

get_dataset_importer_cls()#

Returns the fiftyone.utils.data.importers.UnlabeledImageDatasetImporter class for importing datasets of this type from disk.

Returns:

a fiftyone.utils.data.importers.UnlabeledImageDatasetImporter class

get_dataset_exporter_cls()#

Returns the fiftyone.utils.data.exporters.UnlabeledImageDatasetExporter class for exporting datasets of this type to disk.

Returns:

a fiftyone.utils.data.exporters.UnlabeledImageDatasetExporter class

class fiftyone.types.dataset_types.VideoDirectory#

Bases: UnlabeledImageDataset

A directory of videos.

See this page for importing datasets of this type, and see this page for exporting datasets of this type.

Methods:

get_dataset_importer_cls()

Returns the fiftyone.utils.data.importers.UnlabeledImageDatasetImporter class for importing datasets of this type from disk.

get_dataset_exporter_cls()

Returns the fiftyone.utils.data.exporters.UnlabeledImageDatasetExporter class for exporting datasets of this type to disk.

get_dataset_importer_cls()#

Returns the fiftyone.utils.data.importers.UnlabeledImageDatasetImporter class for importing datasets of this type from disk.

Returns:

a fiftyone.utils.data.importers.UnlabeledImageDatasetImporter class

get_dataset_exporter_cls()#

Returns the fiftyone.utils.data.exporters.UnlabeledImageDatasetExporter class for exporting datasets of this type to disk.

Returns:

a fiftyone.utils.data.exporters.UnlabeledImageDatasetExporter class

class fiftyone.types.dataset_types.MediaDirectory#

Bases: UnlabeledDataset

A directory of media files.

See this page for importing datasets of this type, and see this page for exporting datasets of this type.

Methods:

get_dataset_importer_cls()

Returns the fiftyone.utils.data.importers.DatasetImporter class for importing datasets of this type from disk.

get_dataset_exporter_cls()

Returns the fiftyone.utils.data.exporters.DatasetExporter class for exporting datasets of this type to disk.

get_dataset_importer_cls()#

Returns the fiftyone.utils.data.importers.DatasetImporter class for importing datasets of this type from disk.

Returns:

a fiftyone.utils.data.importers.DatasetImporter class

get_dataset_exporter_cls()#

Returns the fiftyone.utils.data.exporters.DatasetExporter class for exporting datasets of this type to disk.

Returns:

a fiftyone.utils.data.exporters.DatasetExporter class

class fiftyone.types.dataset_types.FiftyOneImageClassificationDataset#

Bases: ImageClassificationDataset

A labeled dataset consisting of images and their associated classification labels stored in a simple JSON format.

See this page for importing datasets of this type, and see this page for exporting datasets of this type.

Methods:

get_dataset_importer_cls()

Returns the fiftyone.utils.data.importers.LabeledImageDatasetImporter class for importing datasets of this type from disk.

get_dataset_exporter_cls()

Returns the fiftyone.utils.data.exporters.LabeledImageDatasetExporter class for exporting datasets of this type to disk.

get_dataset_importer_cls()#

Returns the fiftyone.utils.data.importers.LabeledImageDatasetImporter class for importing datasets of this type from disk.

Returns:

a fiftyone.utils.data.importers.LabeledImageDatasetImporter class

get_dataset_exporter_cls()#

Returns the fiftyone.utils.data.exporters.LabeledImageDatasetExporter class for exporting datasets of this type to disk.

Returns:

a fiftyone.utils.data.exporters.LabeledImageDatasetExporter class

class fiftyone.types.dataset_types.ImageClassificationDirectoryTree#

Bases: ImageClassificationDataset

A directory tree whose subfolders define an image classification dataset.

See this page for importing datasets of this type, and see this page for exporting datasets of this type.

Methods:

get_dataset_importer_cls()

Returns the fiftyone.utils.data.importers.LabeledImageDatasetImporter class for importing datasets of this type from disk.

get_dataset_exporter_cls()

Returns the fiftyone.utils.data.exporters.LabeledImageDatasetExporter class for exporting datasets of this type to disk.

get_dataset_importer_cls()#

Returns the fiftyone.utils.data.importers.LabeledImageDatasetImporter class for importing datasets of this type from disk.

Returns:

a fiftyone.utils.data.importers.LabeledImageDatasetImporter class

get_dataset_exporter_cls()#

Returns the fiftyone.utils.data.exporters.LabeledImageDatasetExporter class for exporting datasets of this type to disk.

Returns:

a fiftyone.utils.data.exporters.LabeledImageDatasetExporter class

class fiftyone.types.dataset_types.VideoClassificationDirectoryTree#

Bases: VideoClassificationDataset

A directory tree whose subfolders define a video classification dataset.

See this page for importing datasets of this type, and see this page for exporting datasets of this type.

Methods:

get_dataset_importer_cls()

Returns the fiftyone.utils.data.importers.LabeledVideoDatasetImporter class for importing datasets of this type from disk.

get_dataset_exporter_cls()

Returns the fiftyone.utils.data.exporters.LabeledVideoDatasetExporter class for exporting datasets of this type to disk.

get_dataset_importer_cls()#

Returns the fiftyone.utils.data.importers.LabeledVideoDatasetImporter class for importing datasets of this type from disk.

Returns:

a fiftyone.utils.data.importers.LabeledVideoDatasetImporter class

get_dataset_exporter_cls()#

Returns the fiftyone.utils.data.exporters.LabeledVideoDatasetExporter class for exporting datasets of this type to disk.

Returns:

a fiftyone.utils.data.exporters.LabeledVideoDatasetExporter class

class fiftyone.types.dataset_types.TFImageClassificationDataset#

Bases: ImageClassificationDataset

A labeled dataset consisting of images and their associated classification labels stored as TFRecords.

See this page for importing datasets of this type, and see this page for exporting datasets of this type.

Methods:

get_dataset_importer_cls()

Returns the fiftyone.utils.data.importers.LabeledImageDatasetImporter class for importing datasets of this type from disk.

get_dataset_exporter_cls()

Returns the fiftyone.utils.data.exporters.LabeledImageDatasetExporter class for exporting datasets of this type to disk.

get_dataset_importer_cls()#

Returns the fiftyone.utils.data.importers.LabeledImageDatasetImporter class for importing datasets of this type from disk.

Returns:

a fiftyone.utils.data.importers.LabeledImageDatasetImporter class

get_dataset_exporter_cls()#

Returns the fiftyone.utils.data.exporters.LabeledImageDatasetExporter class for exporting datasets of this type to disk.

Returns:

a fiftyone.utils.data.exporters.LabeledImageDatasetExporter class

class fiftyone.types.dataset_types.FiftyOneImageDetectionDataset#

Bases: ImageDetectionDataset

A labeled dataset consisting of images and their associated object detections stored in a simple JSON format.

See this page for importing datasets of this type, and see this page for exporting datasets of this type.

Methods:

get_dataset_importer_cls()

Returns the fiftyone.utils.data.importers.LabeledImageDatasetImporter class for importing datasets of this type from disk.

get_dataset_exporter_cls()

Returns the fiftyone.utils.data.exporters.LabeledImageDatasetExporter class for exporting datasets of this type to disk.

get_dataset_importer_cls()#

Returns the fiftyone.utils.data.importers.LabeledImageDatasetImporter class for importing datasets of this type from disk.

Returns:

a fiftyone.utils.data.importers.LabeledImageDatasetImporter class

get_dataset_exporter_cls()#

Returns the fiftyone.utils.data.exporters.LabeledImageDatasetExporter class for exporting datasets of this type to disk.

Returns:

a fiftyone.utils.data.exporters.LabeledImageDatasetExporter class

class fiftyone.types.dataset_types.FiftyOneTemporalDetectionDataset#

Bases: VideoDetectionDataset

A labeled dataset consisting of videos and their associated temporal detections stored in a simple JSON format.

See this page for importing datasets of this type, and see this page for exporting datasets of this type.

Methods:

get_dataset_importer_cls()

Returns the fiftyone.utils.data.importers.LabeledVideoDatasetImporter class for importing datasets of this type from disk.

get_dataset_exporter_cls()

Returns the fiftyone.utils.data.exporters.LabeledVideoDatasetExporter class for exporting datasets of this type to disk.

get_dataset_importer_cls()#

Returns the fiftyone.utils.data.importers.LabeledVideoDatasetImporter class for importing datasets of this type from disk.

Returns:

a fiftyone.utils.data.importers.LabeledVideoDatasetImporter class

get_dataset_exporter_cls()#

Returns the fiftyone.utils.data.exporters.LabeledVideoDatasetExporter class for exporting datasets of this type to disk.

Returns:

a fiftyone.utils.data.exporters.LabeledVideoDatasetExporter class

class fiftyone.types.dataset_types.COCODetectionDataset#

Bases: ImageDetectionDataset

A labeled dataset consisting of images and their associated object detections saved in COCO Object Detection Format.

See this page for importing datasets of this type, and see this page for exporting datasets of this type.

Methods:

get_dataset_importer_cls()

Returns the fiftyone.utils.data.importers.LabeledImageDatasetImporter class for importing datasets of this type from disk.

get_dataset_exporter_cls()

Returns the fiftyone.utils.data.exporters.LabeledImageDatasetExporter class for exporting datasets of this type to disk.

get_dataset_importer_cls()#

Returns the fiftyone.utils.data.importers.LabeledImageDatasetImporter class for importing datasets of this type from disk.

Returns:

a fiftyone.utils.data.importers.LabeledImageDatasetImporter class

get_dataset_exporter_cls()#

Returns the fiftyone.utils.data.exporters.LabeledImageDatasetExporter class for exporting datasets of this type to disk.

Returns:

a fiftyone.utils.data.exporters.LabeledImageDatasetExporter class

class fiftyone.types.dataset_types.VOCDetectionDataset#

Bases: ImageDetectionDataset

A labeled dataset consisting of images and their associated object detections saved in VOC format.

See this page for importing datasets of this type, and see this page for exporting datasets of this type.

Methods:

get_dataset_importer_cls()

Returns the fiftyone.utils.data.importers.LabeledImageDatasetImporter class for importing datasets of this type from disk.

get_dataset_exporter_cls()

Returns the fiftyone.utils.data.exporters.LabeledImageDatasetExporter class for exporting datasets of this type to disk.

get_dataset_importer_cls()#

Returns the fiftyone.utils.data.importers.LabeledImageDatasetImporter class for importing datasets of this type from disk.

Returns:

a fiftyone.utils.data.importers.LabeledImageDatasetImporter class

get_dataset_exporter_cls()#

Returns the fiftyone.utils.data.exporters.LabeledImageDatasetExporter class for exporting datasets of this type to disk.

Returns:

a fiftyone.utils.data.exporters.LabeledImageDatasetExporter class

class fiftyone.types.dataset_types.KITTIDetectionDataset#

Bases: ImageDetectionDataset

A labeled dataset consisting of images and their associated object detections saved in KITTI format.

See this page for importing datasets of this type, and see this page for exporting datasets of this type.

Methods:

get_dataset_importer_cls()

Returns the fiftyone.utils.data.importers.LabeledImageDatasetImporter class for importing datasets of this type from disk.

get_dataset_exporter_cls()

Returns the fiftyone.utils.data.exporters.LabeledImageDatasetExporter class for exporting datasets of this type to disk.

get_dataset_importer_cls()#

Returns the fiftyone.utils.data.importers.LabeledImageDatasetImporter class for importing datasets of this type from disk.

Returns:

a fiftyone.utils.data.importers.LabeledImageDatasetImporter class

get_dataset_exporter_cls()#

Returns the fiftyone.utils.data.exporters.LabeledImageDatasetExporter class for exporting datasets of this type to disk.

Returns:

a fiftyone.utils.data.exporters.LabeledImageDatasetExporter class

class fiftyone.types.dataset_types.OpenImagesV6Dataset#

Bases: ImageDetectionDataset

A labeled dataset consisting of images and their associated annotations saved in Open Images format.

Methods:

get_dataset_importer_cls()

Returns the fiftyone.utils.data.importers.LabeledImageDatasetImporter class for importing datasets of this type from disk.

get_dataset_exporter_cls()

Returns the fiftyone.utils.data.exporters.LabeledImageDatasetExporter class for exporting datasets of this type to disk.

get_dataset_importer_cls()#

Returns the fiftyone.utils.data.importers.LabeledImageDatasetImporter class for importing datasets of this type from disk.

Returns:

a fiftyone.utils.data.importers.LabeledImageDatasetImporter class

get_dataset_exporter_cls()#

Returns the fiftyone.utils.data.exporters.LabeledImageDatasetExporter class for exporting datasets of this type to disk.

Returns:

a fiftyone.utils.data.exporters.LabeledImageDatasetExporter class

class fiftyone.types.dataset_types.OpenImagesV7Dataset#

Bases: ImageDetectionDataset

A labeled dataset consisting of images and their associated annotations saved in Open Images format.

Methods:

get_dataset_importer_cls()

Returns the fiftyone.utils.data.importers.LabeledImageDatasetImporter class for importing datasets of this type from disk.

get_dataset_exporter_cls()

Returns the fiftyone.utils.data.exporters.LabeledImageDatasetExporter class for exporting datasets of this type to disk.

get_dataset_importer_cls()#

Returns the fiftyone.utils.data.importers.LabeledImageDatasetImporter class for importing datasets of this type from disk.

Returns:

a fiftyone.utils.data.importers.LabeledImageDatasetImporter class

get_dataset_exporter_cls()#

Returns the fiftyone.utils.data.exporters.LabeledImageDatasetExporter class for exporting datasets of this type to disk.

Returns:

a fiftyone.utils.data.exporters.LabeledImageDatasetExporter class

class fiftyone.types.dataset_types.FIWDataset#

Bases: Dataset

A labeled dataset consisting of images and their associated annotations saved in Families in the Wild format.

Methods:

get_dataset_importer_cls()

Returns the fiftyone.utils.data.importers.DatasetImporter class for importing datasets of this type from disk.

get_dataset_exporter_cls()

Returns the fiftyone.utils.data.exporters.DatasetExporter class for exporting datasets of this type to disk.

get_dataset_importer_cls()#

Returns the fiftyone.utils.data.importers.DatasetImporter class for importing datasets of this type from disk.

Returns:

a fiftyone.utils.data.importers.DatasetImporter class

get_dataset_exporter_cls()#

Returns the fiftyone.utils.data.exporters.DatasetExporter class for exporting datasets of this type to disk.

Returns:

a fiftyone.utils.data.exporters.DatasetExporter class

class fiftyone.types.dataset_types.OpenLABELImageDataset#

Bases: ImageLabelsDataset

Methods:

get_dataset_importer_cls()

Returns the fiftyone.utils.data.importers.LabeledImageDatasetImporter class for importing datasets of this type from disk.

get_dataset_exporter_cls()

Returns the fiftyone.utils.data.exporters.LabeledImageDatasetExporter class for exporting datasets of this type to disk.

get_dataset_importer_cls()#

Returns the fiftyone.utils.data.importers.LabeledImageDatasetImporter class for importing datasets of this type from disk.

Returns:

a fiftyone.utils.data.importers.LabeledImageDatasetImporter class

get_dataset_exporter_cls()#

Returns the fiftyone.utils.data.exporters.LabeledImageDatasetExporter class for exporting datasets of this type to disk.

Returns:

a fiftyone.utils.data.exporters.LabeledImageDatasetExporter class

class fiftyone.types.dataset_types.OpenLABELVideoDataset#

Bases: VideoLabelsDataset

Methods:

get_dataset_importer_cls()

Returns the fiftyone.utils.data.importers.LabeledVideoDatasetImporter class for importing datasets of this type from disk.

get_dataset_exporter_cls()

Returns the fiftyone.utils.data.exporters.LabeledVideoDatasetExporter class for exporting datasets of this type to disk.

get_dataset_importer_cls()#

Returns the fiftyone.utils.data.importers.LabeledVideoDatasetImporter class for importing datasets of this type from disk.

Returns:

a fiftyone.utils.data.importers.LabeledVideoDatasetImporter class

get_dataset_exporter_cls()#

Returns the fiftyone.utils.data.exporters.LabeledVideoDatasetExporter class for exporting datasets of this type to disk.

Returns:

a fiftyone.utils.data.exporters.LabeledVideoDatasetExporter class

class fiftyone.types.dataset_types.YOLOv4Dataset#

Bases: ImageDetectionDataset

A labeled dataset consisting of images and their associated object detections saved in YOLOv4 format.

See this page for importing datasets of this type, and see this page for exporting datasets of this type.

Methods:

get_dataset_importer_cls()

Returns the fiftyone.utils.data.importers.LabeledImageDatasetImporter class for importing datasets of this type from disk.

get_dataset_exporter_cls()

Returns the fiftyone.utils.data.exporters.LabeledImageDatasetExporter class for exporting datasets of this type to disk.

get_dataset_importer_cls()#

Returns the fiftyone.utils.data.importers.LabeledImageDatasetImporter class for importing datasets of this type from disk.

Returns:

a fiftyone.utils.data.importers.LabeledImageDatasetImporter class

get_dataset_exporter_cls()#

Returns the fiftyone.utils.data.exporters.LabeledImageDatasetExporter class for exporting datasets of this type to disk.

Returns:

a fiftyone.utils.data.exporters.LabeledImageDatasetExporter class

class fiftyone.types.dataset_types.YOLOv5Dataset#

Bases: ImageDetectionDataset

A labeled dataset consisting of images and their associated object detections saved in YOLOv5 format.

See this page for importing datasets of this type, and see this page for exporting datasets of this type.

Methods:

get_dataset_importer_cls()

Returns the fiftyone.utils.data.importers.LabeledImageDatasetImporter class for importing datasets of this type from disk.

get_dataset_exporter_cls()

Returns the fiftyone.utils.data.exporters.LabeledImageDatasetExporter class for exporting datasets of this type to disk.

get_dataset_importer_cls()#

Returns the fiftyone.utils.data.importers.LabeledImageDatasetImporter class for importing datasets of this type from disk.

Returns:

a fiftyone.utils.data.importers.LabeledImageDatasetImporter class

get_dataset_exporter_cls()#

Returns the fiftyone.utils.data.exporters.LabeledImageDatasetExporter class for exporting datasets of this type to disk.

Returns:

a fiftyone.utils.data.exporters.LabeledImageDatasetExporter class

class fiftyone.types.dataset_types.TFObjectDetectionDataset#

Bases: ImageDetectionDataset

A labeled dataset consisting of images and their associated object detections stored as TFRecords in TF Object Detection API format.

See this page for importing datasets of this type, and see this page for exporting datasets of this type.

Methods:

get_dataset_importer_cls()

Returns the fiftyone.utils.data.importers.LabeledImageDatasetImporter class for importing datasets of this type from disk.

get_dataset_exporter_cls()

Returns the fiftyone.utils.data.exporters.LabeledImageDatasetExporter class for exporting datasets of this type to disk.

get_dataset_importer_cls()#

Returns the fiftyone.utils.data.importers.LabeledImageDatasetImporter class for importing datasets of this type from disk.

Returns:

a fiftyone.utils.data.importers.LabeledImageDatasetImporter class

get_dataset_exporter_cls()#

Returns the fiftyone.utils.data.exporters.LabeledImageDatasetExporter class for exporting datasets of this type to disk.

Returns:

a fiftyone.utils.data.exporters.LabeledImageDatasetExporter class

class fiftyone.types.dataset_types.ImageSegmentationDirectory#

Bases: ImageSegmentationDataset

An labeled dataset consisting of images and their associated semantic segmentations stored as images on disk.

See this page for importing datasets of this type, and see this page for exporting datasets of this type.

Methods:

get_dataset_importer_cls()

Returns the fiftyone.utils.data.importers.LabeledImageDatasetImporter class for importing datasets of this type from disk.

get_dataset_exporter_cls()

Returns the fiftyone.utils.data.exporters.LabeledImageDatasetExporter class for exporting datasets of this type to disk.

get_dataset_importer_cls()#

Returns the fiftyone.utils.data.importers.LabeledImageDatasetImporter class for importing datasets of this type from disk.

Returns:

a fiftyone.utils.data.importers.LabeledImageDatasetImporter class

get_dataset_exporter_cls()#

Returns the fiftyone.utils.data.exporters.LabeledImageDatasetExporter class for exporting datasets of this type to disk.

Returns:

a fiftyone.utils.data.exporters.LabeledImageDatasetExporter class

class fiftyone.types.dataset_types.CVATImageDataset#

Bases: ImageLabelsDataset

A labeled dataset consisting of images and their associated labels stored in CVAT image format.

See this page for importing datasets of this type, and see this page for exporting datasets of this type.

Methods:

get_dataset_importer_cls()

Returns the fiftyone.utils.data.importers.LabeledImageDatasetImporter class for importing datasets of this type from disk.

get_dataset_exporter_cls()

Returns the fiftyone.utils.data.exporters.LabeledImageDatasetExporter class for exporting datasets of this type to disk.

get_dataset_importer_cls()#

Returns the fiftyone.utils.data.importers.LabeledImageDatasetImporter class for importing datasets of this type from disk.

Returns:

a fiftyone.utils.data.importers.LabeledImageDatasetImporter class

get_dataset_exporter_cls()#

Returns the fiftyone.utils.data.exporters.LabeledImageDatasetExporter class for exporting datasets of this type to disk.

Returns:

a fiftyone.utils.data.exporters.LabeledImageDatasetExporter class

class fiftyone.types.dataset_types.CVATVideoDataset#

Bases: VideoLabelsDataset

A labeled dataset consisting of images and their associated object detections stored in CVAT video format.

See this page for importing datasets of this type, and see this page for exporting datasets of this type.

Methods:

get_dataset_importer_cls()

Returns the fiftyone.utils.data.importers.LabeledVideoDatasetImporter class for importing datasets of this type from disk.

get_dataset_exporter_cls()

Returns the fiftyone.utils.data.exporters.LabeledVideoDatasetExporter class for exporting datasets of this type to disk.

get_dataset_importer_cls()#

Returns the fiftyone.utils.data.importers.LabeledVideoDatasetImporter class for importing datasets of this type from disk.

Returns:

a fiftyone.utils.data.importers.LabeledVideoDatasetImporter class

get_dataset_exporter_cls()#

Returns the fiftyone.utils.data.exporters.LabeledVideoDatasetExporter class for exporting datasets of this type to disk.

Returns:

a fiftyone.utils.data.exporters.LabeledVideoDatasetExporter class

class fiftyone.types.dataset_types.FiftyOneImageLabelsDataset#

Bases: ImageLabelsDataset

A labeled dataset consisting of images and their associated multitask predictions stored in ETA ImageLabels format.

See this page for importing datasets of this type, and see this page for exporting datasets of this type.

Methods:

get_dataset_importer_cls()

Returns the fiftyone.utils.data.importers.LabeledImageDatasetImporter class for importing datasets of this type from disk.

get_dataset_exporter_cls()

Returns the fiftyone.utils.data.exporters.LabeledImageDatasetExporter class for exporting datasets of this type to disk.

get_dataset_importer_cls()#

Returns the fiftyone.utils.data.importers.LabeledImageDatasetImporter class for importing datasets of this type from disk.

Returns:

a fiftyone.utils.data.importers.LabeledImageDatasetImporter class

get_dataset_exporter_cls()#

Returns the fiftyone.utils.data.exporters.LabeledImageDatasetExporter class for exporting datasets of this type to disk.

Returns:

a fiftyone.utils.data.exporters.LabeledImageDatasetExporter class

class fiftyone.types.dataset_types.FiftyOneVideoLabelsDataset#

Bases: VideoLabelsDataset

A labeled dataset consisting of videos and their associated labels stored in ETA VideoLabels format.

See this page for importing datasets of this type, and see this page for exporting datasets of this type.

Methods:

get_dataset_importer_cls()

Returns the fiftyone.utils.data.importers.LabeledVideoDatasetImporter class for importing datasets of this type from disk.

get_dataset_exporter_cls()

Returns the fiftyone.utils.data.exporters.LabeledVideoDatasetExporter class for exporting datasets of this type to disk.

get_dataset_importer_cls()#

Returns the fiftyone.utils.data.importers.LabeledVideoDatasetImporter class for importing datasets of this type from disk.

Returns:

a fiftyone.utils.data.importers.LabeledVideoDatasetImporter class

get_dataset_exporter_cls()#

Returns the fiftyone.utils.data.exporters.LabeledVideoDatasetExporter class for exporting datasets of this type to disk.

Returns:

a fiftyone.utils.data.exporters.LabeledVideoDatasetExporter class

class fiftyone.types.dataset_types.BDDDataset#

Bases: ImageLabelsDataset

A labeled dataset consisting of images and their associated multitask predictions saved in Berkeley DeepDrive (BDD) format.

See this page for importing datasets of this type, and see this page for exporting datasets of this type.

Methods:

get_dataset_importer_cls()

Returns the fiftyone.utils.data.importers.LabeledImageDatasetImporter class for importing datasets of this type from disk.

get_dataset_exporter_cls()

Returns the fiftyone.utils.data.exporters.LabeledImageDatasetExporter class for exporting datasets of this type to disk.

get_dataset_importer_cls()#

Returns the fiftyone.utils.data.importers.LabeledImageDatasetImporter class for importing datasets of this type from disk.

Returns:

a fiftyone.utils.data.importers.LabeledImageDatasetImporter class

get_dataset_exporter_cls()#

Returns the fiftyone.utils.data.exporters.LabeledImageDatasetExporter class for exporting datasets of this type to disk.

Returns:

a fiftyone.utils.data.exporters.LabeledImageDatasetExporter class

class fiftyone.types.dataset_types.DICOMDataset#

Bases: ImageLabelsDataset

An image dataset whose image data and optional properties are stored in DICOM format.

See this page for importing datasets of this type.

Methods:

get_dataset_importer_cls()

Returns the fiftyone.utils.data.importers.LabeledImageDatasetImporter class for importing datasets of this type from disk.

get_dataset_exporter_cls()

Returns the fiftyone.utils.data.exporters.LabeledImageDatasetExporter class for exporting datasets of this type to disk.

get_dataset_importer_cls()#

Returns the fiftyone.utils.data.importers.LabeledImageDatasetImporter class for importing datasets of this type from disk.

Returns:

a fiftyone.utils.data.importers.LabeledImageDatasetImporter class

get_dataset_exporter_cls()#

Returns the fiftyone.utils.data.exporters.LabeledImageDatasetExporter class for exporting datasets of this type to disk.

Returns:

a fiftyone.utils.data.exporters.LabeledImageDatasetExporter class

class fiftyone.types.dataset_types.ActivityNetDataset#

Bases: FiftyOneTemporalDetectionDataset

A video dataset composed of temporal activity detections from the ActivityNet dataset.

Methods:

get_dataset_importer_cls()

Returns the fiftyone.utils.data.importers.LabeledVideoDatasetImporter class for importing datasets of this type from disk.

get_dataset_exporter_cls()

Returns the fiftyone.utils.data.exporters.LabeledVideoDatasetExporter class for exporting datasets of this type to disk.

get_dataset_importer_cls()#

Returns the fiftyone.utils.data.importers.LabeledVideoDatasetImporter class for importing datasets of this type from disk.

Returns:

a fiftyone.utils.data.importers.LabeledVideoDatasetImporter class

get_dataset_exporter_cls()#

Returns the fiftyone.utils.data.exporters.LabeledVideoDatasetExporter class for exporting datasets of this type to disk.

Returns:

a fiftyone.utils.data.exporters.LabeledVideoDatasetExporter class

class fiftyone.types.dataset_types.GeoJSONDataset#

Bases: LabeledDataset

An image or video dataset whose geolocation data and optional properties are stored in GeoJSON format.

See this page for importing datasets of this type, and see this page for exporting datasets of this type.

Methods:

get_dataset_importer_cls()

Returns the fiftyone.utils.data.importers.DatasetImporter class for importing datasets of this type from disk.

get_dataset_exporter_cls()

Returns the fiftyone.utils.data.exporters.DatasetExporter class for exporting datasets of this type to disk.

get_dataset_importer_cls()#

Returns the fiftyone.utils.data.importers.DatasetImporter class for importing datasets of this type from disk.

Returns:

a fiftyone.utils.data.importers.DatasetImporter class

get_dataset_exporter_cls()#

Returns the fiftyone.utils.data.exporters.DatasetExporter class for exporting datasets of this type to disk.

Returns:

a fiftyone.utils.data.exporters.DatasetExporter class

class fiftyone.types.dataset_types.GeoTIFFDataset#

Bases: ImageLabelsDataset

An image dataset whose image and geolocation data are stored in GeoTIFF format.

See this page for importing datasets of this type.

Methods:

get_dataset_importer_cls()

Returns the fiftyone.utils.data.importers.LabeledImageDatasetImporter class for importing datasets of this type from disk.

get_dataset_exporter_cls()

Returns the fiftyone.utils.data.exporters.LabeledImageDatasetExporter class for exporting datasets of this type to disk.

get_dataset_importer_cls()#

Returns the fiftyone.utils.data.importers.LabeledImageDatasetImporter class for importing datasets of this type from disk.

Returns:

a fiftyone.utils.data.importers.LabeledImageDatasetImporter class

get_dataset_exporter_cls()#

Returns the fiftyone.utils.data.exporters.LabeledImageDatasetExporter class for exporting datasets of this type to disk.

Returns:

a fiftyone.utils.data.exporters.LabeledImageDatasetExporter class

class fiftyone.types.dataset_types.CSVDataset#

Bases: Dataset

A flexible CSV format that represents slice(s) of field values of a dataset as columns of a CSV file.

See this page for importing datasets of this type, and see this page for exporting datasets of this type.

Methods:

get_dataset_importer_cls()

Returns the fiftyone.utils.data.importers.DatasetImporter class for importing datasets of this type from disk.

get_dataset_exporter_cls()

Returns the fiftyone.utils.data.exporters.DatasetExporter class for exporting datasets of this type to disk.

get_dataset_importer_cls()#

Returns the fiftyone.utils.data.importers.DatasetImporter class for importing datasets of this type from disk.

Returns:

a fiftyone.utils.data.importers.DatasetImporter class

get_dataset_exporter_cls()#

Returns the fiftyone.utils.data.exporters.DatasetExporter class for exporting datasets of this type to disk.

Returns:

a fiftyone.utils.data.exporters.DatasetExporter class

class fiftyone.types.dataset_types.FiftyOneDataset#

Bases: Dataset

A disk representation of an entire fiftyone.core.dataset.Dataset stored on disk in a serialized JSON format along with its source media.

See this page for importing datasets of this type, and see this page for exporting datasets of this type.

Methods:

get_dataset_importer_cls()

Returns the fiftyone.utils.data.importers.DatasetImporter class for importing datasets of this type from disk.

get_dataset_exporter_cls()

Returns the fiftyone.utils.data.exporters.DatasetExporter class for exporting datasets of this type to disk.

get_dataset_importer_cls()#

Returns the fiftyone.utils.data.importers.DatasetImporter class for importing datasets of this type from disk.

Returns:

a fiftyone.utils.data.importers.DatasetImporter class

get_dataset_exporter_cls()#

Returns the fiftyone.utils.data.exporters.DatasetExporter class for exporting datasets of this type to disk.

Returns:

a fiftyone.utils.data.exporters.DatasetExporter class

class fiftyone.types.dataset_types.LegacyFiftyOneDataset#

Bases: Dataset

Legacy disk representation of an entire fiftyone.core.dataset.Dataset stored on disk in a serialized JSON format along with its source media.

Datasets of this type are read/written in the following format:

<dataset_dir>/
    metadata.json
    samples.json
    data/
        <filename1>.<ext>
        <filename2>.<ext>
        ...
    annotations/
        <anno_key1>.json
        <anno_key2>.json
        ...
    brain/
        <brain_key1>.json
        <brain_key2>.json
        ...
    evaluations/
        <eval_key1>.json
        <eval_key2>.json
        ...

where metadata.json is a JSON file containing metadata associated with the dataset, samples.json is a JSON file containing a serialized representation of the samples in the dataset, annotations/ contains any serialized fiftyone.core.annotations.AnnotationResults, brain/ contains any serialized fiftyone.core.brain.BrainResults, and evaluations/ contains any serialized fiftyone.core.evaluations.EvaluationResults.

Video datasets have an additional frames/ directory that contains a serialized representation of the frame labels for each video in the dataset.

Note

See fiftyone.utils.data.importers.LegacyFiftyOneDatasetImporter for parameters that can be passed to methods like Dataset.from_dir() to customize the import of datasets of this type.

Note

See fiftyone.utils.data.exporters.LegacyFiftyOneDatasetExporter for parameters that can be passed to methods like SampleCollection.export() to customize the export of datasets of this type.

Methods:

get_dataset_importer_cls()

Returns the fiftyone.utils.data.importers.DatasetImporter class for importing datasets of this type from disk.

get_dataset_exporter_cls()

Returns the fiftyone.utils.data.exporters.DatasetExporter class for exporting datasets of this type to disk.

get_dataset_importer_cls()#

Returns the fiftyone.utils.data.importers.DatasetImporter class for importing datasets of this type from disk.

Returns:

a fiftyone.utils.data.importers.DatasetImporter class

get_dataset_exporter_cls()#

Returns the fiftyone.utils.data.exporters.DatasetExporter class for exporting datasets of this type to disk.

Returns:

a fiftyone.utils.data.exporters.DatasetExporter class

class fiftyone.types.dataset_types.PlacesDataset#

Bases: ImageClassificationDataset

A labeled dataset consisting of images and their associated labels from the Places dataset <http://places2.csail.mit.edu/index.html>.

Methods:

get_dataset_importer_cls()

Returns the fiftyone.utils.data.importers.LabeledImageDatasetImporter class for importing datasets of this type from disk.

get_dataset_exporter_cls()

Returns the fiftyone.utils.data.exporters.LabeledImageDatasetExporter class for exporting datasets of this type to disk.

get_dataset_importer_cls()#

Returns the fiftyone.utils.data.importers.LabeledImageDatasetImporter class for importing datasets of this type from disk.

Returns:

a fiftyone.utils.data.importers.LabeledImageDatasetImporter class

get_dataset_exporter_cls()#

Returns the fiftyone.utils.data.exporters.LabeledImageDatasetExporter class for exporting datasets of this type to disk.

Returns:

a fiftyone.utils.data.exporters.LabeledImageDatasetExporter class