jcf-knee-labels
Processed training data for the knee joint-contact-force surrogates in
gellert5225/jcf-knee-surrogates
(code: https://github.com/Gellert5225/jcf). Each trial is a window of walking or quasi-static motion from an
AddBiomechanics laboratory contribution, run through OpenSim 4.5: inverse kinematics, ground-reaction loads,
Static Optimization, and JointReaction on the right knee (walker_knee_r, tibia frame). The JointReaction
file is the training label; the SO activation file drives the quality filter.
8,817 labeled trials, 6 laboratories, 111 subjects (carter 1,359, falisse 26, fregly 102, han 361, moore 6,261, tiziana 708) · 9.1 GB compressed, ~45 GB extracted.
Layout
| Path | Contents |
|---|---|
walking/<lab>.tar.gz, static/<lab>.tar.gz |
One shard per laboratory and activity; each extracts to <trial>/ folders |
models/<sha256[:16]>.osim |
222 unique OpenSim model files (scaled subject models and the SO models with reserve actuators), stored once |
trials.csv |
Index: trial, activity, lab, subject, mass, height, frames, contact bodies, model hashes, shard |
excluded_trials.csv |
2,510 windows whose Static Optimization failed (no labels); listed for completeness |
MANIFEST_b3d.csv |
SHA-256 of every raw AddBiomechanics .b3d input (380 files, 194 GB — not re-hosted) |
fetch_data.py |
Downloads shards, extracts, restores per-trial model files |
Per trial: ik_results.mot, grf_data.mot, grf_loads.xml, metadata.json, com_features.npz, root_features.npy,
and jcf_output/ with BatchJCF_JointReaction_ReactionLoads.sto (labels), BatchJCF_StaticOptimization_activation.sto,
BatchJCF_StaticOptimization_force.sto, _padded_ik.mot, _analyze_setup.xml. The 28 MB per-trial
StaticOptimization_controls.xml is omitted (no consumer). scaled_model.osim and _model_with_reserves.osim
are restored from models/ by fetch_data.py (identical within a subject).
Use
hf auth login
python fetch_data.py # -> jcf/full_duration/training/{walking,static}/<trial>/
python fetch_data.py --labs carter moore --activity walking
Then train with the code repo, e.g. python train_mlp.py --activity both --input-set qinst_pelvisrel_winpos_contact_w20.
Provenance and license
Source motion data: AddBiomechanics (Werling et al., 2024) contributions by Carter et al. 2024, Moore et al. 2015,
Lencioni et al. 2019 (Tiziana), Falisse et al. 2017, Han et al. 2023, Fregly et al. 2012 — CC BY 4.0.
Processing: the pipeline/ scripts in the code repo (Rajagopal 2016 model, OpenSim 4.5 SO + JointReaction).
This derived dataset is released under CC BY 4.0; please cite the source datasets and:
Chong, Li, Billi, Khatib, Demircan, Antalgic Gait Synthesis: Balancing Posture and Muscle Dynamics for
Pain-Free Motion via Musculoskeletal Models and Operational Space Control, ISRR 2026.
- Downloads last month
- 27