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

# fiftyone.utils.hmdb51

Utilities for working with the
[HMDB51 dataset](https://serre-lab.clps.brown.edu/resource/hmdb-a-large-human-motion-database).

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

**Functions:**

| [`download_hmdb51_dataset`](#fiftyone.utils.hmdb51.download_hmdb51_dataset)(dataset_dir[, ...])   | Downloads and extracts the HMDB51 dataset.   |
|---------------------------------------------------------------------------------------------------|----------------------------------------------|

### fiftyone.utils.hmdb51.download_hmdb51_dataset(dataset_dir, scratch_dir=None, fold=1, cleanup=True)

Downloads and extracts the HMDB51 dataset.

Any existing files are not re-downloaded.

* **Parameters:**
  * **dataset_dir** – the directory to output the final dataset
  * **scratch_dir** (*None*) – a scratch directory to use to store temporary files
  * **fold** (*1*) – the test/train fold to use to arrange the files on disk. The
    supported values are `(1, 2, 3)`
  * **cleanup** (*True*) – whether to cleanup the scratch directory after
    extraction
