fernandotonon commited on
Commit
c9dbca3
·
verified ·
1 Parent(s): 4a0777f

Model card: QtMesh T2M v9 (text-conditioned), comparisons, benchmarks

Browse files
Files changed (1) hide show
  1. README.md +70 -1
README.md CHANGED
@@ -4,16 +4,85 @@ tags:
4
  - text-to-motion
5
  - animation
6
  - onnx
 
7
  - qtmesheditor
8
  ---
9
 
10
  # QtMeshEditor — text-to-motion (t2m)
11
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
12
  Generative text→skeletal-animation model shipped with
13
  [QtMeshEditor](https://github.com/fernandotonon/QtMeshEditor)
14
  (`qtmesh anim <rig> --generate "<prompt>" --model`).
15
 
16
- **Current: v8.0** — flow-matching DiT, 21.7M params, 30 actions.
17
 
18
  ## Files
19
 
 
4
  - text-to-motion
5
  - animation
6
  - onnx
7
+ - gguf
8
  - qtmesheditor
9
  ---
10
 
11
  # QtMeshEditor — text-to-motion (t2m)
12
 
13
+ Text→skeletal-animation models shipped with [QtMeshEditor](https://github.com/fernandotonon/QtMeshEditor).
14
+
15
+ ## QtMesh T2M (v9, text-conditioned) — experimental
16
+
17
+ QtMeshEditor's own text-to-motion model, offered next to NVIDIA Kimodo in the editor (Animation panel →
18
+ **Model: QtMesh T2M**, CLI `--backend qtmesh_t2m`, MCP `generate_motion {backend: "qtmesh_t2m"}`). Kimodo stays the
19
+ default; QtMesh T2M is **much smaller and faster, intended for lower-end machines, with lower quality**.
20
+
21
+ It conditions on a sentence embedding of the prompt (Qwen3-Embedding-0.6B), so wording, sides ("with the right
22
+ hand"), styles and speeds reach the model — unlike the v8 action-label model below.
23
+
24
+ ### Kimodo vs QtMesh T2M
25
+
26
+ Same generated character, same prompt, 3 s, in place, one sample each (seed in the caption).
27
+
28
+ ![walk](media/compare_walk.gif)
29
+ ![run](media/compare_run.gif)
30
+ ![wave with the right hand](media/compare_waveR.gif)
31
+ ![jump](media/compare_jump.gif)
32
+
33
+ Jumps vary a lot with the seed: of ten seeds, four bend the knees 70–86° (the one shown), four barely move.
34
+
35
+ ### Memory and speed
36
+
37
+ One 3 s clip on an Apple M-series Mac; the CLI run includes importing the rig and exporting the result.
38
+
39
+ | | NVIDIA Kimodo (native) | QtMesh T2M |
40
+ |---|---|---|
41
+ | Download | ~9.2 GB | ~740 MB |
42
+ | Text encoding | ~1.1 s + loading an 8 GB encoder | ~0.2–0.4 s |
43
+ | Motion sampling | ~14 s | ~2.7 s |
44
+ | Whole CLI run | 18–21 s | ~5 s |
45
+ | Peak resident memory | 7.6–8.2 GB | ~0.87 GB |
46
+
47
+ ### Files (`qtmesh_t2m/`)
48
+
49
+ - `t2m-text.onnx` (98 MB) — 22.6 M-parameter flow-matching transformer with AdaLN-Zero conditioning; the 24-step
50
+ Euler sampler with classifier-free guidance (2.0) is unrolled in the graph. Inputs `text[1,1024]` (L2-normalised
51
+ embedding), `seed[1,19800]` ~ N(0, 0.5), `length[1]` frames (≤ 150, 30 fps); output `motion[1,150,220]`: per
52
+ canonical role (22 joints) `t, quat x y z w, s`, world frame, rotation only.
53
+ - `t2m-text.json` — contract: shapes, fps, the embedding instruction, canonical rest directions.
54
+ - `Qwen3-Embedding-0.6B-Q8_0.gguf` — the text encoder (Apache-2.0, `LICENSE-Qwen3-Embedding.txt`), run through
55
+ llama.cpp: `"Instruct: Given a description of a human body motion, retrieve motions that match it\nQuery:" +
56
+ prompt`, last-token pooling, L2-normalised.
57
+ - `ATTRIBUTION.md` — required credits for the CC-BY-4.0 motion the model was trained on.
58
+
59
+ ### Training
60
+
61
+ - **Data:** 30,488 samples — 3,400 clips we generated with NVIDIA Kimodo (each also mirrored left↔right, with
62
+ "left"/"right" swapped in the text), plus the v8 windows (curated template library + CC0/CC-BY corpus) captioned
63
+ per action; 8,028 distinct texts including paraphrases. Kimodo outputs are not Derivative Models under the NVIDIA
64
+ Open Model License; Kimodo's Llama 3 text embeddings were never stored or trained on.
65
+ - **Recipe:** `scripts/prep-t2m-text.py` + `scripts/train-t2m-text.py` in the QtMeshEditor repo; 200 epochs, batch
66
+ 128, AdamW 2e-4 cosine, 10 % text dropout for CFG, padded to 150 frames with a length mask. The export pins the
67
+ never-supervised canonical buttock roles (14/18) to identity.
68
+ - **Inference details in the editor:** long clips start from rest in the Kimodo data, so the editor generates up to
69
+ 1 s extra and trims the still start; root travel is estimated from the planted foot; the clip is retargeted with
70
+ the same incompatible-skeleton retargeter as Kimodo.
71
+
72
+ ### Limitations
73
+
74
+ One prompt per clip (no multi-segment timelines), up to 5 s, no root height (jumps stay on the spot), weaker on
75
+ rare actions; quality varies with the seed — generate a few variations.
76
+
77
+ ---
78
+
79
+ ## v8.0 action-label model (previous)
80
+
81
  Generative text→skeletal-animation model shipped with
82
  [QtMeshEditor](https://github.com/fernandotonon/QtMeshEditor)
83
  (`qtmesh anim <rig> --generate "<prompt>" --model`).
84
 
85
+ **v8.0** — flow-matching DiT, 21.7M params, 30 actions.
86
 
87
  ## Files
88