<!-- # hard line break macro for HTML -->

# fiftyone.utils.imagenet

Utilities for working with the [ImageNet dataset](http://www.image-net.org).

Copyright 2017-2026, Voxel51, Inc.
<br/>
[voxel51.com](https://voxel51.com/)
<br/>
<br/>

**Functions:**

| [`ensure_imagenet_manual_download`](#fiftyone.utils.imagenet.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
