fiftyone.types.dataset_types#
FiftyOne dataset types.
Classes:
|
Base type for datasets. |
Base type for datasets that represent an unlabeled collection of data samples. |
|
Base type for datasets that represent an unlabeled collection of images. |
|
Base type for datasets that represent an unlabeled collection of videos. |
|
Base type for datasets that represent a collection of data samples and their associated labels. |
|
Base type for datasets that represent a collection of images and their associated labels. |
|
Base type for datasets that represent a collection of videos and their associated labels. |
|
Base type for datasets that represent a collection of images and a set of associated classification labels. |
|
Base type for datasets that represent a collection of videos and a set of associated classification labels. |
|
Base type for datasets that represent a collection of images and a set of associated detections. |
|
Base type for datasets that represent a collection of videos and a set of associated video detections. |
|
Base type for datasets that represent a collection of images and a set of associated semantic segmentations. |
|
Base type for datasets that represent a collection of images and a set of associated multitask predictions. |
|
Base type for datasets that represent a collection of videos and a set of associated multitask predictions. |
|
Base type for datasets that contain grouped samples of any type(s). |
|
A directory of images. |
|
A directory of videos. |
|
A directory of media files. |
|
A labeled dataset consisting of images and their associated classification labels stored in a simple JSON format. |
|
A directory tree whose subfolders define an image classification dataset. |
|
A directory tree whose subfolders define a video classification dataset. |
|
A labeled dataset consisting of images and their associated classification labels stored as TFRecords. |
|
A labeled dataset consisting of images and their associated object detections stored in a simple JSON format. |
|
A labeled dataset consisting of videos and their associated temporal detections stored in a simple JSON format. |
|
A labeled dataset consisting of images and their associated object detections saved in COCO Object Detection Format. |
|
A labeled dataset consisting of images and their associated object detections saved in VOC format. |
|
A labeled dataset consisting of images and their associated object detections saved in KITTI format. |
|
A labeled dataset consisting of images and their associated annotations saved in Open Images format. |
|
A labeled dataset consisting of images and their associated annotations saved in Families in the Wild format. |
|
A labeled dataset consisting of images and their associated object detections saved in YOLOv4 format. |
|
A labeled dataset consisting of images and their associated object detections saved in YOLOv5 format. |
|
A labeled dataset consisting of images and their associated object detections stored as TFRecords in TF Object Detection API format. |
|
An labeled dataset consisting of images and their associated semantic segmentations stored as images on disk. |
|
A labeled dataset consisting of images and their associated labels stored in CVAT image format. |
|
A labeled dataset consisting of images and their associated object detections stored in CVAT video format. |
|
A labeled dataset consisting of images and their associated multitask predictions stored in ETA ImageLabels format. |
|
A labeled dataset consisting of videos and their associated labels stored in ETA VideoLabels format. |
|
A labeled dataset consisting of images and their associated multitask predictions saved in Berkeley DeepDrive (BDD) format. |
|
An image dataset whose image data and optional properties are stored in DICOM format. |
|
A video dataset composed of temporal activity detections from the ActivityNet dataset. |
|
An image or video dataset whose geolocation data and optional properties are stored in GeoJSON format. |
|
An image dataset whose image and geolocation data are stored in GeoTIFF format. |
|
A flexible CSV format that represents slice(s) of field values of a dataset as columns of a CSV file. |
|
A disk representation of an entire |
|
Legacy disk representation of an entire |
|
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:
objectBase type for datasets.
Methods:
Returns the
fiftyone.utils.data.importers.DatasetImporterclass for importing datasets of this type from disk.Returns the
fiftyone.utils.data.exporters.DatasetExporterclass for exporting datasets of this type to disk.- get_dataset_importer_cls()#
Returns the
fiftyone.utils.data.importers.DatasetImporterclass for importing datasets of this type from disk.- Returns:
- get_dataset_exporter_cls()#
Returns the
fiftyone.utils.data.exporters.DatasetExporterclass for exporting datasets of this type to disk.- Returns:
- class fiftyone.types.dataset_types.UnlabeledDataset#
Bases:
DatasetBase type for datasets that represent an unlabeled collection of data samples.
Methods:
Returns the
fiftyone.utils.data.exporters.DatasetExporterclass for exporting datasets of this type to disk.Returns the
fiftyone.utils.data.importers.DatasetImporterclass for importing datasets of this type from disk.- get_dataset_exporter_cls()#
Returns the
fiftyone.utils.data.exporters.DatasetExporterclass for exporting datasets of this type to disk.- Returns:
- get_dataset_importer_cls()#
Returns the
fiftyone.utils.data.importers.DatasetImporterclass for importing datasets of this type from disk.- Returns:
- class fiftyone.types.dataset_types.UnlabeledImageDataset#
Bases:
UnlabeledDatasetBase type for datasets that represent an unlabeled collection of images.
Methods:
Returns the
fiftyone.utils.data.importers.UnlabeledImageDatasetImporterclass for importing datasets of this type from disk.Returns the
fiftyone.utils.data.exporters.UnlabeledImageDatasetExporterclass for exporting datasets of this type to disk.- get_dataset_importer_cls()#
Returns the
fiftyone.utils.data.importers.UnlabeledImageDatasetImporterclass for importing datasets of this type from disk.- Returns:
a
fiftyone.utils.data.importers.UnlabeledImageDatasetImporterclass
- get_dataset_exporter_cls()#
Returns the
fiftyone.utils.data.exporters.UnlabeledImageDatasetExporterclass for exporting datasets of this type to disk.- Returns:
a
fiftyone.utils.data.exporters.UnlabeledImageDatasetExporterclass
- class fiftyone.types.dataset_types.UnlabeledVideoDataset#
Bases:
UnlabeledDatasetBase type for datasets that represent an unlabeled collection of videos.
Methods:
Returns the
fiftyone.utils.data.importers.UnlabeledVideoDatasetImporterclass for importing datasets of this type from disk.Returns the
fiftyone.utils.data.exporters.UnlabeledVideoDatasetExporterclass for exporting datasets of this type to disk.- get_dataset_importer_cls()#
Returns the
fiftyone.utils.data.importers.UnlabeledVideoDatasetImporterclass for importing datasets of this type from disk.- Returns:
a
fiftyone.utils.data.importers.UnlabeledVideoDatasetImporterclass
- get_dataset_exporter_cls()#
Returns the
fiftyone.utils.data.exporters.UnlabeledVideoDatasetExporterclass for exporting datasets of this type to disk.- Returns:
a
fiftyone.utils.data.exporters.UnlabeledVideoDatasetExporterclass
- class fiftyone.types.dataset_types.LabeledDataset#
Bases:
DatasetBase type for datasets that represent a collection of data samples and their associated labels.
Methods:
Returns the
fiftyone.utils.data.exporters.DatasetExporterclass for exporting datasets of this type to disk.Returns the
fiftyone.utils.data.importers.DatasetImporterclass for importing datasets of this type from disk.- get_dataset_exporter_cls()#
Returns the
fiftyone.utils.data.exporters.DatasetExporterclass for exporting datasets of this type to disk.- Returns:
- get_dataset_importer_cls()#
Returns the
fiftyone.utils.data.importers.DatasetImporterclass for importing datasets of this type from disk.- Returns:
- class fiftyone.types.dataset_types.LabeledImageDataset#
Bases:
LabeledDatasetBase type for datasets that represent a collection of images and their associated labels.
Methods:
Returns the
fiftyone.utils.data.importers.LabeledImageDatasetImporterclass for importing datasets of this type from disk.Returns the
fiftyone.utils.data.exporters.LabeledImageDatasetExporterclass for exporting datasets of this type to disk.- get_dataset_importer_cls()#
Returns the
fiftyone.utils.data.importers.LabeledImageDatasetImporterclass for importing datasets of this type from disk.- Returns:
a
fiftyone.utils.data.importers.LabeledImageDatasetImporterclass
- get_dataset_exporter_cls()#
Returns the
fiftyone.utils.data.exporters.LabeledImageDatasetExporterclass for exporting datasets of this type to disk.- Returns:
a
fiftyone.utils.data.exporters.LabeledImageDatasetExporterclass
- class fiftyone.types.dataset_types.LabeledVideoDataset#
Bases:
LabeledDatasetBase type for datasets that represent a collection of videos and their associated labels.
Methods:
Returns the
fiftyone.utils.data.importers.LabeledVideoDatasetImporterclass for importing datasets of this type from disk.Returns the
fiftyone.utils.data.exporters.LabeledVideoDatasetExporterclass for exporting datasets of this type to disk.- get_dataset_importer_cls()#
Returns the
fiftyone.utils.data.importers.LabeledVideoDatasetImporterclass for importing datasets of this type from disk.- Returns:
a
fiftyone.utils.data.importers.LabeledVideoDatasetImporterclass
- get_dataset_exporter_cls()#
Returns the
fiftyone.utils.data.exporters.LabeledVideoDatasetExporterclass for exporting datasets of this type to disk.- Returns:
a
fiftyone.utils.data.exporters.LabeledVideoDatasetExporterclass
- class fiftyone.types.dataset_types.ImageClassificationDataset#
Bases:
LabeledImageDatasetBase type for datasets that represent a collection of images and a set of associated classification labels.
Methods:
Returns the
fiftyone.utils.data.exporters.LabeledImageDatasetExporterclass for exporting datasets of this type to disk.Returns the
fiftyone.utils.data.importers.LabeledImageDatasetImporterclass for importing datasets of this type from disk.- get_dataset_exporter_cls()#
Returns the
fiftyone.utils.data.exporters.LabeledImageDatasetExporterclass for exporting datasets of this type to disk.- Returns:
a
fiftyone.utils.data.exporters.LabeledImageDatasetExporterclass
- get_dataset_importer_cls()#
Returns the
fiftyone.utils.data.importers.LabeledImageDatasetImporterclass for importing datasets of this type from disk.- Returns:
a
fiftyone.utils.data.importers.LabeledImageDatasetImporterclass
- class fiftyone.types.dataset_types.VideoClassificationDataset#
Bases:
LabeledVideoDatasetBase type for datasets that represent a collection of videos and a set of associated classification labels.
Methods:
Returns the
fiftyone.utils.data.exporters.LabeledVideoDatasetExporterclass for exporting datasets of this type to disk.Returns the
fiftyone.utils.data.importers.LabeledVideoDatasetImporterclass for importing datasets of this type from disk.- get_dataset_exporter_cls()#
Returns the
fiftyone.utils.data.exporters.LabeledVideoDatasetExporterclass for exporting datasets of this type to disk.- Returns:
a
fiftyone.utils.data.exporters.LabeledVideoDatasetExporterclass
- get_dataset_importer_cls()#
Returns the
fiftyone.utils.data.importers.LabeledVideoDatasetImporterclass for importing datasets of this type from disk.- Returns:
a
fiftyone.utils.data.importers.LabeledVideoDatasetImporterclass
- class fiftyone.types.dataset_types.ImageDetectionDataset#
Bases:
LabeledImageDatasetBase type for datasets that represent a collection of images and a set of associated detections.
Methods:
Returns the
fiftyone.utils.data.exporters.LabeledImageDatasetExporterclass for exporting datasets of this type to disk.Returns the
fiftyone.utils.data.importers.LabeledImageDatasetImporterclass for importing datasets of this type from disk.- get_dataset_exporter_cls()#
Returns the
fiftyone.utils.data.exporters.LabeledImageDatasetExporterclass for exporting datasets of this type to disk.- Returns:
a
fiftyone.utils.data.exporters.LabeledImageDatasetExporterclass
- get_dataset_importer_cls()#
Returns the
fiftyone.utils.data.importers.LabeledImageDatasetImporterclass for importing datasets of this type from disk.- Returns:
a
fiftyone.utils.data.importers.LabeledImageDatasetImporterclass
- class fiftyone.types.dataset_types.VideoDetectionDataset#
Bases:
LabeledVideoDatasetBase type for datasets that represent a collection of videos and a set of associated video detections.
Methods:
Returns the
fiftyone.utils.data.exporters.LabeledVideoDatasetExporterclass for exporting datasets of this type to disk.Returns the
fiftyone.utils.data.importers.LabeledVideoDatasetImporterclass for importing datasets of this type from disk.- get_dataset_exporter_cls()#
Returns the
fiftyone.utils.data.exporters.LabeledVideoDatasetExporterclass for exporting datasets of this type to disk.- Returns:
a
fiftyone.utils.data.exporters.LabeledVideoDatasetExporterclass
- get_dataset_importer_cls()#
Returns the
fiftyone.utils.data.importers.LabeledVideoDatasetImporterclass for importing datasets of this type from disk.- Returns:
a
fiftyone.utils.data.importers.LabeledVideoDatasetImporterclass
- class fiftyone.types.dataset_types.ImageSegmentationDataset#
Bases:
LabeledImageDatasetBase type for datasets that represent a collection of images and a set of associated semantic segmentations.
Methods:
Returns the
fiftyone.utils.data.exporters.LabeledImageDatasetExporterclass for exporting datasets of this type to disk.Returns the
fiftyone.utils.data.importers.LabeledImageDatasetImporterclass for importing datasets of this type from disk.- get_dataset_exporter_cls()#
Returns the
fiftyone.utils.data.exporters.LabeledImageDatasetExporterclass for exporting datasets of this type to disk.- Returns:
a
fiftyone.utils.data.exporters.LabeledImageDatasetExporterclass
- get_dataset_importer_cls()#
Returns the
fiftyone.utils.data.importers.LabeledImageDatasetImporterclass for importing datasets of this type from disk.- Returns:
a
fiftyone.utils.data.importers.LabeledImageDatasetImporterclass
- class fiftyone.types.dataset_types.ImageLabelsDataset#
Bases:
LabeledImageDatasetBase type for datasets that represent a collection of images and a set of associated multitask predictions.
Methods:
Returns the
fiftyone.utils.data.exporters.LabeledImageDatasetExporterclass for exporting datasets of this type to disk.Returns the
fiftyone.utils.data.importers.LabeledImageDatasetImporterclass for importing datasets of this type from disk.- get_dataset_exporter_cls()#
Returns the
fiftyone.utils.data.exporters.LabeledImageDatasetExporterclass for exporting datasets of this type to disk.- Returns:
a
fiftyone.utils.data.exporters.LabeledImageDatasetExporterclass
- get_dataset_importer_cls()#
Returns the
fiftyone.utils.data.importers.LabeledImageDatasetImporterclass for importing datasets of this type from disk.- Returns:
a
fiftyone.utils.data.importers.LabeledImageDatasetImporterclass
- class fiftyone.types.dataset_types.VideoLabelsDataset#
Bases:
LabeledVideoDatasetBase type for datasets that represent a collection of videos and a set of associated multitask predictions.
Methods:
Returns the
fiftyone.utils.data.exporters.LabeledVideoDatasetExporterclass for exporting datasets of this type to disk.Returns the
fiftyone.utils.data.importers.LabeledVideoDatasetImporterclass for importing datasets of this type from disk.- get_dataset_exporter_cls()#
Returns the
fiftyone.utils.data.exporters.LabeledVideoDatasetExporterclass for exporting datasets of this type to disk.- Returns:
a
fiftyone.utils.data.exporters.LabeledVideoDatasetExporterclass
- get_dataset_importer_cls()#
Returns the
fiftyone.utils.data.importers.LabeledVideoDatasetImporterclass for importing datasets of this type from disk.- Returns:
a
fiftyone.utils.data.importers.LabeledVideoDatasetImporterclass
- class fiftyone.types.dataset_types.GroupDataset#
Bases:
DatasetBase type for datasets that contain grouped samples of any type(s).
Methods:
Returns the
fiftyone.utils.data.importers.GroupDatasetImporterclass for importing datasets of this type from disk.Returns the
fiftyone.utils.data.exporters.GroupDatasetExporterclass for exporting datasets of this type to disk.- get_dataset_importer_cls()#
Returns the
fiftyone.utils.data.importers.GroupDatasetImporterclass for importing datasets of this type from disk.- Returns:
- get_dataset_exporter_cls()#
Returns the
fiftyone.utils.data.exporters.GroupDatasetExporterclass for exporting datasets of this type to disk.- Returns:
- class fiftyone.types.dataset_types.ImageDirectory#
Bases:
UnlabeledImageDatasetA directory of images.
See this page for importing datasets of this type, and see this page for exporting datasets of this type.
Methods:
Returns the
fiftyone.utils.data.importers.UnlabeledImageDatasetImporterclass for importing datasets of this type from disk.Returns the
fiftyone.utils.data.exporters.UnlabeledImageDatasetExporterclass for exporting datasets of this type to disk.- get_dataset_importer_cls()#
Returns the
fiftyone.utils.data.importers.UnlabeledImageDatasetImporterclass for importing datasets of this type from disk.- Returns:
a
fiftyone.utils.data.importers.UnlabeledImageDatasetImporterclass
- get_dataset_exporter_cls()#
Returns the
fiftyone.utils.data.exporters.UnlabeledImageDatasetExporterclass for exporting datasets of this type to disk.- Returns:
a
fiftyone.utils.data.exporters.UnlabeledImageDatasetExporterclass
- class fiftyone.types.dataset_types.VideoDirectory#
Bases:
UnlabeledImageDatasetA directory of videos.
See this page for importing datasets of this type, and see this page for exporting datasets of this type.
Methods:
Returns the
fiftyone.utils.data.importers.UnlabeledImageDatasetImporterclass for importing datasets of this type from disk.Returns the
fiftyone.utils.data.exporters.UnlabeledImageDatasetExporterclass for exporting datasets of this type to disk.- get_dataset_importer_cls()#
Returns the
fiftyone.utils.data.importers.UnlabeledImageDatasetImporterclass for importing datasets of this type from disk.- Returns:
a
fiftyone.utils.data.importers.UnlabeledImageDatasetImporterclass
- get_dataset_exporter_cls()#
Returns the
fiftyone.utils.data.exporters.UnlabeledImageDatasetExporterclass for exporting datasets of this type to disk.- Returns:
a
fiftyone.utils.data.exporters.UnlabeledImageDatasetExporterclass
- class fiftyone.types.dataset_types.MediaDirectory#
Bases:
UnlabeledDatasetA directory of media files.
See this page for importing datasets of this type, and see this page for exporting datasets of this type.
Methods:
Returns the
fiftyone.utils.data.importers.DatasetImporterclass for importing datasets of this type from disk.Returns the
fiftyone.utils.data.exporters.DatasetExporterclass for exporting datasets of this type to disk.- get_dataset_importer_cls()#
Returns the
fiftyone.utils.data.importers.DatasetImporterclass for importing datasets of this type from disk.- Returns:
- get_dataset_exporter_cls()#
Returns the
fiftyone.utils.data.exporters.DatasetExporterclass for exporting datasets of this type to disk.- Returns:
- class fiftyone.types.dataset_types.FiftyOneImageClassificationDataset#
Bases:
ImageClassificationDatasetA 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:
Returns the
fiftyone.utils.data.importers.LabeledImageDatasetImporterclass for importing datasets of this type from disk.Returns the
fiftyone.utils.data.exporters.LabeledImageDatasetExporterclass for exporting datasets of this type to disk.- get_dataset_importer_cls()#
Returns the
fiftyone.utils.data.importers.LabeledImageDatasetImporterclass for importing datasets of this type from disk.- Returns:
a
fiftyone.utils.data.importers.LabeledImageDatasetImporterclass
- get_dataset_exporter_cls()#
Returns the
fiftyone.utils.data.exporters.LabeledImageDatasetExporterclass for exporting datasets of this type to disk.- Returns:
a
fiftyone.utils.data.exporters.LabeledImageDatasetExporterclass
- class fiftyone.types.dataset_types.ImageClassificationDirectoryTree#
Bases:
ImageClassificationDatasetA 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:
Returns the
fiftyone.utils.data.importers.LabeledImageDatasetImporterclass for importing datasets of this type from disk.Returns the
fiftyone.utils.data.exporters.LabeledImageDatasetExporterclass for exporting datasets of this type to disk.- get_dataset_importer_cls()#
Returns the
fiftyone.utils.data.importers.LabeledImageDatasetImporterclass for importing datasets of this type from disk.- Returns:
a
fiftyone.utils.data.importers.LabeledImageDatasetImporterclass
- get_dataset_exporter_cls()#
Returns the
fiftyone.utils.data.exporters.LabeledImageDatasetExporterclass for exporting datasets of this type to disk.- Returns:
a
fiftyone.utils.data.exporters.LabeledImageDatasetExporterclass
- class fiftyone.types.dataset_types.VideoClassificationDirectoryTree#
Bases:
VideoClassificationDatasetA 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:
Returns the
fiftyone.utils.data.importers.LabeledVideoDatasetImporterclass for importing datasets of this type from disk.Returns the
fiftyone.utils.data.exporters.LabeledVideoDatasetExporterclass for exporting datasets of this type to disk.- get_dataset_importer_cls()#
Returns the
fiftyone.utils.data.importers.LabeledVideoDatasetImporterclass for importing datasets of this type from disk.- Returns:
a
fiftyone.utils.data.importers.LabeledVideoDatasetImporterclass
- get_dataset_exporter_cls()#
Returns the
fiftyone.utils.data.exporters.LabeledVideoDatasetExporterclass for exporting datasets of this type to disk.- Returns:
a
fiftyone.utils.data.exporters.LabeledVideoDatasetExporterclass
- class fiftyone.types.dataset_types.TFImageClassificationDataset#
Bases:
ImageClassificationDatasetA 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:
Returns the
fiftyone.utils.data.importers.LabeledImageDatasetImporterclass for importing datasets of this type from disk.Returns the
fiftyone.utils.data.exporters.LabeledImageDatasetExporterclass for exporting datasets of this type to disk.- get_dataset_importer_cls()#
Returns the
fiftyone.utils.data.importers.LabeledImageDatasetImporterclass for importing datasets of this type from disk.- Returns:
a
fiftyone.utils.data.importers.LabeledImageDatasetImporterclass
- get_dataset_exporter_cls()#
Returns the
fiftyone.utils.data.exporters.LabeledImageDatasetExporterclass for exporting datasets of this type to disk.- Returns:
a
fiftyone.utils.data.exporters.LabeledImageDatasetExporterclass
- class fiftyone.types.dataset_types.FiftyOneImageDetectionDataset#
Bases:
ImageDetectionDatasetA 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:
Returns the
fiftyone.utils.data.importers.LabeledImageDatasetImporterclass for importing datasets of this type from disk.Returns the
fiftyone.utils.data.exporters.LabeledImageDatasetExporterclass for exporting datasets of this type to disk.- get_dataset_importer_cls()#
Returns the
fiftyone.utils.data.importers.LabeledImageDatasetImporterclass for importing datasets of this type from disk.- Returns:
a
fiftyone.utils.data.importers.LabeledImageDatasetImporterclass
- get_dataset_exporter_cls()#
Returns the
fiftyone.utils.data.exporters.LabeledImageDatasetExporterclass for exporting datasets of this type to disk.- Returns:
a
fiftyone.utils.data.exporters.LabeledImageDatasetExporterclass
- class fiftyone.types.dataset_types.FiftyOneTemporalDetectionDataset#
Bases:
VideoDetectionDatasetA 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:
Returns the
fiftyone.utils.data.importers.LabeledVideoDatasetImporterclass for importing datasets of this type from disk.Returns the
fiftyone.utils.data.exporters.LabeledVideoDatasetExporterclass for exporting datasets of this type to disk.- get_dataset_importer_cls()#
Returns the
fiftyone.utils.data.importers.LabeledVideoDatasetImporterclass for importing datasets of this type from disk.- Returns:
a
fiftyone.utils.data.importers.LabeledVideoDatasetImporterclass
- get_dataset_exporter_cls()#
Returns the
fiftyone.utils.data.exporters.LabeledVideoDatasetExporterclass for exporting datasets of this type to disk.- Returns:
a
fiftyone.utils.data.exporters.LabeledVideoDatasetExporterclass
- class fiftyone.types.dataset_types.COCODetectionDataset#
Bases:
ImageDetectionDatasetA 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:
Returns the
fiftyone.utils.data.importers.LabeledImageDatasetImporterclass for importing datasets of this type from disk.Returns the
fiftyone.utils.data.exporters.LabeledImageDatasetExporterclass for exporting datasets of this type to disk.- get_dataset_importer_cls()#
Returns the
fiftyone.utils.data.importers.LabeledImageDatasetImporterclass for importing datasets of this type from disk.- Returns:
a
fiftyone.utils.data.importers.LabeledImageDatasetImporterclass
- get_dataset_exporter_cls()#
Returns the
fiftyone.utils.data.exporters.LabeledImageDatasetExporterclass for exporting datasets of this type to disk.- Returns:
a
fiftyone.utils.data.exporters.LabeledImageDatasetExporterclass
- class fiftyone.types.dataset_types.VOCDetectionDataset#
Bases:
ImageDetectionDatasetA 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:
Returns the
fiftyone.utils.data.importers.LabeledImageDatasetImporterclass for importing datasets of this type from disk.Returns the
fiftyone.utils.data.exporters.LabeledImageDatasetExporterclass for exporting datasets of this type to disk.- get_dataset_importer_cls()#
Returns the
fiftyone.utils.data.importers.LabeledImageDatasetImporterclass for importing datasets of this type from disk.- Returns:
a
fiftyone.utils.data.importers.LabeledImageDatasetImporterclass
- get_dataset_exporter_cls()#
Returns the
fiftyone.utils.data.exporters.LabeledImageDatasetExporterclass for exporting datasets of this type to disk.- Returns:
a
fiftyone.utils.data.exporters.LabeledImageDatasetExporterclass
- class fiftyone.types.dataset_types.KITTIDetectionDataset#
Bases:
ImageDetectionDatasetA 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:
Returns the
fiftyone.utils.data.importers.LabeledImageDatasetImporterclass for importing datasets of this type from disk.Returns the
fiftyone.utils.data.exporters.LabeledImageDatasetExporterclass for exporting datasets of this type to disk.- get_dataset_importer_cls()#
Returns the
fiftyone.utils.data.importers.LabeledImageDatasetImporterclass for importing datasets of this type from disk.- Returns:
a
fiftyone.utils.data.importers.LabeledImageDatasetImporterclass
- get_dataset_exporter_cls()#
Returns the
fiftyone.utils.data.exporters.LabeledImageDatasetExporterclass for exporting datasets of this type to disk.- Returns:
a
fiftyone.utils.data.exporters.LabeledImageDatasetExporterclass
- class fiftyone.types.dataset_types.OpenImagesV6Dataset#
Bases:
ImageDetectionDatasetA labeled dataset consisting of images and their associated annotations saved in Open Images format.
Methods:
Returns the
fiftyone.utils.data.importers.LabeledImageDatasetImporterclass for importing datasets of this type from disk.Returns the
fiftyone.utils.data.exporters.LabeledImageDatasetExporterclass for exporting datasets of this type to disk.- get_dataset_importer_cls()#
Returns the
fiftyone.utils.data.importers.LabeledImageDatasetImporterclass for importing datasets of this type from disk.- Returns:
a
fiftyone.utils.data.importers.LabeledImageDatasetImporterclass
- get_dataset_exporter_cls()#
Returns the
fiftyone.utils.data.exporters.LabeledImageDatasetExporterclass for exporting datasets of this type to disk.- Returns:
a
fiftyone.utils.data.exporters.LabeledImageDatasetExporterclass
- class fiftyone.types.dataset_types.OpenImagesV7Dataset#
Bases:
ImageDetectionDatasetA labeled dataset consisting of images and their associated annotations saved in Open Images format.
Methods:
Returns the
fiftyone.utils.data.importers.LabeledImageDatasetImporterclass for importing datasets of this type from disk.Returns the
fiftyone.utils.data.exporters.LabeledImageDatasetExporterclass for exporting datasets of this type to disk.- get_dataset_importer_cls()#
Returns the
fiftyone.utils.data.importers.LabeledImageDatasetImporterclass for importing datasets of this type from disk.- Returns:
a
fiftyone.utils.data.importers.LabeledImageDatasetImporterclass
- get_dataset_exporter_cls()#
Returns the
fiftyone.utils.data.exporters.LabeledImageDatasetExporterclass for exporting datasets of this type to disk.- Returns:
a
fiftyone.utils.data.exporters.LabeledImageDatasetExporterclass
- class fiftyone.types.dataset_types.FIWDataset#
Bases:
DatasetA labeled dataset consisting of images and their associated annotations saved in Families in the Wild format.
Methods:
Returns the
fiftyone.utils.data.importers.DatasetImporterclass for importing datasets of this type from disk.Returns the
fiftyone.utils.data.exporters.DatasetExporterclass for exporting datasets of this type to disk.- get_dataset_importer_cls()#
Returns the
fiftyone.utils.data.importers.DatasetImporterclass for importing datasets of this type from disk.- Returns:
- get_dataset_exporter_cls()#
Returns the
fiftyone.utils.data.exporters.DatasetExporterclass for exporting datasets of this type to disk.- Returns:
- class fiftyone.types.dataset_types.OpenLABELImageDataset#
Bases:
ImageLabelsDatasetMethods:
Returns the
fiftyone.utils.data.importers.LabeledImageDatasetImporterclass for importing datasets of this type from disk.Returns the
fiftyone.utils.data.exporters.LabeledImageDatasetExporterclass for exporting datasets of this type to disk.- get_dataset_importer_cls()#
Returns the
fiftyone.utils.data.importers.LabeledImageDatasetImporterclass for importing datasets of this type from disk.- Returns:
a
fiftyone.utils.data.importers.LabeledImageDatasetImporterclass
- get_dataset_exporter_cls()#
Returns the
fiftyone.utils.data.exporters.LabeledImageDatasetExporterclass for exporting datasets of this type to disk.- Returns:
a
fiftyone.utils.data.exporters.LabeledImageDatasetExporterclass
- class fiftyone.types.dataset_types.OpenLABELVideoDataset#
Bases:
VideoLabelsDatasetMethods:
Returns the
fiftyone.utils.data.importers.LabeledVideoDatasetImporterclass for importing datasets of this type from disk.Returns the
fiftyone.utils.data.exporters.LabeledVideoDatasetExporterclass for exporting datasets of this type to disk.- get_dataset_importer_cls()#
Returns the
fiftyone.utils.data.importers.LabeledVideoDatasetImporterclass for importing datasets of this type from disk.- Returns:
a
fiftyone.utils.data.importers.LabeledVideoDatasetImporterclass
- get_dataset_exporter_cls()#
Returns the
fiftyone.utils.data.exporters.LabeledVideoDatasetExporterclass for exporting datasets of this type to disk.- Returns:
a
fiftyone.utils.data.exporters.LabeledVideoDatasetExporterclass
- class fiftyone.types.dataset_types.YOLOv4Dataset#
Bases:
ImageDetectionDatasetA 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:
Returns the
fiftyone.utils.data.importers.LabeledImageDatasetImporterclass for importing datasets of this type from disk.Returns the
fiftyone.utils.data.exporters.LabeledImageDatasetExporterclass for exporting datasets of this type to disk.- get_dataset_importer_cls()#
Returns the
fiftyone.utils.data.importers.LabeledImageDatasetImporterclass for importing datasets of this type from disk.- Returns:
a
fiftyone.utils.data.importers.LabeledImageDatasetImporterclass
- get_dataset_exporter_cls()#
Returns the
fiftyone.utils.data.exporters.LabeledImageDatasetExporterclass for exporting datasets of this type to disk.- Returns:
a
fiftyone.utils.data.exporters.LabeledImageDatasetExporterclass
- class fiftyone.types.dataset_types.YOLOv5Dataset#
Bases:
ImageDetectionDatasetA 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:
Returns the
fiftyone.utils.data.importers.LabeledImageDatasetImporterclass for importing datasets of this type from disk.Returns the
fiftyone.utils.data.exporters.LabeledImageDatasetExporterclass for exporting datasets of this type to disk.- get_dataset_importer_cls()#
Returns the
fiftyone.utils.data.importers.LabeledImageDatasetImporterclass for importing datasets of this type from disk.- Returns:
a
fiftyone.utils.data.importers.LabeledImageDatasetImporterclass
- get_dataset_exporter_cls()#
Returns the
fiftyone.utils.data.exporters.LabeledImageDatasetExporterclass for exporting datasets of this type to disk.- Returns:
a
fiftyone.utils.data.exporters.LabeledImageDatasetExporterclass
- class fiftyone.types.dataset_types.TFObjectDetectionDataset#
Bases:
ImageDetectionDatasetA 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:
Returns the
fiftyone.utils.data.importers.LabeledImageDatasetImporterclass for importing datasets of this type from disk.Returns the
fiftyone.utils.data.exporters.LabeledImageDatasetExporterclass for exporting datasets of this type to disk.- get_dataset_importer_cls()#
Returns the
fiftyone.utils.data.importers.LabeledImageDatasetImporterclass for importing datasets of this type from disk.- Returns:
a
fiftyone.utils.data.importers.LabeledImageDatasetImporterclass
- get_dataset_exporter_cls()#
Returns the
fiftyone.utils.data.exporters.LabeledImageDatasetExporterclass for exporting datasets of this type to disk.- Returns:
a
fiftyone.utils.data.exporters.LabeledImageDatasetExporterclass
- class fiftyone.types.dataset_types.ImageSegmentationDirectory#
Bases:
ImageSegmentationDatasetAn 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:
Returns the
fiftyone.utils.data.importers.LabeledImageDatasetImporterclass for importing datasets of this type from disk.Returns the
fiftyone.utils.data.exporters.LabeledImageDatasetExporterclass for exporting datasets of this type to disk.- get_dataset_importer_cls()#
Returns the
fiftyone.utils.data.importers.LabeledImageDatasetImporterclass for importing datasets of this type from disk.- Returns:
a
fiftyone.utils.data.importers.LabeledImageDatasetImporterclass
- get_dataset_exporter_cls()#
Returns the
fiftyone.utils.data.exporters.LabeledImageDatasetExporterclass for exporting datasets of this type to disk.- Returns:
a
fiftyone.utils.data.exporters.LabeledImageDatasetExporterclass
- class fiftyone.types.dataset_types.CVATImageDataset#
Bases:
ImageLabelsDatasetA 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:
Returns the
fiftyone.utils.data.importers.LabeledImageDatasetImporterclass for importing datasets of this type from disk.Returns the
fiftyone.utils.data.exporters.LabeledImageDatasetExporterclass for exporting datasets of this type to disk.- get_dataset_importer_cls()#
Returns the
fiftyone.utils.data.importers.LabeledImageDatasetImporterclass for importing datasets of this type from disk.- Returns:
a
fiftyone.utils.data.importers.LabeledImageDatasetImporterclass
- get_dataset_exporter_cls()#
Returns the
fiftyone.utils.data.exporters.LabeledImageDatasetExporterclass for exporting datasets of this type to disk.- Returns:
a
fiftyone.utils.data.exporters.LabeledImageDatasetExporterclass
- class fiftyone.types.dataset_types.CVATVideoDataset#
Bases:
VideoLabelsDatasetA 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:
Returns the
fiftyone.utils.data.importers.LabeledVideoDatasetImporterclass for importing datasets of this type from disk.Returns the
fiftyone.utils.data.exporters.LabeledVideoDatasetExporterclass for exporting datasets of this type to disk.- get_dataset_importer_cls()#
Returns the
fiftyone.utils.data.importers.LabeledVideoDatasetImporterclass for importing datasets of this type from disk.- Returns:
a
fiftyone.utils.data.importers.LabeledVideoDatasetImporterclass
- get_dataset_exporter_cls()#
Returns the
fiftyone.utils.data.exporters.LabeledVideoDatasetExporterclass for exporting datasets of this type to disk.- Returns:
a
fiftyone.utils.data.exporters.LabeledVideoDatasetExporterclass
- class fiftyone.types.dataset_types.FiftyOneImageLabelsDataset#
Bases:
ImageLabelsDatasetA 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:
Returns the
fiftyone.utils.data.importers.LabeledImageDatasetImporterclass for importing datasets of this type from disk.Returns the
fiftyone.utils.data.exporters.LabeledImageDatasetExporterclass for exporting datasets of this type to disk.- get_dataset_importer_cls()#
Returns the
fiftyone.utils.data.importers.LabeledImageDatasetImporterclass for importing datasets of this type from disk.- Returns:
a
fiftyone.utils.data.importers.LabeledImageDatasetImporterclass
- get_dataset_exporter_cls()#
Returns the
fiftyone.utils.data.exporters.LabeledImageDatasetExporterclass for exporting datasets of this type to disk.- Returns:
a
fiftyone.utils.data.exporters.LabeledImageDatasetExporterclass
- class fiftyone.types.dataset_types.FiftyOneVideoLabelsDataset#
Bases:
VideoLabelsDatasetA 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:
Returns the
fiftyone.utils.data.importers.LabeledVideoDatasetImporterclass for importing datasets of this type from disk.Returns the
fiftyone.utils.data.exporters.LabeledVideoDatasetExporterclass for exporting datasets of this type to disk.- get_dataset_importer_cls()#
Returns the
fiftyone.utils.data.importers.LabeledVideoDatasetImporterclass for importing datasets of this type from disk.- Returns:
a
fiftyone.utils.data.importers.LabeledVideoDatasetImporterclass
- get_dataset_exporter_cls()#
Returns the
fiftyone.utils.data.exporters.LabeledVideoDatasetExporterclass for exporting datasets of this type to disk.- Returns:
a
fiftyone.utils.data.exporters.LabeledVideoDatasetExporterclass
- class fiftyone.types.dataset_types.BDDDataset#
Bases:
ImageLabelsDatasetA 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:
Returns the
fiftyone.utils.data.importers.LabeledImageDatasetImporterclass for importing datasets of this type from disk.Returns the
fiftyone.utils.data.exporters.LabeledImageDatasetExporterclass for exporting datasets of this type to disk.- get_dataset_importer_cls()#
Returns the
fiftyone.utils.data.importers.LabeledImageDatasetImporterclass for importing datasets of this type from disk.- Returns:
a
fiftyone.utils.data.importers.LabeledImageDatasetImporterclass
- get_dataset_exporter_cls()#
Returns the
fiftyone.utils.data.exporters.LabeledImageDatasetExporterclass for exporting datasets of this type to disk.- Returns:
a
fiftyone.utils.data.exporters.LabeledImageDatasetExporterclass
- class fiftyone.types.dataset_types.DICOMDataset#
Bases:
ImageLabelsDatasetAn image dataset whose image data and optional properties are stored in DICOM format.
See this page for importing datasets of this type.
Methods:
Returns the
fiftyone.utils.data.importers.LabeledImageDatasetImporterclass for importing datasets of this type from disk.Returns the
fiftyone.utils.data.exporters.LabeledImageDatasetExporterclass for exporting datasets of this type to disk.- get_dataset_importer_cls()#
Returns the
fiftyone.utils.data.importers.LabeledImageDatasetImporterclass for importing datasets of this type from disk.- Returns:
a
fiftyone.utils.data.importers.LabeledImageDatasetImporterclass
- get_dataset_exporter_cls()#
Returns the
fiftyone.utils.data.exporters.LabeledImageDatasetExporterclass for exporting datasets of this type to disk.- Returns:
a
fiftyone.utils.data.exporters.LabeledImageDatasetExporterclass
- class fiftyone.types.dataset_types.ActivityNetDataset#
Bases:
FiftyOneTemporalDetectionDatasetA video dataset composed of temporal activity detections from the ActivityNet dataset.
Methods:
Returns the
fiftyone.utils.data.importers.LabeledVideoDatasetImporterclass for importing datasets of this type from disk.Returns the
fiftyone.utils.data.exporters.LabeledVideoDatasetExporterclass for exporting datasets of this type to disk.- get_dataset_importer_cls()#
Returns the
fiftyone.utils.data.importers.LabeledVideoDatasetImporterclass for importing datasets of this type from disk.- Returns:
a
fiftyone.utils.data.importers.LabeledVideoDatasetImporterclass
- get_dataset_exporter_cls()#
Returns the
fiftyone.utils.data.exporters.LabeledVideoDatasetExporterclass for exporting datasets of this type to disk.- Returns:
a
fiftyone.utils.data.exporters.LabeledVideoDatasetExporterclass
- class fiftyone.types.dataset_types.GeoJSONDataset#
Bases:
LabeledDatasetAn 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:
Returns the
fiftyone.utils.data.importers.DatasetImporterclass for importing datasets of this type from disk.Returns the
fiftyone.utils.data.exporters.DatasetExporterclass for exporting datasets of this type to disk.- get_dataset_importer_cls()#
Returns the
fiftyone.utils.data.importers.DatasetImporterclass for importing datasets of this type from disk.- Returns:
- get_dataset_exporter_cls()#
Returns the
fiftyone.utils.data.exporters.DatasetExporterclass for exporting datasets of this type to disk.- Returns:
- class fiftyone.types.dataset_types.GeoTIFFDataset#
Bases:
ImageLabelsDatasetAn image dataset whose image and geolocation data are stored in GeoTIFF format.
See this page for importing datasets of this type.
Methods:
Returns the
fiftyone.utils.data.importers.LabeledImageDatasetImporterclass for importing datasets of this type from disk.Returns the
fiftyone.utils.data.exporters.LabeledImageDatasetExporterclass for exporting datasets of this type to disk.- get_dataset_importer_cls()#
Returns the
fiftyone.utils.data.importers.LabeledImageDatasetImporterclass for importing datasets of this type from disk.- Returns:
a
fiftyone.utils.data.importers.LabeledImageDatasetImporterclass
- get_dataset_exporter_cls()#
Returns the
fiftyone.utils.data.exporters.LabeledImageDatasetExporterclass for exporting datasets of this type to disk.- Returns:
a
fiftyone.utils.data.exporters.LabeledImageDatasetExporterclass
- class fiftyone.types.dataset_types.CSVDataset#
Bases:
DatasetA 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:
Returns the
fiftyone.utils.data.importers.DatasetImporterclass for importing datasets of this type from disk.Returns the
fiftyone.utils.data.exporters.DatasetExporterclass for exporting datasets of this type to disk.- get_dataset_importer_cls()#
Returns the
fiftyone.utils.data.importers.DatasetImporterclass for importing datasets of this type from disk.- Returns:
- get_dataset_exporter_cls()#
Returns the
fiftyone.utils.data.exporters.DatasetExporterclass for exporting datasets of this type to disk.- Returns:
- class fiftyone.types.dataset_types.FiftyOneDataset#
Bases:
DatasetA disk representation of an entire
fiftyone.core.dataset.Datasetstored 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:
Returns the
fiftyone.utils.data.importers.DatasetImporterclass for importing datasets of this type from disk.Returns the
fiftyone.utils.data.exporters.DatasetExporterclass for exporting datasets of this type to disk.- get_dataset_importer_cls()#
Returns the
fiftyone.utils.data.importers.DatasetImporterclass for importing datasets of this type from disk.- Returns:
- get_dataset_exporter_cls()#
Returns the
fiftyone.utils.data.exporters.DatasetExporterclass for exporting datasets of this type to disk.- Returns:
- class fiftyone.types.dataset_types.LegacyFiftyOneDataset#
Bases:
DatasetLegacy disk representation of an entire
fiftyone.core.dataset.Datasetstored 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.jsonis a JSON file containing metadata associated with the dataset,samples.jsonis a JSON file containing a serialized representation of the samples in the dataset,annotations/contains any serializedfiftyone.core.annotations.AnnotationResults,brain/contains any serializedfiftyone.core.brain.BrainResults, andevaluations/contains any serializedfiftyone.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.LegacyFiftyOneDatasetImporterfor parameters that can be passed to methods likeDataset.from_dir()to customize the import of datasets of this type.Note
See
fiftyone.utils.data.exporters.LegacyFiftyOneDatasetExporterfor parameters that can be passed to methods likeSampleCollection.export()to customize the export of datasets of this type.Methods:
Returns the
fiftyone.utils.data.importers.DatasetImporterclass for importing datasets of this type from disk.Returns the
fiftyone.utils.data.exporters.DatasetExporterclass for exporting datasets of this type to disk.- get_dataset_importer_cls()#
Returns the
fiftyone.utils.data.importers.DatasetImporterclass for importing datasets of this type from disk.- Returns:
- get_dataset_exporter_cls()#
Returns the
fiftyone.utils.data.exporters.DatasetExporterclass for exporting datasets of this type to disk.- Returns:
- class fiftyone.types.dataset_types.PlacesDataset#
Bases:
ImageClassificationDatasetA labeled dataset consisting of images and their associated labels from the Places dataset <http://places2.csail.mit.edu/index.html>.
Methods:
Returns the
fiftyone.utils.data.importers.LabeledImageDatasetImporterclass for importing datasets of this type from disk.Returns the
fiftyone.utils.data.exporters.LabeledImageDatasetExporterclass for exporting datasets of this type to disk.- get_dataset_importer_cls()#
Returns the
fiftyone.utils.data.importers.LabeledImageDatasetImporterclass for importing datasets of this type from disk.- Returns:
a
fiftyone.utils.data.importers.LabeledImageDatasetImporterclass
- get_dataset_exporter_cls()#
Returns the
fiftyone.utils.data.exporters.LabeledImageDatasetExporterclass for exporting datasets of this type to disk.- Returns:
a
fiftyone.utils.data.exporters.LabeledImageDatasetExporterclass