JUHE API Marketplace
DATASET
Open Source Community

UCF-101, HMDB-51

UCF‑101 and HMDB‑51 are two video datasets used for training and testing video‑processing models. UCF‑101 contains 101 action categories with over 100 videos per category. HMDB‑51 includes 51 action categories with at least 101 videos per category.

Updated 5/8/2024
github

Description

Dataset Overview

Dataset Names

  • UCF‑101
  • HMDB‑51

Dataset Download

Dataset Structure

UCF‑101
UCF‑101
├── ApplyEyeMakeup
│   ├── v_ApplyEyeMakeup_g01_c01.avi
│   └── ...
├── ApplyLipstick
│   ├── v_ApplyLipstick_g01_c01.avi
│   └── ...
├── Archery
│   ├── v_Archery_g01_c01.avi
│   └── ...
HMDB‑51
HMDB51
├── brush_hair
│   ├── April_09_brush_hair_u_nm_np1_ba_goo_0.avi
│   └── ...
├── cartwheel
│   ├── (Rad)Schlag_die_Bank!_cartwheel_f_cm_np1_le_med_0.avi
│   └── ...
├── catch
│   ├── 96-_Torwarttraining_1_catch_f_cm_np1_le_bad_0.avi
│   └── ...

Pre‑processing Steps

UCF‑101
  1. Convert video files to JPG frames using utils/video2jpg_ucf101_hmdb51.py.
  2. Generate frame‑count files with utils/n_frames_ucf101_hmdb51.py.
HMDB‑51
  1. Convert video files to JPG frames using utils/video2jpg_ucf101_hmdb51.py.
  2. Generate frame‑count files with utils/n_frames_ucf101_hmdb51.py.
  3. Generate annotation files using utils/hmdb_gen_txt.py.

Post‑processing Data Structure

UCF‑101
UCF101_n_frames
├── ApplyEyeMakeup
│   ├── v_ApplyEyeMakeup_g01_c01
│   │   ├── image_00001.jpg
│   │   └── ...
│   │   └── n_frames
│   └── ...
├── ApplyLipstick
│   └── ...
└── ...
HMDB‑51
hmdb51_n_frames
├── brush_hair
│   ├── April_09_brush_hair_u_nm_np1_ba_goo_0
│   │   ├── image_00001.jpg
│   │   └── ...
│   │   └── n_frames
│   └── ...
├── cartwheel
│   └── ...
└── ...

Data Loading

PyTorch loading examples are provided using the HMDBDataset class.

Citation

Dataset processing code is adapted from 3D‑ResNets‑PyTorch.

AI studio

Generate PPTs instantly with Nano Banana Pro.

Generate PPT Now

Access Dataset

Login to Access

Please login to view download links and access full dataset details.

Topics

Video Analysis
Action Recognition

Source

Organization: github

Created: 5/3/2020

Power Your Data Analysis with Premium AI Models

Supporting GPT-5, Claude-4, DeepSeek v3, Gemini and more.

Enjoy a free trial and save 20%+ compared to official pricing.