09_voxel_update_f1_harm: voxel update head f1 (do no harm) 6k, head of the TSDF-decided best arm (orbit benchmark)
Browse files
09_voxel_update_f1_harm/README.md
ADDED
|
@@ -0,0 +1,57 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Voxel update head f1 (do no harm), step 6000: the head of the best orbit-benchmark arm
|
| 2 |
+
|
| 3 |
+
`head_006000.pt` - the trained voxel update head (outputs/voxupd4/f1_harm/head_006000.pt) behind the **TSDF-decided write**,
|
| 4 |
+
the best arm on the DL3DV orbit (revisit) benchmark as of 2026-10-30. The file holds the voxel head only (7.9 M parameters);
|
| 5 |
+
the trunk, proposal head and surface decoder come from the clean voxel arm in `07_clean_voxel_f3r/`.
|
| 6 |
+
|
| 7 |
+
- **Needs, besides this file** (run from the repo root):
|
| 8 |
+
- `07_clean_voxel_f3r/ema_070000.pt` at `outputs/clean_voxel_f3r/ema_070000.pt` (the base path this checkpoint records);
|
| 9 |
+
- the decoder construction files `free_completion_20260927/checkpoints/ray/step002000` from `03_checkpoints_streaming.zip`,
|
| 10 |
+
at `outputs/clean/free_completion_20260927/checkpoints/ray/step002000` (the path F3 records; the zip restores it under
|
| 11 |
+
`outputs/free_completion_20260927/`, so move or link it). F3's weights are loaded over it;
|
| 12 |
+
- the 3D-Belief prior `3d_belief_re10k_256.pt` at `$FLC_BELIEF_CKPT`, read when the trunk is built (F3's weights are loaded
|
| 13 |
+
over it). Not in this repo;
|
| 14 |
+
- the orbit caches `data/orbit_cache/dl3dv_val33` / `dl3dv_test33` (DL3DV orbits with VGGT-Omega geometry,
|
| 15 |
+
`scripts/data/build_orbit_cache.py`). Not in this repo.
|
| 16 |
+
- **Training:** `flc/unified/train_voxel_update.py`, 6000 steps, one B200, about 1.6 h, from F3 70k with everything but the
|
| 17 |
+
voxel head frozen. Data: 400 DL3DV training orbits (`data/orbit_cache/dl3dv_train`), rollouts over each stream with the write
|
| 18 |
+
in the loop: A4 write (association along the ray 8 voxels, evidence weights, depth test 8, prune .01), evidence / age input.
|
| 19 |
+
Loss: L1 + LPIPS + 0.1 depth at window frames and at 5 other frames that see the window's region (up to 150 degrees away,
|
| 20 |
+
weight .7), plus the do-no-harm term (weight 3): a hinged penalty on any rise of the other frames' 16 px patch L1 / frame
|
| 21 |
+
LPIPS over the memory before the update. Full command: command.json.
|
| 22 |
+
- **Code:** branch amodal-completion. Trained on 2026-10-29 from the working tree; the code is in commit 9edc5dd (2026-10-30),
|
| 23 |
+
whose later additions to the trainer are off by default (not re-run at that commit).
|
| 24 |
+
- **Load** as an `eval_long_stream.py --snapshot` (dict with 'voxel_update', 'base', 'voxel_args', 'ema_head', 'args', 'step';
|
| 25 |
+
`flc.unified.train_root_ae.load_teacher`).
|
| 26 |
+
|
| 27 |
+
## The best arm: TSDF-decided write
|
| 28 |
+
|
| 29 |
+
Voxel memory written by this head. A wide-band TSDF (band 15 voxels and at least the merge range) is kept beside it, fed
|
| 30 |
+
each window's own prediction and the observed colours. A window may change the memory only in its holes and in 16 px patches
|
| 31 |
+
where the memory disagrees with the TSDF (log-depth > .4 on most covered pixels, or patch-mean colour > .3), about 21-24 % of
|
| 32 |
+
its pixels; elsewhere the memory is kept as stored.
|
| 33 |
+
|
| 34 |
+
python scripts/unified/eval_long_stream.py --snapshot 09_voxel_update_f1_harm/head_006000.pt \
|
| 35 |
+
--data data/orbit_cache/dl3dv_test33 --clips 33 --loops 2 --async-period 0 --diag-drift --arm none --mem-rule voxel \
|
| 36 |
+
--vox-prune .01 --vox-assoc 8 --vox-wcap 1e9 --vox-evmax --vox-gate 8 \
|
| 37 |
+
--vox-patch 0 --vox-patch-ref tsdf --vox-patch-hole pixel --vox-patch-dd .4 --vox-patch-dc .3 \
|
| 38 |
+
--compose-tsdf 15 --compose-3d --out <dir>
|
| 39 |
+
|
| 40 |
+
(from commit 9edc5dd, `--preset tsdf_decided` sets the write flags and `--compose-tsdf 15`.)
|
| 41 |
+
|
| 42 |
+
dl3dv_test33 (33 DL3DV test orbits), the stream walked twice (6 orbits), the first orbit's held-out frames rendered after every
|
| 43 |
+
window, all pixels (holes count). One seed, B200. Runs are not bit-reproducible (GPU nondeterminism flips borderline patch
|
| 44 |
+
decisions, up to 0.09 dB per window on one scene).
|
| 45 |
+
|
| 46 |
+
| test33, 6 orbits, all pixels | PSNR orbit 1 / 3 / 6 | change at 6 | LPIPS at 6 |
|
| 47 |
+
|---|---|---|---|
|
| 48 |
+
| headline A: memory + the TSDF's low frequencies (box-15 blur of TSDF - memory, TSDF in holes; `track_*_all_c15`) | 15.25 / 15.61 / 15.84 | +0.59 | .561 |
|
| 49 |
+
| headline B: 3D recolouring (each root's Gaussians shifted by the mean TSDF - Gaussian colour; `track_*_all_c3r`) | 16.01 / 15.96 / 15.98 | -0.03 | .552 |
|
| 50 |
+
| the memory alone (`track_*_all`) | 15.71 / 15.58 / 15.60 | -0.11 | .554 |
|
| 51 |
+
| wide-band TSDF (baseline, same window predictions) | 14.98 / 15.36 / 15.56 | +0.58 | .622 |
|
| 52 |
+
| this head, every write re-fuses (no TSDF decision) | 15.87 / 15.22 / 14.90 | -0.97 | .578 |
|
| 53 |
+
|
| 54 |
+
Curves after every window: `best_arm_test33_6orbits.png` (numbers in `best_arm_test33_6orbits.json`). Which headline to report
|
| 55 |
+
is still open.
|
| 56 |
+
|
| 57 |
+
sha256 head_006000.pt: af728224d497462e686ae8275d6bc051a6adb7330e636808522a1ba100b38969
|
09_voxel_update_f1_harm/best_arm_test33_6orbits.json
ADDED
|
@@ -0,0 +1,72 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"Headline A: memory + TSDF lows (c15)": {
|
| 3 |
+
"psnr": {
|
| 4 |
+
"n": 33,
|
| 5 |
+
"start": 11.810133934020996,
|
| 6 |
+
"mid": 15.608428868380459,
|
| 7 |
+
"end": 15.839989719968854
|
| 8 |
+
},
|
| 9 |
+
"lpips": {
|
| 10 |
+
"n": 33,
|
| 11 |
+
"start": 0.5832957029342651,
|
| 12 |
+
"mid": 0.563083928642851,
|
| 13 |
+
"end": 0.5604310893651211
|
| 14 |
+
}
|
| 15 |
+
},
|
| 16 |
+
"Headline B: 3D recolouring (c3r)": {
|
| 17 |
+
"psnr": {
|
| 18 |
+
"n": 33,
|
| 19 |
+
"start": 11.464308420817057,
|
| 20 |
+
"mid": 15.959378589283336,
|
| 21 |
+
"end": 15.981326305505002
|
| 22 |
+
},
|
| 23 |
+
"lpips": {
|
| 24 |
+
"n": 33,
|
| 25 |
+
"start": 0.5789229273796082,
|
| 26 |
+
"mid": 0.5521636569138729,
|
| 27 |
+
"end": 0.5524708339662263
|
| 28 |
+
}
|
| 29 |
+
},
|
| 30 |
+
"TSDF-decided memory alone": {
|
| 31 |
+
"psnr": {
|
| 32 |
+
"n": 33,
|
| 33 |
+
"start": 11.507584571838379,
|
| 34 |
+
"mid": 15.584838838288277,
|
| 35 |
+
"end": 15.585186756018436
|
| 36 |
+
},
|
| 37 |
+
"lpips": {
|
| 38 |
+
"n": 33,
|
| 39 |
+
"start": 0.5779265562693278,
|
| 40 |
+
"mid": 0.553575286359498,
|
| 41 |
+
"end": 0.5541323242765485
|
| 42 |
+
}
|
| 43 |
+
},
|
| 44 |
+
"Wide-band TSDF (baseline)": {
|
| 45 |
+
"psnr": {
|
| 46 |
+
"n": 33,
|
| 47 |
+
"start": 10.84955883026123,
|
| 48 |
+
"mid": 15.356085892879602,
|
| 49 |
+
"end": 15.56182676373106
|
| 50 |
+
},
|
| 51 |
+
"lpips": {
|
| 52 |
+
"n": 33,
|
| 53 |
+
"start": 0.6679924329121908,
|
| 54 |
+
"mid": 0.6317940372409243,
|
| 55 |
+
"end": 0.6224375312978571
|
| 56 |
+
}
|
| 57 |
+
},
|
| 58 |
+
"f1 head, every write re-fuses": {
|
| 59 |
+
"psnr": {
|
| 60 |
+
"n": 33,
|
| 61 |
+
"start": 11.507584571838379,
|
| 62 |
+
"mid": 15.215329430320047,
|
| 63 |
+
"end": 14.902457555135092
|
| 64 |
+
},
|
| 65 |
+
"lpips": {
|
| 66 |
+
"n": 33,
|
| 67 |
+
"start": 0.5779262781143188,
|
| 68 |
+
"mid": 0.5684382572318568,
|
| 69 |
+
"end": 0.5781347408439174
|
| 70 |
+
}
|
| 71 |
+
}
|
| 72 |
+
}
|
09_voxel_update_f1_harm/best_arm_test33_6orbits.png
ADDED
|
Git LFS Details
|
09_voxel_update_f1_harm/command.json
ADDED
|
@@ -0,0 +1,75 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"argv": [
|
| 3 |
+
"flc/unified/train_voxel_update.py",
|
| 4 |
+
"--out",
|
| 5 |
+
"outputs/voxupd4/f1_harm",
|
| 6 |
+
"--snapshot",
|
| 7 |
+
"outputs/clean_voxel_f3r/ema_070000.pt",
|
| 8 |
+
"--data",
|
| 9 |
+
"data/orbit_cache/dl3dv_train",
|
| 10 |
+
"--steps",
|
| 11 |
+
"6000",
|
| 12 |
+
"--save-every",
|
| 13 |
+
"1500",
|
| 14 |
+
"--evidence",
|
| 15 |
+
"--prune",
|
| 16 |
+
".01",
|
| 17 |
+
"--max-ang",
|
| 18 |
+
"150",
|
| 19 |
+
"--see-region",
|
| 20 |
+
"--assoc",
|
| 21 |
+
"8",
|
| 22 |
+
"--evw",
|
| 23 |
+
"--gate",
|
| 24 |
+
"8",
|
| 25 |
+
"--w-harm",
|
| 26 |
+
"3"
|
| 27 |
+
],
|
| 28 |
+
"args": {
|
| 29 |
+
"out": "outputs/voxupd4/f1_harm",
|
| 30 |
+
"snapshot": "outputs/clean_voxel_f3r/ema_070000.pt",
|
| 31 |
+
"data": "data/orbit_cache/dl3dv_train",
|
| 32 |
+
"overfit": "",
|
| 33 |
+
"exclude": "",
|
| 34 |
+
"steps": "6000",
|
| 35 |
+
"rollouts": "2",
|
| 36 |
+
"lr": "5e-05",
|
| 37 |
+
"warmup": "100",
|
| 38 |
+
"ema": "0.999",
|
| 39 |
+
"n_win": "3",
|
| 40 |
+
"n_other": "5",
|
| 41 |
+
"far": "12",
|
| 42 |
+
"max_ang": "150.0",
|
| 43 |
+
"see_region": "True",
|
| 44 |
+
"w_other": "0.7",
|
| 45 |
+
"lpips_w": "1.0",
|
| 46 |
+
"w_harm": "3.0",
|
| 47 |
+
"harm_patch": "16",
|
| 48 |
+
"w_depth": "0.1",
|
| 49 |
+
"dep_clamp": "0.3",
|
| 50 |
+
"hold": "False",
|
| 51 |
+
"wcap": "0.0",
|
| 52 |
+
"evidence": "True",
|
| 53 |
+
"gate": "8.0",
|
| 54 |
+
"band": "False",
|
| 55 |
+
"evw": "True",
|
| 56 |
+
"assoc": "8.0",
|
| 57 |
+
"assoc_lat": "1.0",
|
| 58 |
+
"accum": "",
|
| 59 |
+
"accum_range": "8.0",
|
| 60 |
+
"angle": "False",
|
| 61 |
+
"train_trunk": "False",
|
| 62 |
+
"lr_trunk": "2e-05",
|
| 63 |
+
"w_self": "0.2",
|
| 64 |
+
"prune": "0.01",
|
| 65 |
+
"max_roots_render": "200000",
|
| 66 |
+
"log_every": "20",
|
| 67 |
+
"save_every": "1500",
|
| 68 |
+
"ot_w": "0.0",
|
| 69 |
+
"ot_geo_w": "0.0",
|
| 70 |
+
"ot_n": "2",
|
| 71 |
+
"ot_frac": "0.3",
|
| 72 |
+
"adv_start": "300",
|
| 73 |
+
"seed": "0"
|
| 74 |
+
}
|
| 75 |
+
}
|
09_voxel_update_f1_harm/head_006000.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:af728224d497462e686ae8275d6bc051a6adb7330e636808522a1ba100b38969
|
| 3 |
+
size 31681221
|