class documentation
class RemoteZooDataset(ZooDataset): (source)
Constructor: RemoteZooDataset(dataset_dir, url, **kwargs)
Class for working with remotely-sourced datasets that are compatible with the FiftyOne Dataset Zoo.
Parameters | |
dataset | the dataset's local directory, which must contain a valid dataset YAML file |
url | the dataset's remote source, which can be:
This is explicitly provided rather than relying on the YAML file's url property in case the caller has specified a particular branch or commit |
**kwargs | optional keyword arguments for the dataset's
download_and_prepare() and/or load_dataset() methods |
Method | __init__ |
Undocumented |
Property | author |
Undocumented |
Property | description |
Undocumented |
Property | fiftyone |
Undocumented |
Property | is |
Whether the dataset is remotely-sourced. |
Property | license |
Undocumented |
Property | metadata |
Undocumented |
Property | name |
The name of the dataset. |
Property | size |
Undocumented |
Property | source |
Undocumented |
Property | supported |
A tuple of supported splits for the dataset, or None if the dataset does not have splits. |
Property | supports |
Whether the dataset supports downloading partial subsets of its splits. |
Property | tags |
A tuple of tags for the dataset. |
Property | url |
Undocumented |
Property | version |
Undocumented |
Static Method | _parse |
Undocumented |
Method | _download |
Internal implementation of downloading the dataset and preparing it for use in the given directory. |
Method | _import |
Undocumented |
Method | _load |
Undocumented |
Instance Variable | _author |
Undocumented |
Instance Variable | _dataset |
Undocumented |
Instance Variable | _description |
Undocumented |
Instance Variable | _fiftyone |
Undocumented |
Instance Variable | _kwargs |
Undocumented |
Instance Variable | _license |
Undocumented |
Instance Variable | _metadata |
Undocumented |
Instance Variable | _name |
Undocumented |
Instance Variable | _size |
Undocumented |
Instance Variable | _source |
Undocumented |
Instance Variable | _splits |
Undocumented |
Instance Variable | _supports |
Undocumented |
Instance Variable | _tags |
Undocumented |
Instance Variable | _url |
Undocumented |
Instance Variable | _version |
Undocumented |
Inherited from ZooDataset
:
Static Method | get |
Returns the path to the ZooDatasetInfo for the dataset. |
Static Method | has |
Determines whether the directory contains ZooDatasetInfo . |
Static Method | load |
Loads the ZooDatasetInfo from the given dataset directory. |
Method | download |
Downloads the dataset and prepares it for use. |
Method | get |
Returns the directory for the given split of the dataset. |
Method | has |
Whether the dataset has the given split. |
Method | has |
Whether the dataset has the given tag. |
Property | has |
Whether the dataset has patches that may need to be applied to already downloaded files. |
Property | has |
Whether the dataset has splits. |
Property | has |
Whether the dataset has tags. |
Property | importer |
A dict of default kwargs to pass to this dataset's fiftyone.utils.data.importers.DatasetImporter . |
Property | parameters |
An optional dict of parameters describing the configuration of the zoo dataset when it was downloaded. |
Property | requires |
Whether this dataset requires some files to be manually downloaded by the user before the dataset can be loaded. |
Method | _get |
Undocumented |
Method | _is |
Undocumented |
Method | _is |
Undocumented |
Method | _patch |
Internal method called when an already downloaded dataset may need to be patched. |
Internal implementation of downloading the dataset and preparing it for use in the given directory.
Parameters | |
dataset | the directory in which to construct the dataset. If a split is provided, this is the directory for the split |
_ | Undocumented |
split | the split to download, or None if the dataset does not have splits |
scratch | a scratch directory to use to download and prepare any required intermediate files |
Returns | |
tuple of |
|