STGCN++ on DIEM-A, 13 labels: 10-fold leave-performer-out checkpoints
Results
| accuracy | balanced accuracy | macro-F1 | train accuracy | |
|---|---|---|---|---|
| seed 255 | 33.06 | 33.79 | 32.80 | 100.00 |
| seed 256 | 33.24 | 34.04 | 32.99 | 99.99 |
| seed 257 | 33.44 | 34.16 | 33.02 | 99.99 |
| mean of the 3 seeds | 33.25 | 34.00 | 32.94 | |
| 3-seed ensemble | 36.22 | 37.15 | 35.80 |
Chance is 7.7% (13 classes). Accuracy for a seed is the mean over its ten folds; balanced accuracy (the mean per-class recall) and macro-F1 pool the held-out clips of all ten folds, which cover the corpus once. Per-fold numbers are in results/summary.json.
Which checkpoint to use
Fold k never saw the performers in its row. To evaluate on a performer, use that performer's fold; any other fold's model was trained on them. With the benchmark repository installed, emo_mocap.data.splits.fold_of_clip(name, filenames, 10) gives the fold for a clip.
| fold | held-out performers | train clips | held-out clips |
|---|---|---|---|
| 1 | JP_06, JP_16, JP_26, JP_36, JP_46, TW_02, TW_12, TW_22, TW_32, TW_42 | 9102 | 1110 |
| 2 | JP_07, JP_17, JP_27, JP_37, JP_47, TW_03, TW_13, TW_23, TW_33, TW_43 | 9102 | 1110 |
| 3 | JP_08, JP_18, JP_28, JP_38, JP_48, TW_04, TW_14, TW_24, TW_34 | 9213 | 999 |
| 4 | JP_09, JP_19, JP_29, JP_39, JP_49, TW_05, TW_15, TW_25, TW_35 | 9213 | 999 |
| 5 | JP_10, JP_20, JP_30, JP_40, JP_50, TW_06, TW_16, TW_26, TW_36 | 9213 | 999 |
| 6 | JP_11, JP_21, JP_31, JP_41, JP_51, TW_07, TW_17, TW_27, TW_37 | 9213 | 999 |
| 7 | JP_12, JP_22, JP_32, JP_42, JP_52, TW_08, TW_18, TW_28, TW_38 | 9213 | 999 |
| 8 | JP_13, JP_23, JP_33, JP_43, JP_53, TW_09, TW_19, TW_29, TW_39 | 9213 | 999 |
| 9 | JP_14, JP_24, JP_34, JP_44, JP_54, TW_10, TW_20, TW_30, TW_40 | 9213 | 999 |
| 10 | JP_15, JP_25, JP_35, JP_45, TW_01, TW_11, TW_21, TW_31, TW_41 | 9213 | 999 |
Loading
Each model.pt is a plain PyTorch state dict of the model's weights: no optimizer state, safe to load with weights_only=True. The architecture comes from the config, so keep the YAML beside it.
import torch
from emo_mocap.tools.config import load_config
from emo_mocap.models.registry import get_model
cfg = load_config("Kanta_diema13_stgcn_recipe.yaml")
model = get_model(cfg.model.type).from_config(cfg)
model.load_state_dict(torch.load("seed255/fold01/model.pt", weights_only=True))
model.eval()
logits = model(x)["logits"] # x: (batch, 15, frames, 25), packed as in training
emo_mocap is the package of the benchmark repository at commit 817e13a or later. The input is the 15-channel tensor the repository's Feeder builds from data.streams (root position, 6D joint rotations, joint positions, velocity, acceleration) on a 25-vertex graph, 100 samples spread over the whole clip.
How they were trained
- Recipe: the benchmark's
configs/diema13_stgcn_recipe.yamlwithmodel.plusplus: true. The final-epoch checkpoint is kept; nothing is selected on validation. - Data: the DIEM-A BVH release repaired on 2026-08-28 (10,212 clips, 92 performers), preprocessed at 30 Hz with joint positions (
emo-preprocess --recursive --target-fps 30 --target-world-up +z --target-rest-forward +y --target-rest-up +z --include-positions --position-space joint --position-centering skeleton --emo2idx configs/emo_to_idx.txt). SHA-256 of the preprocessed file:209d63c7c8e84d3f955b83d6ab0e695a84ae4028aa2b417ab8dbe0ab27cb32b9. - Hardware: one RTX 4090; training is bitwise deterministic for a given seed and GPU model.
LAUNCH.mdhas the full record.
Files
README.md this card
Kanta_diema13_stgcn_recipe.yaml the recipe; needed to build the model
LAUNCH.md launch command
folds.json held-out performers per fold
results/summary.json per-fold, per-seed and ensemble metrics
seed{255,256,257}/foldNN/model.pt weights
SHA256SUMS checksums of every file