Datasets:
Update dataset card / previews / scripts
Browse files275 unmodified lines276277278279279280281282283284285286287285286287288289290291292293294295296297298275 unmodified lines
```bashpython scripts/prepare_training.py data/P1C1 --out /scratch/train/P1C1 \ --stride 4 --cams 0 3 6 9 12 15 18 21 --masks --workers 8 --stride 4 --cams 0 3 6 9 12 15 18 21 --workers 8```
```/scratch/train/P1C1/ calibration_full.json {"cam00": {K, R, T, RT, imgSize, ...}} world-to-camera, Y-up cam_cam00/00000001.jpg RGB, named by GT frame id cam_cam00/mask/00000001.png smplx/00000001.npz per-frame params, (1,D) cam_cam00/00000000.jpg RGB from the mp4's LEFT half, named by frame id cam_cam00/mask/00000000.png alpha matte from the RIGHT half smplx/00000000.npz per-frame params, (1,D) smplx_params.npz the same params stacked meta.json```
Masks are written **by default** (the matte is a training input); pass `--no-masks` to skipthem. The world Y-flip is baked into `calibration_full.json`, so the trainer never sees theDEGAS calibration quirk.
This is the **proposed** training contract. Key names and the image/mask split will bereconciled against the training code in the retrain phase; re-emitting after a formatchange costs one ffmpeg pass per camera.README.md+8-4