codepawl/cmu-mocap-glb
CMU Motion Capture Database as GLB 2426 motion capture clips from CMU Graphics Lab Motion Capture Database: 6 categories, 2,276,379 frames (10.5 hours) at 60 fps. Every clip is retargeted onto one free character and also ships as the bare source skeleton. Credit: The data used in this project was obtained from mocap.cs.cmu.edu. The database was created with funding from NSF EIA-0196217. Viewer, pick a style and watch it (works on a phone):… See the full description on the dataset page: https://huggingface.co/datasets/codepawl/cmu-mocap-glb.
Thành tựu nổi bật
Những danh hiệu mới nhất của dự án
#1 Repository Của Ngày
#1 Repository Của Ngày
#1 Repository Của Ngày
CMU Motion Capture Database as GLB
2426 motion capture clips from CMU Graphics Lab Motion Capture Database: 6 categories, 2,276,379 frames (10.5 hours) at 60 fps. Every clip is retargeted onto one free character and also ships as the bare source skeleton. Credit: The data used in this project was obtained from mocap.cs.cmu.edu. The database was created with funding from NSF EIA-0196217.
Viewer, pick a style and watch it (works on a phone): https://huggingface.co/spaces/codepawl/cmu-mocap-viewer
The Dataset Viewer above shows each clip as a still: the character posed halfway through the clip, from a light static copy in preview/ with the skin baked in. The animated files are in the tiers below.
Every retargeted clip was checked against its source skeleton. retarget_ok and retarget_issue in metadata.jsonl say which clips passed and why the others did not: feet sliding more than 2 cm/s beyond the source, shoulders sitting a few centimetres high, or a knee bending backwards in some floor and yoga frames. The skeleton/ files keep the CMU joint rotations unchanged for every clip.
Files
| Folder | Size | What | For |
|---|---|---|---|
objects/ | 1.20 GB | character + clip, meshopt geometry and animation (16-bit quaternions), WebP textures, 60 fps | three.js, Babylon.js, web games |
mobile/ | 1.05 GB | 50 % of the triangles, textures at most 512 px in KTX2, clip at 30 fps | phones and light laptops |
engine/ | 16.82 GB | no meshopt, no quantization, PNG textures, 60 fps | Godot, Blender, desktop engines |
skeleton/ | 1.20 GB | the source 31-joint skeleton alone, original rotations, root motion, no mesh | retargeting onto your own rig |
Each file holds one clip named after its id, <Style>_<Movement>: FW/BW forwards and backwards walk, FR/BR run, SW/SR sidestep walk and run, ID idle, TR1-3 transitions. The root bone carries the ground path (root motion); pelvis carries the rest of the hips motion. metadata.jsonl has one line per clip: style, its description, movement, frames, seconds and every file with its size.
The character uses the UE mannequin bone names (root, pelvis, spine_01, thigh_l, ...), so the engine/ clips retarget in Unreal and Godot like any mannequin animation. Fingers are not in the capture and stay at rest.
For web games and WebGPU
Use objects/ on desktop and mobile/ on phones. meshopt keeps the animation small (16-bit quaternions, keys a straight line already gives removed), and three.js decodes it with the same MeshoptDecoder as the mesh.
Measured on 12 clips. Phone page: 390x844 at 3x, pixel ratio capped at 2, CPU throttled 4x, network at Chrome's Fast 4G (150 ms, 9 Mbit/s), so phone load includes the download. The GPU is a desktop RTX 3060 and is not throttled: frame time shows the CPU side (skinning the clip included), a real phone GPU is slower.
| Tier | File (median) | VRAM (median) | Triangles | Phone load (4G) | Frame time | WebGPU load (local) |
|---|---|---|---|---|---|---|
| web (12) | 0.4 MB | 27.6 MiB | 14,318 | 681 ms | 1.7 ms | 28 ms |
| mobile (12) | 0.4 MB | 1.5 MiB | 7,157 | 538 ms | 1.6 ms | 11 ms |
three.js (WebGPU):
import * as THREE from 'three';
import { WebGPURenderer } from 'three/webgpu';
import { GLTFLoader } from 'three/addons/loaders/GLTFLoader.js';
import { KTX2Loader } from 'three/addons/loaders/KTX2Loader.js';
import { MeshoptDecoder } from 'three/addons/libs/meshopt_decoder.module.js';
const renderer = new WebGPURenderer({ antialias: true });
await renderer.init();
const ktx2 = new KTX2Loader().setTranscoderPath('https://cdn.jsdelivr.net/npm/three@0.187.0/examples/jsm/libs/basis/').detectSupport(renderer);
const loader = new GLTFLoader().setKTX2Loader(ktx2).setMeshoptDecoder(MeshoptDecoder);
const gltf = await loader.loadAsync('https://huggingface.co/datasets/codepawl/cmu-mocap-glb/resolve/main/objects/01_01-playground-forward-jumps-turn-around/01_01-playground-forward-jumps-turn-around.glb');
scene.add(gltf.scene);
const mixer = new THREE.AnimationMixer(gltf.scene);
mixer.clipAction(gltf.animations[0]).play();
// every frame: mixer.update(deltaSeconds)
The clips share one skeleton, so a clip from one file plays on the character of another: load one character, then only the animations of the rest.
Use it in Crucible
Crucible (formerly 67js) plays these clips with its skeleton pose layers:
npm install @codepawlhq/crucible meshoptimizer
import { CrucibleRenderer } from '@codepawlhq/crucible';
import { loadGltf } from '@codepawlhq/crucible/addons/gltf';
import { clipFromGltfAnimation, createAssetPose } from '@codepawlhq/crucible/addons/skeleton-pose';
import { MeshoptDecoder } from 'meshoptimizer';
const character = await loadGltf('https://huggingface.co/datasets/codepawl/cmu-mocap-glb/resolve/main/objects/01_01-playground-forward-jumps-turn-around/01_01-playground-forward-jumps-turn-around.glb', { decoders: { meshopt: MeshoptDecoder } });
const pose = createAssetPose(character, { layers: [{ clip: clipFromGltfAnimation(character.animations[0], { loop: true }) }] });
const renderer = new CrucibleRenderer(document.querySelector('canvas'), character.parts, { ground: true });
function frame(milliseconds) {
pose.apply(milliseconds / 1000);
renderer.updateParts(character.parts);
const hips = pose.jointWorld('pelvis').position;
renderer.render({ eye: [hips[0] + 2.5, 1.6, hips[2] + 3.5], target: hips });
requestAnimationFrame(frame);
}
requestAnimationFrame(frame);
Retarget quality
Each rig bone takes the world rotation change of its source joint, lined up once between the source T-pose and the character's rest pose. The ground path is scaled by the leg length ratio, then a two-bone leg IK puts the ball of each foot where the source's was, lowering the pelvis a few centimetres where the character's shorter foot needs it.
Every clip was played back from its engine/ file and compared with the source BVH (2067/2426 passed):
| Check | Source | Retargeted |
|---|---|---|
| Ball of the foot sliding while planted (median) | 0.061 m/s | 0.061 m/s |
| Ankle sliding while planted (median) | 0.060 m/s | 0.065 m/s |
| Worst clip, sliding beyond the source | 0.293 m/s | |
| Frames with a knee bent backwards that the source does not have | 1711 | |
| Root path, largest gap from the scaled source path | 0.0 mm |
Planted means within 3 cm of the foot's lowest point and under 0.25 m/s sideways in the source. Mocap feet slide a little on their own; the retarget may not add more than 2 cm/s.
Tested
Every file was loaded and its first clip played (some joint must move more than 1 cm at one of nine points through it), then drawn (drawn pixels counted), in three.js 0.187.0 and Crucible 0.20.0, files from a local copy of this repository.
| Tier | three.js WebGL | three.js WebGPU | Crucible |
|---|---|---|---|
| web | 2426/2426 | 2426/2426 | 2426/2426 |
| mobile | 2426/2426 | 2426/2426 | 2426/2426 |
| engine | 2426/2426 | 2426/2426 | 2426/2426 |
| skeleton | 2426/2426 | 2426/2426 | 2426/2426 |
Blender 5.2 import: engine 120/120, objects 120/120, skeleton 120/120. Godot 4.7.2 editor import, then the clip played: engine 12/12, skeleton 12/12.
Licence and credit
The data used in this project was obtained from mocap.cs.cmu.edu. The database was created with funding from NSF EIA-0196217.. Licence: LicenseRef-CMU-Mocap (https://mocap.cs.cmu.edu/faqs.php).
- Character (rig and mesh): Quaternius, Universal Base Characters, CC0-1.0 (https://quaternius.com/packs/universalbasecharacters.html)
Changes made: ASF/AMC converted to BVH (one joint per ASF bone, ASF rest pose as the zero pose, lengths in metres by the FAQ's 0.056444 scale, 120 Hz trials kept at every second frame for 60 fps), retargeted onto a CC0 Quaternius character with leg IK that keeps the source foot contacts, exported as glTF 2.0 with web, mobile and engine variants. The source skeleton clips keep the CMU joint rotations.
Source: https://mocap.cs.cmu.edu/. Packed by CodePawl. Follow CodePawl on X, GitHub, Threads and YouTube.
Dự án tương tự
Khám phá các dự án và mô hình AI khác có sự tương đồng.
[!NOTE] IMPORTANT: Please help us protect the integrity of this benchmark by not publicly sharing, re-uploading, or distributing the dataset. Humanity's Last Exam 🌐 Website | 📄 Paper | GitHub Center for AI Safety & Scale AI Humanity's Last Exam (HLE) is a multi-modal benchmark at the frontier of human knowledge, designed to be the final closed-ended academic benchmark of its kind with broad subject coverage. Humanity's Last Exam consists of 2,500 questions across dozens… See the full description on the dataset page: https://huggingface.co/datasets/cais/hle.
Agentic RL Environments RL training environments for LLM agents. Domain Task Family Verifier Code Software engineering Executable tests Cyber Vulnerability reproduction Rule checks General Knowledge work Rubric-based judging Visual Web development Visual grading Music Symbolic music composition Rule checks Docker images: https://hub.docker.com/r/xiaomimimo/mimo-v2.6-rl-oss Training code: https://github.com/XiaomiMiMo/verl
Dataset Card for Wikimedia Wikipedia Dataset Summary Wikipedia dataset containing cleaned articles of all languages. The dataset is built from the Wikipedia dumps (https://dumps.wikimedia.org/) with one subset per language, each containing a single train split. Each example contains the content of one full Wikipedia article with cleaning to strip markdown and unwanted sections (references, etc.). All language subsets have already been processed for recent dump… See the full description on the dataset page: https://huggingface.co/datasets/wikimedia/wikipedia.
🐋 The OpenOrca Dataset! 🐋 We are thrilled to announce the release of the OpenOrca dataset! This rich collection of augmented FLAN data aligns, as best as possible, with the distributions outlined in the Orca paper. It has been instrumental in generating high-performing model checkpoints and serves as a valuable resource for all NLP researchers and developers! Official Models Mistral-7B-OpenOrca Our latest model, the first 7B to score better overall than all… See the full description on the dataset page: https://huggingface.co/datasets/Open-Orca/OpenOrca.
📚 FineWeb-Edu 1.3 trillion tokens of the finest educational data the 🌐 web has to offer Paper: https://arxiv.org/abs/2406.17557 What is it? 📚 FineWeb-Edu dataset consists of 1.3T tokens and 5.4T tokens (FineWeb-Edu-score-2) of educational web pages filtered from 🍷 FineWeb dataset. This is the 1.3 trillion version. To enhance FineWeb's quality, we developed an educational quality classifier using annotations generated by LLama3-70B-Instruct. We… See the full description on the dataset page: https://huggingface.co/datasets/HuggingFaceFW/fineweb-edu.
Dataset Card for "wikitext" Dataset Summary The WikiText language modeling dataset is a collection of over 100 million tokens extracted from the set of verified Good and Featured articles on Wikipedia. The dataset is available under the Creative Commons Attribution-ShareAlike License. Compared to the preprocessed version of Penn Treebank (PTB), WikiText-2 is over 2 times larger and WikiText-103 is over 110 times larger. The WikiText dataset also features a far… See the full description on the dataset page: https://huggingface.co/datasets/Salesforce/wikitext.
Dataset containing synthetically generated (by GPT-3.5 and GPT-4) short stories that only use a small vocabulary. Described in the following paper: https://arxiv.org/abs/2305.07759. The models referred to in the paper were trained on TinyStories-train.txt (the file tinystories-valid.txt can be used for validation loss). These models can be found on Huggingface, at roneneldan/TinyStories-1M/3M/8M/28M/33M/1Layer-21M. Additional resources: tinystories_all_data.tar.gz - contains a superset of… See the full description on the dataset page: https://huggingface.co/datasets/roneneldan/TinyStories.
Dataset Card for ImageNet Dataset Summary ILSVRC 2012, commonly known as 'ImageNet' is an image dataset organized according to the WordNet hierarchy. Each meaningful concept in WordNet, possibly described by multiple words or word phrases, is called a "synonym set" or "synset". There are more than 100,000 synsets in WordNet, majority of them are nouns (80,000+). ImageNet aims to provide on average 1000 images to illustrate each synset. Images of each concept are… See the full description on the dataset page: https://huggingface.co/datasets/ILSVRC/imagenet-1k.
Dataset Card for UltraChat 200k Dataset Description This is a heavily filtered version of the UltraChat dataset and was used to train Zephyr-7B-β, a state of the art 7b chat model. The original datasets consists of 1.4M dialogues generated by ChatGPT and spanning a wide range of topics. To create UltraChat 200k, we applied the following logic: Selection of a subset of data for faster supervised fine tuning. Truecasing of the dataset, as we observed around 5% of… See the full description on the dataset page: https://huggingface.co/datasets/HuggingFaceH4/ultrachat_200k.