Utilities for working with the
Open Images
dataset.
Class |
|
Base class for importing datasets in Open Images format. |
Class |
|
Base class for importing datasets in Open Images V6 format. |
Class |
|
Base class for importing datasets in Open Images V7 format. |
Function | download |
Utility that downloads full or partial splits of the Open Images dataset. |
Function | get |
Gets the list of relationship attributes in the Open Images dataset. |
Function | get |
Gets the boxable classes that exist in classifications, detections, points, and relationships in the Open Images dataset. |
Function | get |
Gets the list of classes that are labeled with points in the Open Images V7 dataset. |
Function | get |
Gets the list of classes (350) that are labeled with segmentations in the Open Images V6/V7 dataset. |
Variable | logger |
Undocumented |
Function | _create |
Undocumented |
Function | _create |
Undocumented |
Function | _create |
Undocumented |
Function | _create |
Undocumented |
Function | _create |
Undocumented |
Function | _download |
Undocumented |
Function | _download |
Undocumented |
Function | _download |
Undocumented |
Function | _download |
Undocumented |
Function | _get |
Undocumented |
Function | _get |
Undocumented |
Function | _get |
Undocumented |
Function | _get |
Undocumented |
Function | _get |
Undocumented |
Function | _get |
Undocumented |
Function | _get |
Undocumented |
Function | _get |
Undocumented |
Function | _get |
Undocumented |
Function | _get |
Undocumented |
Function | _load |
Undocumented |
Function | _parse |
Undocumented |
Function | _parse |
Undocumented |
Function | _parse |
Undocumented |
Function | _parse |
Undocumented |
Function | _rename |
Undocumented |
Function | _setup |
Undocumented |
Function | _verify |
Undocumented |
Function | _verify |
Undocumented |
Constant | _ANNOTATION |
Undocumented |
Constant | _BUCKET |
Undocumented |
Constant | _CSV |
Undocumented |
Constant | _SUPPORTED |
Undocumented |
Constant | _SUPPORTED |
Undocumented |
Constant | _SUPPORTED |
Undocumented |
Constant | _SUPPORTED |
Undocumented |
Constant | _SUPPORTED |
Undocumented |
Utility that downloads full or partial splits of the Open Images dataset.
See fiftyone.types.OpenImagesDataset
for the format in which
dataset_dir will be arranged.
Any existing files are not re-downloaded.
This method specifically downloads the subsets of annotations corresponding to the 600 boxable classes of Open Images. See here for other download options.
Parameters | |
dataset | the directory to download the dataset |
split | the split to download. Supported values are ("train", "validation", "test") |
version:"v7" | the version of the Open Images dataset to download. Supported values are ("v6", "v7") |
labelNone | a label type or list of label types to load. The supported values are ("detections", "classifications", "relationships", "segmentations") for "v6" and ("detections", "classifications", "points", "relationships", "segmentations") for "v7". By default, all label types are loaded |
classes:None | a string or list of strings specifying required classes to load. If provided, only samples containing at least one instance of a specified class will be loaded |
attrs:None | a string or list of strings specifying required relationship attributes to load. Only applicable when label_types includes "relationships". If provided, only samples containing at least one instance of a specified attribute will be loaded |
imageNone | an optional list of specific image IDs to load. Can be provided in any of the following formats:
|
numNone | a suggested number of threads to use when downloading individual images |
shuffle:False | whether to randomly shuffle the order in which samples are chosen for partial downloads |
seed:None | a random seed to use when shuffling |
maxNone | a maximum number of samples to load per split. If label_types, classes, and/or attrs are also specified, first priority will be given to samples that contain all of the specified label types, classes, and/or attributes, followed by samples that contain at least one of the specified labels types or classes. The actual number of samples loaded may be less than this maximum value if the dataset does not contain sufficient samples matching your requirements. By default, all matching samples are loaded |
Returns | |
a tuple of |
|
Gets the list of relationship attributes in the Open Images dataset.
Parameters | |
version:"v7" | the version of the Open Images dataset. Supported values are ("v6", "v7") |
datasetNone | an optional root directory the in which the dataset is downloaded |
Returns | |
a sorted list of attribute names |
Gets the boxable classes that exist in classifications, detections, points, and relationships in the Open Images dataset.
This method can be called in isolation without downloading the dataset.
Parameters | |
version:"v7" | the version of the Open Images dataset. Supported values are ("v6", "v7") |
datasetNone | an optional root directory the in which the dataset is downloaded |
Returns | |
a sorted list of class name strings |
Gets the list of classes that are labeled with points in the Open Images V7 dataset.
This method can be called in isolation without downloading the dataset.
Parameters | |
version:"v7" | the version of the Open Images dataset. Supported values are ("v7") |
datasetNone | an optional root directory in which the dataset is downloaded |
Returns | |
a sorted list of segmentation class name strings |
Gets the list of classes (350) that are labeled with segmentations in the Open Images V6/V7 dataset.
This method can be called in isolation without downloading the dataset.
Parameters | |
version:"v6" | the version of the Open Images dataset. Supported values are ("v6") |
datasetNone | an optional root directory the in which the dataset is downloaded |
Returns | |
a sorted list of segmentation class name strings |
Undocumented
Undocumented
Undocumented
Undocumented
Undocumented
Undocumented
Undocumented
Value |
|