The dataset viewer is not available because its heuristics could not detect any supported data files. You can try uploading some data files, or configuring the data files location manually.
AIST Dance 2D keypoints (dwpose)
2D skeletons and aligned music features extracted from the AIST Dance Video Database, for music-conditioned dance generation (project: beat2body). No video or audio is included: only joint coordinates and audio features (log-mel, onset strength, beat positions).
- Source videos: advanced dances (
sFM: each dancer's own choreography, ~35 s), front camera (c01): 210 videos; and basic dances (sBM: 10 genre-basic routines per dancer, each danced to 4 songs, 7-12 s), front camera: 1200 videos. Genres: ballet_jazz, break, house, krump, la_hiphop, lock, middle_hiphop, pop, street_jazz, waack. Resampled to 30 fps. - Pose tool: DWPose-L whole-body (ONNX), body joints mapped to COCO-17. Confidence threshold 0.3.
- Companion datasets with the same format and split: mediapipe, openpose (advanced dances only).
Files
2d/categories.json {"<genre>": index} for the genre embedding
2d/keypoints/dwpose/<genre>/<video_id>.npz keypoints (T,17,2) float32, valid (T,17) bool,
pelvis (T,2) px, scale, fps, width, height, joint_names
2d/keypoints/dwpose/normalization.json cleaning + normalization parameters
2d/features/audio_mel/<video_id>.npy (T,64) log-mel (dB), 22.05 kHz, hop 735 (1 frame = 1 motion frame)
2d/features/audio_onset/<video_id>.npy (T,) onset strength
2d/features/beats/<video_id>.npy beat times in frames (float): grid at the published AIST tempo,
phase fitted to the onset envelope
2d/features/audio_edge/<video_id>.npy (T,35) EDGE's "baseline" music features at 30 fps: onset envelope (1),
MFCC (20), chroma CENS (12), onset peaks one-hot (1), beats one-hot (1)
2d/clips/dwpose/meta.csv one row per clip: clip_path, audio_feat_path, category,
start_frame, end_frame, split, video_id, dancer, music
2d/clips/dwpose/split.json split options and songs per split
2d/clips/dwpose/<split>/<genre>__<video_id>__<start>.npz
240-frame windows (stride 60): keypoints, valid, mel,
onset, beats (window-relative), category, category_index, ...
Keypoints are in COCO-17 order, centred on the mid-hip and divided by the median torso length
over the whole dataset. Undo with xy_px = keypoints * scale + pelvis[:, None]. valid is
False where a joint was interpolated rather than observed; use it as a loss mask.
How the training code uses it
The beat2body model is a 2D re-implementation of EDGE (Tseng et al., CVPR 2023). It does not read
the clip files; it reads the per-video files above and uses meta.csv only for the windows and the
split. Per frame it builds:
- motion (38): 2 ankle contacts + 2 root + 34 joints. Root =
(pelvis - image centre) / scale(the dancer's position in the 1920x1080 frame, in torso lengths). Joints =keypoints(pelvis-centred). An ankle is in contact when its image speed, root motion included, is below 0.012 torso lengths per frame (about 1.5 px; about 40% of frames). - music (37):
audio_edge(35), normalized with train-split mean / std, + sin / cos of the position within the beat frombeats(2). - windows: 150 frames (5 s) cropped from the clips of each split.
Code: beat2body.data in the project repository; python -m beat2body data checks it.
Video ids follow AIST naming: gLH_sFM_c01_d16_mLH0_ch01 = genre LH, situation sFM (advanced; sBM =
basic), camera c01, dancer d16, song mLH0, choreography / routine ch01.
Split
Test holds out 1 song(s) per genre completely (all their videos), so test music is never seen in training; use it for the final evaluation. The other videos are split into train / val by video (15% val), so train and val share songs and dancers. Basic dances (sBM) follow the advanced dances' split: a basic dance on a held-out test song is in test; the others are split into train / val by routine (a dancer's routine is danced to several songs; all its versions stay in one split).
| split | clips | videos | songs |
|---|---|---|---|
| train | 3423 | 1013 | 50 |
| val | 632 | 161 | 50 |
| test | 769 | 236 | 10 |
Loading
from huggingface_hub import snapshot_download
import pandas as pd, numpy as np
root = snapshot_download("SizheZ03/AISTDance_dwpose", repo_type="dataset")
meta = pd.read_csv(f"{root}/2d/clips/dwpose/meta.csv")
clip = np.load(f"{root}/" + meta.clip_path[0])
Or, with the project code: python -m beat2body hf download --tool dwpose.
Terms and citation
The AIST Dance Video Database is free for academic research only; see its terms of use. The videos themselves are not redistributed here. The music features are derived from the database's copyrighted music. Pose tool license: Apache-2.0. If you use this data, cite the AIST Dance Video Database:
@inproceedings{tsuchida2019aist,
author = {Shuhei Tsuchida and Satoru Fukayama and Masahiro Hamasaki and Masataka Goto},
title = {AIST Dance Video Database: Multi-genre, Multi-dancer, and Multi-camera Database
for Dance Information Processing},
booktitle = {Proceedings of the 20th International Society for Music Information Retrieval
Conference (ISMIR 2019)},
year = {2019}
}
- Downloads last month
- 86