Update README.md
Browse files
README.md
CHANGED
|
@@ -14,7 +14,7 @@ This dataset releases **data selection/preparation and the dialogue test set**.
|
|
| 14 |
|
| 15 |
| Path | Contents |
|
| 16 |
| --- | --- |
|
| 17 |
-
| `testset/` | 67 duplex and 71 semantic clips
|
| 18 |
| `manifests/train_all_resolved.json` | Full source pool: 121,054 aligned target/partner recordings, with portable paths |
|
| 19 |
| `manifests/train_selected81.json` | Selected inventory of 1,318 recordings from 81 speakers |
|
| 20 |
| `manifests/selected_speakers.json` | Selected speaker IDs |
|
|
@@ -74,9 +74,7 @@ conda activate ellsa2_kaolrm
|
|
| 74 |
python -m pip install -r preprocess/requirements-kaolrm.txt
|
| 75 |
```
|
| 76 |
|
| 77 |
-
|
| 78 |
-
|
| 79 |
-
Resolve the selected inventory against your download, then extract labels. The existing `flame_file` paths in the input describe expected labels; those files do not need to exist before extraction. Each row needs `pose_file`; the video defaults to the same basename with `.mp4`, or can be specified as `video_file`. Pose NPZs need `boxes_and_keypoints:keypoints` and `smplh:is_valid`; face landmarks occupy indices 23–90 in the original detector layout.
|
| 80 |
|
| 81 |
```bash
|
| 82 |
python preprocess/resolve_paths.py \
|
|
@@ -92,9 +90,7 @@ python preprocess/extract_kaolrm.py \
|
|
| 92 |
--device cuda:0
|
| 93 |
```
|
| 94 |
|
| 95 |
-
The extractor writes one `<pose_stem>_flame.npz` per recording into `outputs/flame_raw/`, and an absolute-path training manifest into `outputs/train_raw.json`. Use `--max-videos 2 --max-frames 96` for a small check, with a separate output directory.
|
| 96 |
-
|
| 97 |
-
Crop trajectories use the original 0.35 face margin, confidence threshold 0.05, 15/21-frame center/size smoothing and 0.10 coverage margin. Missing face measurements are interpolated for crop placement on valid body frames. Invalid body frames remain invalid; frames with no usable crop are zero-filled and excluded by `valid_mask`. Crop smoothing uses the complete source trajectory even when `--max-frames` limits the output. Facial parameters remain raw, with per-frame shape and no parameter smoothing. The NPZ stores 50 predicted expression coefficients padded to 100, six pose parameters, six zero eye parameters, and a 112D `motioncode`; the training loader selects the 108D representation used by the RVQ.
|
| 98 |
|
| 99 |
### Link source data and extracted labels
|
| 100 |
|
|
@@ -106,13 +102,13 @@ python preprocess/link_training_data.py \
|
|
| 106 |
--flame-root outputs/flame_raw
|
| 107 |
```
|
| 108 |
|
| 109 |
-
This creates `source/seamless_interaction/` under the data package. Audio, poses and transcripts link to the downloaded dataset; `flame_file` links to the newly extracted flat output directory.
|
| 110 |
|
| 111 |
Training can now use the included `manifests/train_selected81.json` unchanged, as described in the [training guide](../code/README.md#training).
|
| 112 |
|
| 113 |
## Speaker selection
|
| 114 |
|
| 115 |
-
The included `manifests/train_all_resolved.json` supplies the **121,054-recording source pool** used for the
|
| 116 |
|
| 117 |
### 1. Score 60-second windows
|
| 118 |
|
|
@@ -126,7 +122,7 @@ python preprocess/build_stageA_quality_data.py \
|
|
| 126 |
--target-sec 60 --stride-sec 30 --num-workers 4
|
| 127 |
```
|
| 128 |
|
| 129 |
-
The default scale uses source-pool quantiles frozen in `selection_protocol.json`. Use `--recompute-normalization` only when fitting a replacement full-pool scale.
|
| 130 |
|
| 131 |
| Quality component | Weight |
|
| 132 |
| --- | ---: |
|
|
@@ -152,9 +148,7 @@ python preprocess/build_stageA_select_spk.py \
|
|
| 152 |
--min-windows 1 --min-passed 1
|
| 153 |
```
|
| 154 |
|
| 155 |
-
These thresholds retain speakers with pass rate ≥ 0.70, mean quality ≥ 0.90, mean speech-motion compatibility ≥ 0.90, outlier rate ≤ 0.01, and at least one assessed/passing window.
|
| 156 |
-
|
| 157 |
-
For newly measured data, replace the CSV input with `outputs/speaker_quality_new.csv`. To use another source pool, supply an equivalent paired manifest with `pose_file`, `audio_file`, `audio_file_listen`, `word_file`, and optional `word_file_listen`. Both audio streams must share their timeline.
|
| 158 |
|
| 159 |
## License and distribution
|
| 160 |
|
|
|
|
| 14 |
|
| 15 |
| Path | Contents |
|
| 16 |
| --- | --- |
|
| 17 |
+
| `testset/` | ELLSA 2 dialogue gesture benchmark, 67 duplex and 71 semantic clips |
|
| 18 |
| `manifests/train_all_resolved.json` | Full source pool: 121,054 aligned target/partner recordings, with portable paths |
|
| 19 |
| `manifests/train_selected81.json` | Selected inventory of 1,318 recordings from 81 speakers |
|
| 20 |
| `manifests/selected_speakers.json` | Selected speaker IDs |
|
|
|
|
| 74 |
python -m pip install -r preprocess/requirements-kaolrm.txt
|
| 75 |
```
|
| 76 |
|
| 77 |
+
Resolve the selected inventory against your download, then extract labels.
|
|
|
|
|
|
|
| 78 |
|
| 79 |
```bash
|
| 80 |
python preprocess/resolve_paths.py \
|
|
|
|
| 90 |
--device cuda:0
|
| 91 |
```
|
| 92 |
|
| 93 |
+
The extractor writes one `<pose_stem>_flame.npz` per recording into `outputs/flame_raw/`, and an absolute-path training manifest into `outputs/train_raw.json`. Use `--max-videos 2 --max-frames 96` for a small check, with a separate output directory.
|
|
|
|
|
|
|
| 94 |
|
| 95 |
### Link source data and extracted labels
|
| 96 |
|
|
|
|
| 102 |
--flame-root outputs/flame_raw
|
| 103 |
```
|
| 104 |
|
| 105 |
+
This creates `source/seamless_interaction/` under the data package. Audio, poses and transcripts link to the downloaded dataset; `flame_file` links to the newly extracted flat output directory.
|
| 106 |
|
| 107 |
Training can now use the included `manifests/train_selected81.json` unchanged, as described in the [training guide](../code/README.md#training).
|
| 108 |
|
| 109 |
## Speaker selection
|
| 110 |
|
| 111 |
+
The included `manifests/train_all_resolved.json` supplies the **121,054-recording source pool** used for the speaker quality statistics. Its paths are portable `data/source/seamless_interaction/...` references; `--dataset-root` maps them to your downloaded files.
|
| 112 |
|
| 113 |
### 1. Score 60-second windows
|
| 114 |
|
|
|
|
| 122 |
--target-sec 60 --stride-sec 30 --num-workers 4
|
| 123 |
```
|
| 124 |
|
| 125 |
+
The default scale uses source-pool quantiles frozen in `selection_protocol.json`. Use `--recompute-normalization` only when fitting a replacement full-pool scale. If you already have an absolute-path `train_all_resolved.json`, pass it directly and omit `--dataset-root`.
|
| 126 |
|
| 127 |
| Quality component | Weight |
|
| 128 |
| --- | ---: |
|
|
|
|
| 148 |
--min-windows 1 --min-passed 1
|
| 149 |
```
|
| 150 |
|
| 151 |
+
These thresholds retain speakers with pass rate ≥ 0.70, mean quality ≥ 0.90, mean speech-motion compatibility ≥ 0.90, outlier rate ≤ 0.01, and at least one assessed/passing window.
|
|
|
|
|
|
|
| 152 |
|
| 153 |
## License and distribution
|
| 154 |
|