initialneil commited on
Commit
cfadb70
·
verified ·
1 Parent(s): f656036

All 10 captures have DPE codes; document the fixed crop box and stochastic camera mix

Browse files
Files changed (1) hide show
  1. README.md +20 -5
README.md CHANGED
@@ -487,15 +487,16 @@ convex combination as augmentation.
487
  | P3C2 | 814 | cam07, cam30 | 203 |
488
  | P4C1 | 3098 | cam07, cam30 | 774 |
489
  | P4C2 | 526 | cam07, cam30 | 131 |
 
 
 
 
 
 
490
 
491
  Counts are codes, not frames: each frame contributes one code per camera, so a capture of
492
  *N* frames shot with two cameras yields 2*N*.
493
 
494
- **`P5C2` and `P6C2` have no DPE codes.** They are the cross-reenactment driving sequences,
495
- and only the eight `P1`..`P4` captures were extracted. If you want to drive an avatar with
496
- `P5C2` or `P6C2` on the DPE path, generate them yourself with `scripts/extract_dpe_codes.py`
497
- (the command below), or use the SMPL-X path, which needs nothing extra.
498
-
499
  **How they were made.** The code is `mlp_exp(dir(mlp(enc(face_crop))))` from
500
  [OpenTalker/DPE](https://github.com/OpenTalker/DPE)'s `Generator(size=256, style_dim=512,
501
  motion_dim=20)`. That is exactly the tensor DPE's own `dec_exp` consumes, so it carries
@@ -505,6 +506,20 @@ per-frame function with no reference frame to choose and no convention to get wr
505
  face box comes from S3FD on one reference frame, expanded by 50 px, then held fixed for the
506
  sequence, matching DPE's own `crop_video.py`.
507
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
508
  **Cameras 07 and 30 are frontal tele views, and both are inside the training split.** The
509
  held-out evaluation camera (cam03, the frontal face closeup) is deliberately excluded, so
510
  no evaluation pixels leak into the face conditioning. Keep that property if you regenerate:
 
487
  | P3C2 | 814 | cam07, cam30 | 203 |
488
  | P4C1 | 3098 | cam07, cam30 | 774 |
489
  | P4C2 | 526 | cam07, cam30 | 131 |
490
+ | P5C2 | 622 | cam07, cam30 | 155 |
491
+ | P6C2 | 350 | cam07, cam30 | 87 |
492
+
493
+ **All 10 captures are covered**, including `P5C2` and `P6C2`, the cross-reenactment driving
494
+ sequences, so an avatar can be driven by another subject's session on the DPE path as well
495
+ as on the SMPL-X one.
496
 
497
  Counts are codes, not frames: each frame contributes one code per camera, so a capture of
498
  *N* frames shot with two cameras yields 2*N*.
499
 
 
 
 
 
 
500
  **How they were made.** The code is `mlp_exp(dir(mlp(enc(face_crop))))` from
501
  [OpenTalker/DPE](https://github.com/OpenTalker/DPE)'s `Generator(size=256, style_dim=512,
502
  motion_dim=20)`. That is exactly the tensor DPE's own `dec_exp` consumes, so it carries
 
506
  face box comes from S3FD on one reference frame, expanded by 50 px, then held fixed for the
507
  sequence, matching DPE's own `crop_video.py`.
508
 
509
+ **The crop is a FIXED box, not per-frame tracking.** S3FD detects once on a reference
510
+ frame, the box is padded by 50 px per side, and that box is reused unchanged for the rest
511
+ of the sequence, which is what DPE's own `crop_video.py` does. A subject who moves
512
+ substantially out of that box degrades, and nothing re-detects to recover. The reference
513
+ frame is mid-sequence by default (`frames[len // 2]`), never hand-picked, and both the
514
+ frame and the resulting box are recorded per capture in `dpe_meta.json` (`ref_frame` and
515
+ `stats.<cam>.box`), so every published code set is reproducible from its own metadata.
516
+
517
+ **The per-camera mix is stochastic, and it runs at evaluation time too.** A loader is
518
+ expected to draw `w ~ U(0,1)^N`, normalise it, and return `einsum('i,ij->j', w, codes)`,
519
+ redrawn on every sample. In DEGAS that is exactly what `__getitem__` does, during training
520
+ *and* during evaluation, so DPE-driven evaluation is not deterministic across cameras. If
521
+ you need reproducible numbers, restrict the evaluation to a single camera per frame.
522
+
523
  **Cameras 07 and 30 are frontal tele views, and both are inside the training split.** The
524
  held-out evaluation camera (cam03, the frontal face closeup) is deliberately excluded, so
525
  no evaluation pixels leak into the face conditioning. Keep that property if you regenerate: