class documentation
class TorchVisionDataset(fozd.ZooDataset): (source)
Known subclasses: fiftyone.zoo.datasets.torch.CIFAR100Dataset
, fiftyone.zoo.datasets.torch.CIFAR10Dataset
, fiftyone.zoo.datasets.torch.FashionMNISTDataset
, fiftyone.zoo.datasets.torch.ImageNet2012Dataset
, fiftyone.zoo.datasets.torch.MNISTDataset
, fiftyone.zoo.datasets.torch.VOC2007Dataset
, fiftyone.zoo.datasets.torch.VOC2012Dataset
Base class for zoo datasets that are provided via the
torchvision:torchvision.datasets
package.
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 | is |
Whether the dataset is remotely-sourced. |
Property | name |
The name of the dataset. |
Property | parameters |
An optional dict of parameters describing the configuration of the zoo dataset when it was downloaded. |
Property | requires |
Whether this dataset requires some files to be manually downloaded by the user before the dataset can be loaded. |
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. |
Method | _download |
Internal implementation of downloading the dataset and preparing it for use in the given directory. |
Method | _get |
Undocumented |
Method | _is |
Undocumented |
Method | _is |
Undocumented |
Method | _patch |
Internal method called when an already downloaded dataset may need to be patched. |