module documentation

Utilities for working with the HMDB51 dataset.

Copyright 2017-2025, Voxel51, Inc.

Function download_hmdb51_dataset Downloads and extracts the HMDB51 dataset.
Variable logger Undocumented
Function _download_splits Undocumented
Function _download_videos Undocumented
Function _load_split_info Undocumented
Constant _SPLITS_DOWNLOAD_LINK Undocumented
Constant _VIDEOS_DOWNLOAD_LINK Undocumented
def download_hmdb51_dataset(dataset_dir, scratch_dir=None, fold=1, cleanup=True): (source)

Downloads and extracts the HMDB51 dataset.

Any existing files are not re-downloaded.

Parameters
dataset_dirthe directory to output the final dataset
scratch_dir:Nonea scratch directory to use to store temporary files
fold:1the test/train fold to use to arrange the files on disk. The supported values are (1, 2, 3)
cleanup:Truewhether to cleanup the scratch directory after extraction

Undocumented

def _download_splits(scratch_dir): (source)

Undocumented

def _download_videos(scratch_dir): (source)

Undocumented

def _load_split_info(split_path): (source)

Undocumented

_SPLITS_DOWNLOAD_LINK: str = (source)

Undocumented

Value
'http://serre-lab.clps.brown.edu/wp-content/uploads/2013/10/test_train_splits.ra
r'
_VIDEOS_DOWNLOAD_LINK: str = (source)

Undocumented

Value
'http://serre-lab.clps.brown.edu/wp-content/uploads/2013/10/hmdb51_org.rar'