X-Zhang commited on
Commit
44e8883
·
verified ·
1 Parent(s): f4c907a

Upload README.md

Browse files
Files changed (1) hide show
  1. README.md +95 -0
README.md ADDED
@@ -0,0 +1,95 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: other
3
+ pretty_name: StreamTalk Inference Data
4
+ language:
5
+ - en
6
+ tags:
7
+ - motion-generation
8
+ - co-speech-gesture
9
+ - beat2
10
+ - smpl-x
11
+ size_categories:
12
+ - n<1K
13
+ ---
14
+
15
+ # StreamTalk Inference Data
16
+
17
+ Ready-to-compare SMPL-X predictions from the official retrained StreamTalk CFG checkpoints. This release follows the convenient inference-data style of [SemTalk](https://github.com/Xiangyue-Zhang/SemTalk): users can download generated test outputs and evaluate or visualize them without rerunning WavLM, retrieval, diffusion sampling, and SMPL-X conversion.
18
+
19
+ No BEAT2 ground-truth motion, audio, training cache, or model checkpoint is included in these archives.
20
+
21
+ ## Downloads
22
+
23
+ | Scope | Clips | Checkpoint | CFG | Archive | SHA-256 |
24
+ | :-- | --: | :-- | --: | :-- | :-- |
25
+ | Speaker 2 (Scott) | 15 | epoch 946 | 3 | [download](https://huggingface.co/datasets/X-Zhang/StreamTalk-Inference-Data/resolve/main/streamtalk_speaker2_e0946_cfg3_npz.tar.gz) | `859cb968c04804a797e3f8eb17aeba1f91bda29305f970564c9be481e41fa452` |
26
+ | All speakers | 265 | epoch 940 | 3 | [download](https://huggingface.co/datasets/X-Zhang/StreamTalk-Inference-Data/resolve/main/streamtalk_all_e0940_cfg3_npz.tar.gz) | `295d933883dc40acb9df5f2d2ba02767ec62c9d83f423a78900932499fc8edb4` |
27
+
28
+ ```bash
29
+ wget https://huggingface.co/datasets/X-Zhang/StreamTalk-Inference-Data/resolve/main/streamtalk_speaker2_e0946_cfg3_npz.tar.gz
30
+ wget https://huggingface.co/datasets/X-Zhang/StreamTalk-Inference-Data/resolve/main/streamtalk_all_e0940_cfg3_npz.tar.gz
31
+ sha256sum -c SHA256SUMS
32
+
33
+ tar -xzf streamtalk_speaker2_e0946_cfg3_npz.tar.gz
34
+ tar -xzf streamtalk_all_e0940_cfg3_npz.tar.gz
35
+ ```
36
+
37
+ ## Released FGD re-score
38
+
39
+ The downloadable NPZ bytes were independently re-scored with the StreamTalk release scorer and the pinned EMAGE/PantoMatrix AESK encoder (`SHA-256 5cd9566b...c40f55`). Equal-length metric batching uses batch size 16.
40
+
41
+ | Scope | Archive re-score FGD ↓ | Selection-time FGD ↓ | Absolute difference |
42
+ | :-- | --: | --: | --: |
43
+ | Speaker 2 (Scott) | **0.3788789702354345** | 0.3788789702354416 | 7.1e-15 |
44
+ | All speakers | **0.21764184426140076** | 0.21767150775461275 | 2.97e-5 |
45
+
46
+ Both differences are below the selected engineering reporting tolerance of `1e-3`. These are accelerated EMAGE/AESK measurements, not a claim of paper-exact B=1/M=1/full-window bitwise equivalence. See `speaker2_fgd.json` and `all_fgd.json` for the complete metric contract.
47
+
48
+ ## NPZ schema
49
+
50
+ Every archive contains one `res_<BEAT2-test-id>.npz` per official test ID plus a scope manifest. Load files with `allow_pickle=False`.
51
+
52
+ | Key | Shape/type | Meaning |
53
+ | :-- | :-- | :-- |
54
+ | `poses` | `[T, 165]`, float32 | local SMPL-X axis-angle rotations |
55
+ | `trans` | `[T, 3]`, float32 | root translation |
56
+ | `expressions` | `[T, 100]`, float32 | facial expression coefficients |
57
+ | `betas` | `[300]`, float32 | body-shape coefficients |
58
+ | `gender` | string | body-model metadata |
59
+ | `mocap_frame_rate` | scalar | 30 FPS |
60
+ | `model` | string | `smplx2020` |
61
+
62
+ ```python
63
+ import numpy as np
64
+
65
+ with np.load("res_2_scott_0_1_1.npz", allow_pickle=False) as motion:
66
+ poses = motion["poses"]
67
+ expressions = motion["expressions"]
68
+ trans = motion["trans"]
69
+ ```
70
+
71
+ ## Re-score with StreamTalk
72
+
73
+ The generated files do not include BEAT2 ground truth. After obtaining BEAT2 under its own terms, use the scorer in the [StreamTalk repository](https://github.com/Xiangyue-Zhang/StreamTalk):
74
+
75
+ ```bash
76
+ python tools/evaluate_generated_fgd.py \
77
+ --predictions streamtalk_speaker2_e0946_cfg3_npz \
78
+ --ground_truth /path/to/beat_english_v2.0.0/smplxflame_30 \
79
+ --scope speaker2 --device cuda:0 --metric_batch_size 16
80
+
81
+ python tools/evaluate_generated_fgd.py \
82
+ --predictions streamtalk_all_e0940_cfg3_npz \
83
+ --ground_truth /path/to/beat_english_v2.0.0/smplxflame_30 \
84
+ --scope all --device cuda:0 --metric_batch_size 16
85
+ ```
86
+
87
+ ## Provenance and terms
88
+
89
+ - Generator code: StreamTalk training/evaluation commit `b6cac99d5bae5164a21f5db25afef72c3c30556a`.
90
+ - Speaker 2 checkpoint SHA-256: `07065d52e333cc48960e4e8fad5c0331f6b9e482f14aa1b78cb721904da5b075`.
91
+ - All-speaker checkpoint SHA-256: `3a0e3558d788fd3f11a5a87a8198b42725104b5b9b24f95a4e7c84c14395c9a5`.
92
+ - Seed: 0. Speaker 2 generation uses clip batch 1; all-speaker generation uses clip batch 16; both use CFG 3 and an 8-frame retrieval query.
93
+
94
+ The predictions are derived from experiments on BEAT2 and use the SMPL-X body model. Users remain responsible for complying with the licenses and terms of the [BEAT2 dataset](https://huggingface.co/datasets/H-Liu1997/BEAT2) and [SMPL-X](https://smpl-x.is.tue.mpg.de/). This dataset card does not redistribute BEAT2 ground truth, audio, or SMPL-X model files.
95
+