module documentation
Utilities for working with the ImageNet dataset.
Function | ensure |
Ensures that the ImageNet archive(s) for the requested split have been manually downloaded to the required locations. |
Function | _ensure |
Undocumented |
Function | _raise |
Undocumented |
Constant | _DEVKIT |
Undocumented |
Constant | _TRAIN |
Undocumented |
Constant | _VAL |
Undocumented |
Ensures that the ImageNet archive(s) for the requested split have been manually downloaded to the required locations.
Parameters | |
source | 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 |