fiftyone.utils.imagenet#

Utilities for working with the ImageNet dataset.

Copyright 2017-2025, Voxel51, Inc.

Functions:

ensure_imagenet_manual_download(source_dir, ...)

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