fiftyone.utils.imagenetΒΆ
Utilities for working with the ImageNet dataset.
Functions:
|
Ensures that the ImageNet archive(s) for the requested split have been manually downloaded to the required locations. |
-
fiftyone.utils.imagenet.
ensure_imagenet_manual_download
(source_dir, split, devkit=False)ΒΆ Ensures that the ImageNet archive(s) for the requested split have been manually downloaded to the required locations.
- Parameters
source_dir β the dataset directory
split β the split of interest. Supported values are
("train", "validation")
devkit (False) β whether to ensure that the devkit archive is present
- Raises
OSError β if the required files are not present