Datasets:
Update dataset card / previews / scripts
Browse files
README.md
CHANGED
|
@@ -276,19 +276,23 @@ the DEGAS / AvatarReX style trainers expect:
|
|
| 276 |
|
| 277 |
```bash
|
| 278 |
python scripts/prepare_training.py data/P1C1 --out /scratch/train/P1C1 \
|
| 279 |
-
--stride 4 --cams 0 3 6 9 12 15 18 21 --
|
| 280 |
```
|
| 281 |
|
| 282 |
```
|
| 283 |
/scratch/train/P1C1/
|
| 284 |
calibration_full.json {"cam00": {K, R, T, RT, imgSize, ...}} world-to-camera, Y-up
|
| 285 |
-
cam_cam00/
|
| 286 |
-
cam_cam00/mask/
|
| 287 |
-
smplx/
|
| 288 |
smplx_params.npz the same params stacked
|
| 289 |
meta.json
|
| 290 |
```
|
| 291 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 292 |
This is the **proposed** training contract. Key names and the image/mask split will be
|
| 293 |
reconciled against the training code in the retrain phase; re-emitting after a format
|
| 294 |
change costs one ffmpeg pass per camera.
|
|
|
|
| 276 |
|
| 277 |
```bash
|
| 278 |
python scripts/prepare_training.py data/P1C1 --out /scratch/train/P1C1 \
|
| 279 |
+
--stride 4 --cams 0 3 6 9 12 15 18 21 --workers 8
|
| 280 |
```
|
| 281 |
|
| 282 |
```
|
| 283 |
/scratch/train/P1C1/
|
| 284 |
calibration_full.json {"cam00": {K, R, T, RT, imgSize, ...}} world-to-camera, Y-up
|
| 285 |
+
cam_cam00/00000000.jpg RGB from the mp4's LEFT half, named by frame id
|
| 286 |
+
cam_cam00/mask/00000000.png alpha matte from the RIGHT half
|
| 287 |
+
smplx/00000000.npz per-frame params, (1,D)
|
| 288 |
smplx_params.npz the same params stacked
|
| 289 |
meta.json
|
| 290 |
```
|
| 291 |
|
| 292 |
+
Masks are written **by default** (the matte is a training input); pass `--no-masks` to skip
|
| 293 |
+
them. The world Y-flip is baked into `calibration_full.json`, so the trainer never sees the
|
| 294 |
+
DEGAS calibration quirk.
|
| 295 |
+
|
| 296 |
This is the **proposed** training contract. Key names and the image/mask split will be
|
| 297 |
reconciled against the training code in the retrain phase; re-emitting after a format
|
| 298 |
change costs one ffmpeg pass per camera.
|