Datasets:
add docs+cards
Browse filesFiles changed (29)
- ATTRIBUTION.mdAdded+38
- README.mdAdded+109
- docs/CONVENTIONS.mdAdded+103
- docs/DATA.mdAdded+178
- docs/MODEL_CARD.mdAdded+124
- docs/RESULTS.mdAdded+784
- docs/STATUS.mdAdded+452
- docs/repair_20260913.mdAdded+119
- lens_profiles/camera_ranges.jsonAdded+25
- lens_profiles/profiles.jsonlAdded
- lens_profiles/profiles.report.jsonAdded+73
- results/base_raw_vace.train_summary.jsonAdded+29
- results/base_raw_vace_ood.clip_metrics.jsonAdded
- results/base_raw_vace_ood.summary.jsonAdded+114
- results/base_raw_vace_test.clip_metrics.jsonAdded
- results/base_raw_vace_test.summary.jsonAdded+153
- results/base_stage1a.train_summary.jsonAdded+29
- results/base_stage1a1b.train_summary.jsonAdded+29
- results/base_stage1a1b_ood.clip_metrics.jsonAdded
- results/base_stage1a1b_ood.summary.jsonAdded+116
- results/base_stage1a1b_test.clip_metrics.jsonAdded
- results/base_stage1a1b_test.summary.jsonAdded+155
- results/base_stage1a_ood.clip_metrics.jsonAdded
- results/base_stage1a_ood.summary.jsonAdded+116
- results/base_stage1a_test.clip_metrics.jsonAdded
- results/base_stage1a_test.summary.jsonAdded+155
- results/completed.jsonAdded+12
- results/plan.jsonAdded+948
- results/stage1b.summary.jsonAdded+657
1234567891011121314151617181920212223242526272829303132333435363738# Attribution and licensing
These clips are **derived works**. The upstream licences flow through to them,and the attribution below is a condition of redistribution, not a courtesy.
## Panoramas
Rendered from 749 equirectangular panoramas obtained through the OpenPano splitlists:
- **Poly Haven** (`*_16k.jpg`) — CC0 1.0. <https://polyhaven.com/hdris>- **HDRMaps** (`*_hdrmaps_com_free.jpg`) — free-licence HDRIs from <https://hdrmaps.com/>; check the per-asset terms before redistribution.
The Laval Indoor HDR panoramas that the same lists name are **not** included:they require a manual application and were never obtained.
## Lens profiles
- **Lensfun** — CC-BY-SA. <https://lensfun.github.io/> 6,432 entries across 1,429 families are used to build the OOD split, so the OOD clips and `lens_profiles/profiles.jsonl` inherit CC-BY-SA.- **Optiland** — ray-traced designs, 42 profiles. <https://github.com/HarrisonKramer/optiland>
## Models referenced by the results
- **Wan2.1-VACE-1.3B** — Apache-2.0, used frozen as a feature backbone.- **AnyCalib** — used only as a published baseline for comparison.
## This release
The manifests, dense ground truth, trajectories, documentation and measuredresults are released under **CC-BY-4.0**; cite this repository. The renderedpixels remain governed by the panorama licences above, and the OOD split isadditionally CC-BY-SA through Lensfun.
If you redistribute the rendered clips, carry these notices with them.123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109---license: otherlicense_name: mixed-source-attributionlicense_link: https://huggingface.co/datasets/chenming-wu/vidicalib/blob/main/ATTRIBUTION.mdtask_categories:- depth-estimationtags:- camera-calibration- wide-angle- fisheye- ray-field- video- syntheticsize_categories:- 10K<n<100K---
# ViDiCalib — wide-angle camera calibration from video
Synthetic video clips rendered from equirectangular panoramas through knownwide-angle camera models, with **exact** per-pixel ground truth: the ray field,gravity, latitude/up fields and validity masks used to *produce* the pixels arereturned by the renderer, not estimated from them.
This release contains the **labels, manifests, out-of-distribution test set andmeasured results**. The rendered RGB for the 49,434-clip training split is359 GB and is not included here; it is reproducible from the manifests and thepublic panoramas (see *Reproducing the renders*).
## What is here
| path | contents ||---|---|| `manifests/paper.manifest.jsonl` | 49,434 clips, 4,004,154 frames, 749 panoramas || `manifests/ood.manifest.jsonl` | 600 clips from measured lens profiles || `manifests/paper.qc_report.json` | QC gate result for the training split || `labels/paper_dense_gt.tar` | exact dense ground truth, one `.npz` per clip || `labels/paper_poses.tar` | camera trajectories || `labels/ood_*.tar` | the same for the OOD split, plus its shared ray grids || `ood/ood_videos.tar` | **the OOD clips' RGB** (3.7 GB) — usable as-is || `lens_profiles/` | 6,474 Lensfun/Optiland profiles, 1,436 families, with the train/test family split || `results/` | the controlled three-arm experiment: per-clip metrics and summaries || `docs/` | conventions, data provenance, results, model card, repair report |
## Conventions
Camera frame is x right, y down, z forward. **Pixel centres are at integers**— AnyCalib and GeoCalib put them at integer + 0.5, so `cx_ours = cx_theirs − 0.5`.Gravity is `g(roll, pitch) = (sin r cos p, cos r cos p, −sin p)`; GeoCalib's isthe negation of this. Getting either wrong produces plausible-looking numbersthat are wrong by a constant, so `docs/CONVENTIONS.md` states them explicitly.
## Splits
Partitioned **by panorama and by source group**, never by clip, so no panoramacontributes to two splits: train 44,220 / val 2,574 / test 2,640.
The OOD split is separate and stronger: its lenses come from **127 lensfamilies the training split never contains**, and its ground truth is eachprofile's own ray grid rather than a parametric fit — 88% of held-out profileshave no converged parametric fit, and those that do are off by up to 1°.
## Imaging conditions
clean 0.40, sensor noise 0.12, night 0.12, low texture 0.12, motion blur 0.08,dynamic occlusion 0.16. Motion blur is a genuine exposure integral, so itsmears along the actual motion. Occluders are accepted only under arecoverability invariant — every pixel visible in at least one frame — becausea pixel hidden in *every* frame is recoverable by no method and only adds labelnoise. Measured worst case over the whole split: 0.001.
## Results included
A controlled three-arm comparison of generative geometry pre-training, withevery variable fixed except the pre-trained branch:
| arm | test ray AE (2,640 clips) | OOD ray AE (600 clips) ||---|---|---|| no geometry pre-training | 10.312 | 9.724 || Stage-1a | 10.431 | 10.879 || Stage-1a + 1b | 10.128 | 10.149 |
Paired bootstrap against the no-pre-training arm: Stage-1a is **significantlyworse** (test +0.223°, CI [+0.133, +0.328]; OOD +0.965°, CI [+0.744, +1.170]);Stage-1a+1b is **not distinguishable** (test −0.087°, CI [−0.211, +0.039]; OOD+0.199°, CI [−0.212, +0.520]).
The pre-training does learn geometry — free-running generation improves rayangular error from 101° to 19° and temporal consistency from 60.9° to 0.68° —but that did not transfer to downstream calibration accuracy. For reference,AnyCalib scores 4.804° on the same test split.
## Reproducing the renders
The 359 GB of training RGB is deterministic given the manifests and the publicOpenPano panoramas. Each manifest record carries the camera model andparameters, the trajectory, the encoder settings, the imaging condition and aSHA-256 of the produced video, so a re-render can be checked byte for byte.
## Limitations
Translation is ignored (a panorama is at infinity), so parallax is absent.Occlusion is procedural, not real objects. The Laval Indoor HDR panoramas theOpenPano split lists also name require a manual application and are **absent**— 2,162 of 2,908 listed panoramas are missing, so the set is outdoor- andarchitecture-heavy relative to what those lists describe.
See `ATTRIBUTION.md` for licensing: the panoramas and the lens database carrytheir own terms and those flow through to these derived clips.123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103# Conventions
These are fixed for the whole repository, per design-doc section 2.3. Every dataadapter converts into them *before* anything reaches training.
## Camera frame
`x` right, `y` **down**, `z` forward (right-handed). Gravity `g_c` is the unitvector pointing towards physical *down*, expressed in this frame; a level camerahas `g_c = (0, 1, 0)`.
## Pixel frame
Origin at the **centre of the top-left pixel**: pixel centres are at integercoordinates, `u` right, `v` down. So a `W x H` image spans `[0, W-1] x [0, H-1]`.
> **Bridge to AnyCalib / GeoCalib.** Both put the origin at the top-left> *corner*, so their pixel centres are at integer + 0.5. The only affected> parameters are the principal point:> `cx_vidicalib = cx_theirs - 0.5`, `cy_vidicalib = cy_theirs - 0.5`.> Focal lengths and distortion coefficients carry over unchanged. This is> implemented in `vidicalib.models.baselines.pretrained.params_from_siclib` and> pinned by `tests/test_third_party_agreement.py`, which also checks our> projection formulas against AnyCalib's own camera classes.
## Rays
Every ray returned by `CameraModel.unproject` is L2-normalised. The QC gaterequires `| ||r|| - 1 | < 1e-4`; in practice it is at machine precision.
## Gravity parameterisation
Pitch first (about the camera `x` axis), then roll (about the optical axis):
```g(roll, pitch) = R_z(-roll) R_x(-pitch) (0, 1, 0) = (sin(roll) cos(pitch), cos(roll) cos(pitch), -sin(pitch))roll = atan2(g_x, g_y)pitch = -arcsin(g_z)```
Positive pitch means the optical axis points *above* the horizon. With`R_wc = R_y(yaw) R_x(pitch) R_z(roll)`, `gravity_from_world` recovers exactly the`roll` and `pitch` that were used to build the rotation — asserted in`tests/test_geometry.py::test_gravity_from_world_matches_euler`.
## Perspective fields
* **latitude** `phi(u,v) = arcsin(r . up)` where `up = -g` — the elevation of the ray above the gravity horizon, positive upwards, in `[-pi/2, pi/2]`. For a level camera the top of the image has positive latitude.* **up field** `h(u,v) in R^2` — the unit image-space direction in which the world vertical appears to run. Computed as the image of the tangent to the great circle through `r` and `up`, via a symmetric finite difference through the camera's own `project`, so it is correct for every camera model without hand-derived Jacobians.
## Equirectangular panoramas
```lambda = atan2(r_x, r_z) x_erp = W (lambda / 2pi + 1/2)phi = arcsin(r_y) y_erp = H (1/2 + phi / pi)```
With `y` down, `y_erp = H (1/2 + phi/pi)` puts the `+y` (down) pole at thebottom of the panorama. Longitude wraps; latitude clamps. The sampler(`vidicalib.render.erp.sample_erp`) is hand-written rather than `grid_sample`because `grid_sample`'s padding modes all corrupt the seam.
## Camera models
| model | parameters | notes ||---|---|---|| `pinhole` | `fx fy cx cy` | || `brown_conrady` | `fx fy cx cy k1 k2 p1 p2 k3` | OpenCV order. AnyCalib's `radial:1` is this with `k2=p1=p2=k3=0`. Lensfun's `acm` maps exactly onto it with `p1 = acm k4`, `p2 = acm k5`. || `kannala_brandt` | `fx fy cx cy k1 k2 k3 k4` | equidistant fisheye, KB4 || `eucm` | `fx fy cx cy alpha beta` | valid image disc has radius `1/sqrt((2a-1)b)` when `a > 0.5` || `double_sphere` | `fx fy cx cy xi alpha` | || `non_parametric` | base model + `[Gh, Gw, 2]` tangent grid | `ResidualRayField`; the grid is bilinearly upsampled, so the correction is low-frequency by construction |
Distortion is always expressed in **normalised camera coordinates** (`x = X/Z`),never in pixels. Lensfun's Hugin-coordinate models (`poly3`, `poly5`, `ptlens`)use a radius where `r = 1` is the image **half height**; the conversion factor is`s = half_height_mm / real_focal_mm`, so `r_normalised = s * r_hugin`.
## FoV
`CameraModel.fov` sums the two half-angles measured from the optical axis, sofields of view above 180 degrees are represented correctly (a single`arccos` between two edge rays cannot exceed 180 and silently folds). Where thevalid image disc is smaller than the sensor, the walk stops at the outermostvalid pixel and sets a `*_clipped` flag rather than returning `NaN`.
Reporting buckets (doc section 12.3), on the **diagonal** FoV:`<70`, `70-110`, `110-150`, `>150`.
## Splits
Splits are assigned to the **highest entity that could leak**, never to clips:panorama / source video, lens family, physical camera instance, vehicle, route.`vidicalib.data.manifest.assign_splits` hash-partitions entities so adding datalater does not reshuffle an existing assignment, and`check_split_leakage` is meant to run in CI.123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178# Data card
Covers what this repository actually produced, and what the design doc calls forbut could not be obtained here. Design-doc sections 6, 8, 9, 13.
## Line A — exact synthetic panorama video
**Source.** OpenPano, the panorama collection assembled for GeoCalib and reusedby AnyCalib. Public HTTPS download from ETH:`https://cvg-data.inf.ethz.ch/GeoCalib_ECCV2024/openpano.zip` (7.5 GB).
**What arrived.** 749 panoramas: 670 train / 39 val / 40 test, at 10000x5000 or16k, in the authors' own panorama-level split. Provenance groups: 618poly-haven-style `*_16k`, 130 `hdrmaps_com_free`, 1 other.
**What is missing.** The split lists name 2,908 panoramas. The remaining 2,162are Laval Indoor HDR, which requires a manual application to the authors(`tools/download/fetch.py info laval`). The indexer reports the shortfall persplit instead of silently skipping, and `select_panos` prints it on every run.Consequence: the synthetic tier here is built from the outdoor/HDRI part ofOpenPano only, so indoor scenes are under-represented relative to the paperconfiguration.
**Split policy.** The authors' panorama-level split is honoured rather thanre-drawn — re-splitting would silently invalidate the AnyCalib/GeoCalibcomparison, since those models were trained on this partition.
**Generated tiers.**
| tier | panoramas | clips | frames total | resolution | size | wall time ||---|---|---|---|---|---|---|| smoke | 20 | 200 | 16,200 | 832x480 | 732 MB | 285 s (12 workers) || MVP | 749 | 11,984 | 970,704 | 832x480 | 51 GB | 5.2 h (12 workers) |
MVP splits: 10,720 train / 624 val / 640 test clips from 749 distinct panoramasources. Camera-model counts 4,065 pinhole / 4,008 Brown-Conrady / 3,911 EUCM(0.339 / 0.334 / 0.326 against the 0.34 / 0.33 / 0.33 target). Trajectoryfamilies 7,185 rotation-only / 3,514 smooth 6-DoF / 1,285 difficult. Zero splitleakage, zero manifest integrity errors, 1,169 clips (9.8%) flagged`resolution_limited`.
Camera-model mixture reproduces AnyCalib's `openpano_v2_gen` config exactly:pinhole 0.34 / `radial:1` 0.33 / EUCM 0.33, with `vfov ~ U(20, 105)` deg for thefirst two and `U(50, 180)` deg for EUCM, `k1 = k1_hat * f / h` with`k1_hat ~ truncnorm(+-0.3, sigma 0.07)`, `alpha ~ U(0.5, 0.8)`,`beta ~ U(0.5, 2.0)`. On top of that ViDiCalib samples what the doc asks for andAnyCalib's generator does not: 30% of clips have an off-centre principal point(within +-10% of W/H) and 20% have non-square pixels (+-5%).
Trajectory mixture (doc section 7.1): rotation-only 0.34, smooth 6-DoF 0.29,real-motion replay 0.27, difficult 0.09. **The real-motion share is afallback**: no CameraBench / TUM VI pose files were available here, so thoseclips are sampled rotation-only trajectories tagged `fallback=True` with`intended_family="real_replay"`. `pool_summary` reports both the actual and theintended mixture so this cannot be misread.
**Per-clip storage.** One MP4 (H.264, CRF 14, preset medium), one Stage-1aoverlay MP4, one Stage-1b overlay MP4, and a compact NPZ. The NPZ stores onlywhat cannot be recomputed — camera parameters, validity mask, per-frame gravityand rotations, non-trivial coverage — so it is ~8.5 KiB per clip instead of the93 MiB a stored `81 x 480 x 832 x 3` float16 ray field would take. Latitude, upfield and the ray field are regenerated by `expand_dense_gt`.
**Resolution honesty.** A 480-row clip at 100 deg vertical FoV needs ~0.21deg/px, i.e. a panorama of at least ~1,729 rows before supersampling. Panoramasare loaded at 2,560 rows. Clips whose target camera is *narrower* than thepanorama can resolve are flagged `resolution_limited` in the manifest, with theachieved ratio recorded in `generator.pano_resolution_ratio`. In the smoke tier21 of 200 clips carry that flag.
## Line B — physical lens distortion
**Lensfun** (public git, `third_party/lensfun`). Parsed: **6,432 measureddistortion calibrations across 1,429 lens families** — `ptlens` 5,554, `poly3`873, `poly5` 5. For scale, AlignDiff's LensView bank is 3,187 profiles and isnot downloadable.
Built bank (`/data/derived/lenses/profiles.jsonl`): 6,474 profiles includingOptiland, across 1,436 families.
| distortion family | profiles ||---|---|| pincushion | 2,732 || barrel | 2,203 || negligible | 1,326 || moustache | 177 || fisheye | 36 |
Near-duplicate clustering found **2,169 distinct radial signatures among the6,474 profiles**, i.e. 4,255 are near-copies of another entry at the analysisresolution. That is worth knowing before quoting the raw count as diversity.
Family split: 999 train families and 296 test families, with`test_families_unseen_fraction = 1.0` -- every test family is absent fromtraining, against the doc's 20% requirement.
Brown-Conrady `k1` fitted from 120 real profiles spans `[-0.376, 0.221]`, whichbrackets the range AnyCalib's synthetic `k1_hat ~ truncnorm(+-0.3)` produces;`p1` and `p2` come out within `+-2e-4` of zero, because the open profile formatsare purely radial.
**Coverage gap: decentred / asymmetric distortion.** None of Lensfun's threepresent models (`ptlens`, `poly3`, `poly5`) can express it -- they are radial inone variable -- and the database contains no `acm` entries, the one format thatcarries tangential terms. The v1 synthetic sampling does not cover it either,because it follows AnyCalib's `radial:1` with `p1 = p2 = 0`. In this repositoryasymmetric distortion is therefore represented only by the non-parametricresidual field, which handles it by construction but gives the model no*training* signal for it. Closing this needs `acm`-format profiles, decentredOptiland designs, or measured LUTs from the real rig.
Every profile is converted to the canonical `pixel -> unit ray` grid plus a64x64 `ideal-pixel -> distorted-pixel` warp grid, with the Hugin-to-normalisedunit conversion taken from lensfun's own source rather than guessed. Per-profileanalysis records maximum displacement, monotonicity, Jacobian sign consistency,valid fraction, effective image circle and fittable FoV. Splits are by lens**family**, so the 24 mm and 70 mm nodes of one zoom never straddle a split.
**Optiland** (`pip install optiland`, MIT). Perturbed variants of its sampledesigns, traced with real rays to get image height versus field angle, theninverted. 42 valid profiles from 78 attempts across 7 designs (`cooke_triplet`,`double_gauss`, `reverse_telephoto`, `telephoto`, `tessar`, `heliar`,`aspheric_singlet`); `petzval` and `field_corrector` never traced successfullyand are reported as rejected rather than quietly dropped. Coverage is barrel andpincushion only — the sample designs are rectilinear photographic objectives, sofisheye and moustache come from Lensfun and from the syntheticKB / EUCM / Double-Sphere sampling.
**LensView** (AlignDiff's commercial source) is not used and not required; theopen path above is the main line, exactly as doc section 8.1 plan B specifies.
## Line C — real 7V capture
**Not collected.** This requires vehicle access, the camera rig, and thecalibration workflow of doc section 9 (Kalibr / BabelCalib / Basalt, AprilGridsequences, IMU static segments, temperature sweeps). What exists here is the*plumbing*: `ClipRecord` carries `domain_id`, `vehicle_id`, `route_id`,`gt_confidence` and `gt_ray_sigma_rad`; `check_split_leakage` enforces theinstance / vehicle / route / firmware split policy of doc section 9.3; and`SourceCalibration.ray_sigma` propagates the uncertainty of an *estimated*source calibration so re-distorted real footage is never treated as exact GT.
## Registration-gated sources
Not obtained, and not scriptable. `tools/download/fetch.py info <name>` printsthe exact procedure for each.
| source | reason ||---|---|| Laval Indoor HDR | manual application to the authors || KITTI-360 | registration + non-commercial licence || WoodScape | proprietary licence || Aria Digital Twin | registration, then a per-user CDN JSON || CameraBench train split | may require a form |
## Public-but-not-fetched sources
`360-1M`, `UCPE`/`PanShot`, `CO3Dv2` and `MegaDepth`/`TartanAir` have workingfetchers in `tools/download/fetch.py` but were not downloaded here. For 360-1Mthe fetcher deliberately stops after writing a filtered pilot selection: thefull set is ~200 TB, the filtered 24k subset ~5 TB, the YouTube URLs decay, andthe licence has to be checked per source.
## Licences
* OpenPano — per-panorama; the poly-haven and hdrmaps portions are the permissively licensed part of the collection. Check the upstream terms before redistribution.* Lensfun — CC-BY-SA / GPL depending on component; the profile *data* is an open database.* Optiland — MIT.* Wan2.1-VACE-1.3B — Apache-2.0.* AnyCalib, GeoCalib checkpoints — see their repositories.* CO3Dv2 — CC BY-NC 4.0 (non-commercial).
Raw downloads live outside the repository (`/data/raw`, `/data/models`) and arereferenced by configuration. No data, weights or cookies are committed.123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124# Model card -- ViDiCalib geometry decoder
Status: **research prototype, not calibrated for deployment.** The numbers beloware the ones measured in this repository; where a number is missing it ismissing, not implied.
## What it does
Takes a video clip from an uncalibrated wide-angle camera and predicts a denseper-pixel **ray field** -- the direction in the camera frame that each pixellooks along -- together with a gravity direction and per-clip uncertainty. Adifferentiable solver then fits a camera model to that field and selects whichmodel family fits, falling back to a non-parametric residual field when none ofthem does.
It does **not** regress distortion coefficients from the video. That is thecentral design decision (doc section 3): coefficients of different families arenot comparable, are badly conditioned at the image centre, and give a network nogeometric structure to exploit. The ray field is over-parameterised butwell-conditioned, and every camera model is recoverable from it by fitting.
## Intended use
Research on video-based camera calibration: reproducing the doc section 15comparison, ablating the pipeline, and as a starting point for further work.
## Out of scope
* **Metrology, safety, or anything where a wrong calibration is expensive.** The best configuration measured here is several times worse than the single-frame AnyCalib baseline; see Results.* **Real footage from cameras unlike the training distribution.** All training data is rendered from panoramas. Real sensor artefacts -- rolling shutter, lens flare, chromatic aberration, ISP sharpening, compression at low bitrate -- are approximated at best and absent at worst.* **Rolling-shutter cameras.** The renderer integrates exposure over a global shutter; nothing in the pipeline models per-row readout.* **Cameras with translating optics** (zoom, focus breathing) *within* a clip: the model assumes intrinsics are constant over the clip, and the QC gate enforces that in the training data.
## Training data
Rendered from **749 public equirectangular panoramas** (Poly Haven and HDRMapsvia the OpenPano split lists), partitioned into train/val/test **by panorama andby source group**, so no panorama contributes to two splits.
* Paper tier: 66 clips per panorama, 49,434 clips, 81 frames at 832x480.* Camera families: pinhole, Brown-Conrady, EUCM (and Kannala-Brandt / Double Sphere where the sampler's ranges are fitted from real lens profiles).* Imaging conditions (doc 9.1): clean 0.40, sensor noise 0.12, night 0.12, low texture 0.12, motion blur 0.08, dynamic occlusion 0.16.* Ground truth is **exact by construction**, not estimated: the renderer returns the ray field, gravity and validity masks it used to produce the pixels.
The Laval Indoor HDR panoramas that the OpenPano lists also name require amanual application and are **absent** -- 2,162 of 2,908 listed panoramas aremissing. The dataset is therefore outdoor- and architecture-heavy relative towhat the split files describe.
## Evaluation
Held-out test panoramas, plus an out-of-distribution set built from **measuredLensfun and Optiland lens profiles in families the training split nevercontains** (296 test families, disjoint from the 999 train families). Groundtruth for those clips is the profile's own ray grid, not a parametric fit --88% of held-out profiles have no converged fit, and those that do are off by upto 1 degree.
Primary metric: median per-pixel ray angular error in degrees. Reportedalongside: edge ray error, solver reprojection, focal and principal-point error,gravity error, family-selection accuracy.
## Results
See `docs/RESULTS.md` for the measured tables. The headline from the MVP tier,which is the completed comparison at the time of writing:
| method | ray AE median (deg) ||---|---|| oracle solver on GT field | 0.000 || AnyCalib, per-frame aggregated, given the true family | 3.42 || single frame (ours) | 9.53 || frame-pooled (ours) | 9.77 || video with temporal mixing (ours) | 11.82 |
Read honestly, at that training budget: **clip length carries real information**(1 to 17 frames improves 15.68 to 11.82 and then saturates), but the temporalarchitecture does not pay for its own capacity, and all three of ourconfigurations sit about 3x behind AnyCalib. Nothing here is saturated and noneof it supports a claim that video beats single-frame calibration.
## Known limitations and failure modes
* **Translation is ignored.** A panorama is at infinity, so rotation-only clips are exact; 6-DoF trajectories reuse the same renderer and record `translation_ignored` in their metadata. Parallax is therefore absent from the training signal entirely.* **Occlusion is synthetic.** Moving ellipses with procedural texture, not real objects. They are sampled under an explicit invariant -- every pixel visible in at least one frame -- so the set is recoverable in principle; real occluders make no such promise.* **Panorama resolution limits the widest fields of view.** Clips flagged `resolution_limited` ask for finer angular detail than the source panorama holds; about 10% of the MVP tier.* **The solver can select the wrong family** when the true field is nearly degenerate (a near-pinhole clip fits every family). The selection reports family probabilities rather than a hard label for this reason.
## Reproducibility
Every artefact records its provenance: the manifest carries the code version andgit commit, the encoder settings, the condition mixture, the trajectory source,and a SHA-256 of each video. Dataset generation is deterministic given the seed-- sharding changes throughput, not data -- and the condition assignment isseeded from a stable `crc32` rather than Python's per-process-salted `hash`.
## Licensing
Panoramas are CC0 / CC-BY (Poly Haven, HDRMaps); Lensfun is CC-BY-SA; the Wan2.1weights are Apache-2.0. Any redistribution of derived clips must carry thepanorama licences. Datasets that require registration (KITTI-360, WoodScape,Aria Digital Twin) are **not** included and the fetchers refuse to script aroundtheir terms.123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784# Measured results
Everything here was measured on this machine. Hardware: one NVIDIA H200(143 GB), 24 CPU cores, PyTorch 2.12, CUDA 13. Where a number was taken whilethe dataset generator was using all 24 cores, that is noted — CPU-bound timingsare pessimistic by roughly 2-3x.
Reproduce with `make gate-week1 gate-week3 gate-week4` and the commands in`README.md`.
---
## 1. Camera geometry (doc section 14, week-1 gate)
Projection round trip `pixel -> ray -> pixel`, at 208x120, float64, over thewhole valid image:
| model | valid fraction | max `\|\|r\|\|-1\|` | median px | p95 px | max px ||---|---|---|---|---|---|| pinhole | 1.000 | 2.2e-16 | 0.00e+00 | 5.7e-14 | 1.3e-13 || brown_conrady | 1.000 | 2.2e-16 | 0.00e+00 | 5.7e-14 | 2.5e-13 || kannala_brandt | 1.000 | 2.2e-16 | 0.00e+00 | 5.7e-14 | 1.6e-13 || eucm | 0.923 | 3.3e-16 | 0.00e+00 | 5.7e-14 | 2.5e-13 || double_sphere | 1.000 | 2.2e-16 | 0.00e+00 | 5.7e-14 | 2.5e-13 |
The gate is a median under **0.05 px**; the result is 12 orders of magnitudeinside it. EUCM's valid fraction is below 1 because its image disc(radius `1/sqrt((2a-1)b)`) is genuinely smaller than the sensor for thoseparameters — the test asserts the observed boundary matches that formula towithin one pixel step.
### Agreement with AnyCalib's reference implementations
Same physical camera expressed in both conventions, evaluated on a 3-px grid:
| our model | AnyCalib `cam_id` | common pixels | unprojection max | projection max ||---|---|---|---|---|| pinhole | `pinhole` | 8,211 | 1.21e-06 deg | 1.1e-13 px || brown_conrady | `radial:1` | 7,484 | 8.54e-07 deg | 0.0 px || kannala_brandt | `kb:4` | 8,211 | 1.21e-06 deg | 2.3e-13 px || eucm | `eucm` | 7,557 | 1.21e-06 deg | 0.0 px |
The residual is AnyCalib's own Newton tolerance. This also pins the pixel-originoffset: `cx_ours = cx_theirs - 0.5`.
## 2. Renderer (doc section 7.3)
Rendered a panorama whose RGB **encodes its own ERP coordinate**, then decodedthe render and compared against `R_wc @ r_c`. This exercises unprojection,rotation, ERP mapping and sampling together, not one formula at a time.
| model | median | p95 | p99.9 ||---|---|---|---|| pinhole | 6.67e-06 deg | 2.09e-05 | 3.64e-05 || brown_conrady | 6.67e-06 deg | 2.08e-05 | 3.66e-05 || eucm | 6.56e-06 deg | 2.01e-05 | 3.98e-05 || kannala_brandt | 6.56e-06 deg | 2.02e-05 | 3.91e-05 || double_sphere | 6.61e-06 deg | 2.03e-05 | 3.82e-05 |
Gravity derived from the trajectory reproduces the roll and pitch that built itto **5.6e-17 rad**. ERP seam continuity: the largest finite difference acrosslongitude 0 is 0.19x the largest difference in the interior — the seam is*smoother* than the texture.
Throughput per clip (81 frames, 832x480, supersample 2, H200):
| stage | time ||---|---|| panorama load (10000x5000 JPEG -> 2560 rows) | 1.9 s || render 81 frames | 0.29 s (1.4 GiB peak) || Stage-1a overlay, 81 frames | 1.8 s || Stage-1b overlay, 81 frames | 0.2 s || H.264 encode, 3 videos | ~8 s |
The Stage-1a overlay initially cost **75 s** per clip; batching the segmentrasteriser (one scatter for all arrows instead of three per arrow) made it 42xfaster with identical pixels.
## 3. Overlay colour codecs (doc section 7.5)
Encode, quantise to 8 bits as a video would, decode:
| encoding | median error | max error ||---|---|---|| latitude | 0.177 deg | 0.353 deg || up field | 0.059 deg | 0.118 deg || ray field | 0.211 deg | 0.451 deg |
All at the 8-bit quantisation floor. Stage-1a palette entries are separated by0.45 in chromaticity against a readback tolerance of 0.15, so every element —meridians, parallels, horizon, up arrows, optical axis, principal point, FoVboundary — is individually recoverable from a rendered frame.
## 4. Dataset generation (doc section 13.1)
| tier | panoramas | clips | wall time | throughput | size | QC pass rate | leakage | integrity errors ||---|---|---|---|---|---|---|---|---|| smoke | 20 | 200 | 285 s | 0.70 clip/s | 732 MB | 1.000 (all 200) | none | 0 || MVP | 749 | 11,984 | 5.2 h | 0.645 clip/s | 51 GB | **1.000** (400-clip sample) | none | 0 |
The MVP QC pass is the week-3 gate of doc section 14 at full scale: a 400-cliprandom sample with every check enabled, including the overlay-ink andoverlay-matches-parameters checks that decode the stored overlay video andre-render it. Zero clips failed any check.
The MVP tier is 970,704 rendered frames: 10,720 / 624 / 640 train / val / testclips from 749 distinct panoramas, with 4,065 / 4,008 / 3,911 pinhole /Brown-Conrady / EUCM (0.339 / 0.334 / 0.326 against the target thirds).
12 worker processes on 24 cores; H.264 encoding is the bottleneck, not the GPU.
Sampled distributions versus the AnyCalib `openpano_v2_gen` spec, over 3,000samples:
| quantity | target | measured ||---|---|---|| pinhole share | 0.34 | 0.341 || brown_conrady share | 0.33 | 0.350 || eucm share | 0.33 | 0.309 || off-centre principal point | 0.30 | 0.286 || non-square pixels | 0.20 | 0.206 || achieved vs target vfov, median error | — | 0.12-0.69 deg |
Diagonal-FoV buckets across the sampled cameras: `<70` 0.155, `70-110` 0.263,`110-150` 0.326, `>150` 0.256 — all four populated, which the grouped resulttables need.
Trajectory pool, intended mixture versus the doc: rotation-only 0.343 (0.35),smooth 6-DoF 0.293 (0.30), real replay 0.272 (0.25), difficult 0.092 (0.10).Limit violations across 5 clip lengths x 6 seeds x 200 clips: **0**.
Dense GT: **8.5 KiB per clip** compressed, versus 93 MiB for a naively stored`81 x 480 x 832 x 3` float16 ray field.
## 5. Solvers (doc section 11.1)
### Noise-free parameter recovery
2,048 sampled pixels, all five models, 208x120:
| model | median ray AE | focal rel. error | principal point ||---|---|---|---|| all five | < 1e-4 deg | < 1e-4 | < 0.05 px |
At 832x480 with 2,048 samples the recovery is exact to machine precision forevery model.
### Robustness to prediction noise (EUCM truth)
| input ray noise | chosen family | focal rel. err | pp err | `alpha` err | `beta` err ||---|---|---|---|---|---|| 0.0 deg | eucm | 0.0 | 0.000 px | 0.0000 | 0.0000 || 0.1 deg | eucm | 3.5e-05 | 0.010 px | 0.0000 | 0.0001 || 0.3 deg | eucm | 8.4e-04 | 0.011 px | 0.0001 | 0.0015 || 1.0 deg | eucm | 2.0e-03 | 0.046 px | 0.0001 | 0.0058 |
The fit averages the noise out: 1 deg of isotropic ray noise leaves a 0.2%focal error. The true family is selected at every noise level.
### Residual field versus noise
The doc's rule (large edge residual implies a non-parametric lens) misfires onnoise. Measured with the added structure test:
| input | best parametric edge P95 | residual structure | flagged non-parametric ||---|---|---|---|| white ray noise, 0.5 deg | 1.230 deg | 0.002 | no || smooth lens residual | 0.344 deg | 0.989 | **yes** || residual + 0.1 deg noise | 0.412 deg | 0.668 | **yes** |
Fitting a 32x32 residual grid to a genuinely non-parametric field cut the medianray error **0.396 deg -> 0.019 deg** and the P95 **0.896 -> 0.078**, and thefold-over check correctly rejected a synthetic residual whose amplitude made theray map non-injective.
### Solver self-test on generated clips (doc section 14, week-4 gate)
`tools/fit_camera_from_field.py` on 12 smoke-tier clips, candidates{pinhole, brown_conrady, eucm}, 800 sampled pixels, residual fitting enabled:
| quantity | value ||---|---|| solver success rate | **1.000** (gate: > 0.95) || camera-family accuracy | **1.000** || median ray AE | 0.0 deg || median edge P95 | 0.0 deg || median focal relative error | 0.0 || median principal-point error | 4.8e-07 px || clips flagged non-parametric | 0.000 — correct, the data is exactly parametric || median calibratability | 1.000 |
The one clip whose calibratability is below 1 is a wide EUCM camera whose validimage disc covers 51% of the sensor, so `coverage = 0.508` and the score follows.That is the intended behaviour: the score reports the *constraint available*, notthe quality of the answer.
### Gravity
| estimator | input noise | gravity error ||---|---|---|| latitude least squares | 0 | 1e-6 deg || latitude least squares | 2 deg latitude noise | 0.007 deg || up-field optimisation | 0 | 0.188 deg || single frame | 1.1 deg per-frame noise | 1.286 deg || **81-frame temporal aggregation** | same | **0.130 deg** |
Temporal aggregation is a **10x** reduction over a single frame, on the samecontent — direct support for the plan's central "video beats single frame" claim,with no learned model involved.
## 5b. Calibratability and the real-GT gate
Two outputs the plan asks for that are easy to leave out because nothing elsedepends on them.
**Calibratability** (doc section 2.2: *"a calibratability score for thisvideo"*). It answers a different question from the uncertainty: not *how wrongis this estimate* but *was this clip ever going to determine a camera*. Fourfactors multiplied — coverage, observability, fit, stability — so any one of themnear zero makes the clip unusable, which an average would hide.
| clip | coverage | observability | fit | score | flagged reason ||---|---|---|---|---|---|| moving camera, good fit | 1.00 | 1.00 | 0.96 | 0.96 | — || **static camera**, perfect fit | 1.00 | 0.00 | 1.00 | **0.00** | little camera rotation: the lens is weakly observable || moving camera, 1/3 of image valid | 0.24 | 1.00 | 0.96 | 0.23 | only 0.24 of the image is confidently predicted || moving camera, no model fits | 1.00 | 1.00 | 0.00 | 0.00 | no parametric model fits (5.0 deg) |
The static-camera row is the point: a clip can be predicted perfectly and stillbe uncalibratable.
**Real-GT gate** (doc section 9.2: median `< 0.30` px, P95 `< 1.00` px,peripheral P95 `< 1.50` px). Implemented with the doc's second half, which isthe part that is easy to skip: a calibration that misses the gate is kept with areduced supervision weight rather than discarded or, worse, treated as exact. Acalibration with no peripheral residuals cannot pass at all — the periphery isexactly where wide-angle models differ, so an unverified edge means anunverified calibration.
## 6. Downstream metrics
Detector-free straight-line residual, computed by projecting 3-D great circleswith the GT camera and rectifying with the predicted one:
| camera | line residual (mean) | rectification flow (mean) ||---|---|---|| correct | 0.000 px | 0.000 px || 1% focal + 0.01 `alpha` error | 1.065 px | 0.756 px |
## 7. Lens profile bank (doc section 8)
Lensfun, parsed from 56 XML files:
| quantity | value ||---|---|| lenses | 1,564 || distortion calibrations | 6,432 || lens families | 1,429 || models | `ptlens` 5,554, `poly3` 873, `poly5` 5 || crop factors | 1.0 (1,781), 1.53 (1,173), 1.61 (476), 2.0 (474), ... || aspect ratios | 3:2 (4,158), 4:3 (2,259), 16:9 (13), ... |
For comparison, AlignDiff's LensView bank is 3,187 profiles and is notdownloadable. Radial map inversion round-trips to `< 1e-8` in Hugin units, andthe analytic derivative matches a finite difference to `< 1e-5`.
Built bank: **6,474 profiles across 1,436 families** in 86 minutes, 1.1 MB ofJSONL.
| distortion family | profiles ||---|---|| pincushion | 2,732 || barrel | 2,203 || negligible | 1,326 || moustache | 177 || fisheye | 36 |
Near-duplicate clustering: **2,169 distinct radial signatures** among the 6,474profiles, so 4,255 are near-copies. Family split: 999 train / 296 test families,`test_families_unseen_fraction = 1.000` against a 20% requirement.
Fitted from 120 real profiles, Brown-Conrady `k1` spans `[-0.376, 0.221]` while`p1` and `p2` sit within `+-2e-4` of zero: the open formats are purely radial,which is a real coverage gap for decentred distortion (see `docs/DATA.md`).
Optiland: 42 valid traced profiles from 78 attempts across 7 designs; `petzval`and `field_corrector` never traced successfully and are reported as rejectedrather than quietly dropped. Coverage is barrel and pincushion only, becausethose sample designs are rectilinear photographic objectives.
## 8. Networks
| model | encoder | decoder | total ||---|---|---|---|| video dense-field baseline | 6.58 M | 4.70 M | 11.28 M || single-frame twin | 4.68 M | 3.64 M | 8.32 M |
Priors that hold at initialisation: ray fields are unit to 1.2e-07, predictedgravity is exactly `(0, 1, 0)` (level camera), the residual grid is exactlyzero, and the two-pass refinement starts identical to the coarse pass becausethe ray positional encoder is zero-initialised.
### Overfit gate
A 0.66 M-parameter net on one synthetic clip whose RGB *encodes its own rayfield*, 200 steps at lr 3e-3, CPU: validation ray AE **103.7 deg -> 0.40 deg**.The committed test uses lr 1.5e-3 for 300 steps instead -- CPU convolutionbackward is not bit-reproducible across thread counts, and at the higher rate a200-step run occasionally took a different trajectory. It asserts the error atleast halves, which a converging run clears by two orders of magnitude. Every head — ray, latitude, up,model, global, residual — receives finite gradients; a test asserts this, becausethe first implementation left the global head unsupervised.
## 9. Wan2.1-VACE-1.3B backbone
Loaded from the published checkpoint (18 GB). Everything below is measured, notread off the config:
| quantity | value ||---|---|| DiT layers | 30 || hidden size | 1536 || attention heads | 12 || VACE blocks | 15, at even layers 0..28 || `vace_in_dim` | 96 (16 inactive + 16 reactive + 64 mask) || total parameters | 2.154 B || trainable (VACE branch) | 0.735 B — 34.1% || frozen (base DiT) | 1.419 B || latent grid, 81x480x832 | 21 x 60 x 104 || DiT token grid | **21 x 30 x 52** — exactly the plan's figure || raw feature per clip, bf16 | 95.98 MiB |
A real forward pass with hooks attached returns base, VACE-branch and fusedfeatures of shape `[1, 1536, 21, 30, 52]` and `[1, 3072, ...]`, and the outputlatent is `[16, 21, 60, 104]`. Inference: 3.12 s, 12.1 GiB peak.
Two things had to be fixed to get there, and both are the kind that failsilently or loudly-but-confusingly:
* Wan's `time_embedding` forces float32 and hands the result to bf16 blocks, so the forward **must** sit inside a bf16 autocast. `WanVaceBackbone.forward` now does it so callers cannot forget.* `enable_gradient_checkpointing` originally set an attribute the upstream blocks never read, i.e. it did nothing. Now it wraps all 45 block forwards in `torch.utils.checkpoint` with `use_reentrant=False` (required, because the blocks take keyword arguments).
### Training throughput (batch 1, bf16, 45 blocks checkpointed)
| frames | resolution | s/step | frames/s | peak GiB ||---|---|---|---|---|| 81 | 480x832 | 16.70 | 4.85 | 41.7 || 33 | 480x832 | 5.24 | 6.30 | 22.0 || 81 | 320x576 | 7.59 | 10.67 | 23.2 || 33 | 320x576 | 2.50 | 13.20 | 14.1 |
Without checkpointing the 81x480p step needs more than 90 GiB and OOMs.
This is the measurement the plan asks for before committing to a schedule(section 13.3: *"do not promise training days up front; spend the first weekmeasuring frames/s, peak memory and the data-wait fraction"*). The consequence:the plan's 25k-step Phase-1a budget at 81 frames and 480p is **116 GPU-hours onone H200**, which is why it recommends 8 GPUs. At 33 frames and 320x576 the samestep count is ~17 hours, and that is the configuration a single-GPU reduced-scalerun should use.
Freezing was verified by parameter comparison, not by inspection:`patch_embedding.weight` is bit-identical after an optimiser step(max `|delta| = 0`) while `vace_blocks.0.modulation` moves by 5.9e-03.
### Stage-1a overfit gate (doc section 14, week-5 gate)
16 smoke-tier clips, 33 frames at 320x576, 1,200 steps, lr 1e-4 with a 50-stepwarmup and cosine decay. Measured on **one clip at fixed timesteps with fixednoise**, before and after:
| timestep | untrained VACE branch | after 1,200 steps | reduction ||---|---|---|---|| t = 0.2 | 0.749 | 0.119 | 6.3x || t = 0.5 | 0.642 | 0.056 | 11.5x || t = 0.8 | 0.553 | 0.081 | 6.8x || **mean** | **0.648** | **0.085** | **7.6x** |
The raw training loss cannot be read as a curve here: the rectified-flowobjective resamples `t` every step and its magnitude depends strongly on `t`, soconsecutive step losses vary by 5x with no learning involved. Pinning `t` andthe noise is what makes the gate meaningful, and`VaceOverlayTrainer.evaluate_fixed_timesteps` is what the CLI reports alongsidethe noisy curve.
This is a reduced-scale pass of the gate: 16 clips at 33 frames and 320x576,not the plan's 1,000 clips at 81 frames and 480p. It establishes that the branchtrains, that the objective is wired correctly, and that the frozen base and theVACE context split are right -- not that Stage-1a pre-training helps thedownstream metric, which needs the full budget.
### Phase-2: geometry decoder on frozen DiT features
`train_geometry_decoder.py --backbone vace --layer 16 --tau 0.7`, reading thebase-DiT activation of the frozen 2.15 B backbone (with the Stage-1a branchloaded) and training a 4.90 M-parameter decoder on top:
| quantity | value ||---|---|| trainable / frozen parameters | 4.90 M / 2,153.97 M || feature tensor per clip | `[1, 21, 1536, 30, 52]` at 81 frames; `[1, 9, 1536, 20, 35]` at 33 || loss over 60 steps | 3.254 -> 0.201 || validation ray AE | 38.1 deg at step 30 -> 19.6 deg at step 60 || wall time | 15.7 s/step -- the frozen backbone forward, not the decoder |
Four steps and 60 iterations is a plumbing check, not a result. What itestablishes is that the whole Phase-2 chain runs: VAE encode, VACE contextassembly, DiT forward at a chosen `tau`, hook read-out at a chosen layer,reshape to `[B, T', C, H', W']`, temporal upsampling from latent-frame tovideo-frame rate, and the full loss set.
The design choice that is not obvious: **what is fed to the DiT at time `tau`.**At test time there is no target overlay to noise, so the input is the RGB clip's*own* latent, noised to `tau`, with the same RGB given to the VACE branch ascontext. Nothing there is unavailable at inference, and the noise is drawn froma per-clip fixed seed so a feature cache or an ablation is reproducible.
## 10. Baseline evaluation
Both official checkpoints load and are wrapped through the same metric code aseverything else:
| baseline | parameters | weights ||---|---|---|| AnyCalib (`anycalib_gen`) | 320.3 M | official, auto-downloaded || GeoCalib (`pinhole`) | 28.9 M | official, auto-downloaded |
The `oracle_solver` reference — GT dense field through our solver — bounds whatany predictor can reach on this data: median ray AE `< 1e-3` deg, solver success1.000, family accuracy 1.000 (verified in `tests/test_tools.py` on a generateddataset and by `tools/fit_camera_from_field.py` on the smoke tier).### Measured on the smoke-tier test split
10 clips, 5 frames each, candidates {pinhole, brown_conrady, eucm}, 600 sampledpixels. AnyCalib runs with `anycalib_gen` and is given **each clip's truecamera family** (`--anycalib-camera gt`) -- see the protocol note below.
| method | ray AE median | edge ray AE median | reproj median | focal rel err | pp err | dFoV err | gravity err ||---|---|---|---|---|---|---|---|| AnyCalib, frame 0 | 6.12 deg | 6.04 deg | 50.3 px | 0.164 | 2.02 px | 11.8 deg | - || AnyCalib, 5-frame aggregate | 6.22 deg | 7.45 deg | 65.3 px | 0.167 | 2.09 px | 16.6 deg | - || GeoCalib (pinhole weights) | 27.34 deg | 34.57 deg | 713 px | 2.70 | 1.50 px | 79.0 deg | 28.7 deg || **oracle solver** (GT field) | **0.000** | **0.000** | **0.000** | **0.000** | **0.000** | **0.000** | - |
Per camera family, AnyCalib: 5.00 deg on Brown-Conrady (n=4), 6.51 deg on EUCM(n=5), 5.73 deg on pinhole (n=1).
Four things this table says, and one it does not:
* **The solver is not the bottleneck.** Given a correct dense field it recovers the camera exactly, so every non-zero row above is prediction error, not fitting error.* **GeoCalib is out of domain here by construction.** Its public weights model a pinhole camera, and 9 of these 10 clips are not pinhole. The row is included because the plan lists GeoCalib as a baseline, not because 27 deg is a statement about GeoCalib on the data it was built for.* **Five-frame aggregation is not reliably better than one frame.** It helped on Brown-Conrady (5.00 -> 4.36 deg) and hurt on EUCM (6.51 -> 10.43 deg). With five frames the MAD-based outlier rejection has almost nothing to work with; the plan's claim is about 81. The controlled 81-frame gravity experiment in section 5 above does show the expected 10x gain.* **The one clip with a strongly off-centre principal point is missed.** Its GT principal point sits 62 px from the image centre; AnyCalib's estimate is 60.5 px off, i.e. it stayed near the centre. That is a single clip, so it is an observation rather than a result -- but it is the failure mode doc section 17.8 warns about, and it is why this repository samples variable `cx, cy` and reports principal-point error as its own column.
What it does not say: nothing here compares ViDiCalib against these baselines.That needs the trained model.
### Protocol note: which camera family a baseline is given
AnyCalib predicts a dense ray field and then fits whichever camera family it isasked for. Fixing that family while the clips vary measures a mismatch weimposed. Both runs are recorded:
| AnyCalib protocol | ray AE median | family correct ||---|---|---|| GT family per clip (`--anycalib-camera gt`, `anycalib_gen`) | 6.12 deg | 1.000 || fixed `pinhole` (`anycalib_pinhole`) | 11.22 deg | 0.125 |
On the fixed-family run the >150 deg bucket reaches 33.7 deg of ray error, whichis the cost of getting model selection wrong rather than a property of themodel -- and it is the reason model selection is a first-class output here(`solvers.select`) rather than an assumption.
## 11. The section-15 comparison, at this machine's scale
All on the MVP test split, 40 clips, 17 frames unless stated, candidates{pinhole, brown_conrady, eucm}, 1,200 sampled pixels, medians over clips.Everything goes through the same metric code.
| method | params | trained | ray AE median | edge ray AE | reproj px | focal rel err | pp err px ||---|---|---|---|---|---|---|---|| **oracle solver** (GT field) | -- | -- | **0.000** | **0.000** | **0.000** | **0.000** | **0.000** || AnyCalib, 5-frame aggregate | 320 M | published | **3.42** | 3.07 | 27.4 | 0.053 | 1.93 || AnyCalib, frame 0 | 320 M | published | 3.82 | 3.31 | 25.9 | 0.091 | 2.06 || single frame (1 frame) | 8.2 M | 4k steps | 9.53 | 10.22 | 64.4 | 0.271 | 8.75 || frame-pooled (17 frames, no temporal mixing) | 8.2 M | 4k steps | 9.77 | 10.59 | 69.2 | 0.263 | 8.45 || video (17 frames, temporal mixing) | 11.2 M | 4k steps | 11.82 | 13.14 | 79.9 | 0.302 | 12.85 |
Training, identical settings across the three: 4,000 steps, batch 4, lr 2e-4cosine, 240x416, checkpoint selected on validation ray AE.
| run | wall | best val | final val | selected ||---|---|---|---|---|| video | 4,044 s | 10.29 deg @1500 | 10.95 | `best@1500` || frame-pooled | 3,011 s | 9.79 deg @3500 | 9.91 | `best@3500` || single frame | 1,318 s | 9.66 deg @3500 | 9.88 | `best@3500` |
### The clip-length sweep is the informative part
Same trained video model, same clips, varying only how many frames it is given(doc section 12.2 item 6):
| frames | ray AE median | edge ray AE | reproj px ||---|---|---|---|| 1 | 15.68 | 16.80 | 97.0 || 9 | 12.17 | 13.29 | 78.2 || 17 | **11.82** | 13.14 | 79.9 || 33 | 11.80 | 13.09 | 76.8 || 81 | 11.87 | 13.08 | 77.0 |
**Frames carry real information: the same model improves 25% from one frame to17, and saturates by 17.** That is the plan's "video beats single frame" claim,measured, on a model trained to use frames.
### What this does and does not say
* **The solver is not the bottleneck.** The oracle row is exactly zero, so every other number is prediction error.* **The temporal architecture does not pay for itself at 4,000 steps.** It has 36% more parameters and a harder optimisation (temporal attention), and a smaller model trained at one frame beats it. That is a statement about this training budget, not about the architecture: 4,000 steps at batch 4 is 16,000 clip-views out of 10,720 training clips, i.e. about 1.5 epochs.* **The gap to AnyCalib is 3x, so nothing here is saturated.** AnyCalib has 30x the parameters and orders of magnitude more training on this same panorama collection. Doc section 14's week-4 gate asks whether a simple video baseline saturates and therefore whether VACE's value should be redefined as cross-domain generalisation; on this evidence the answer is *not yet* -- there is 3x of headroom before that question becomes the right one.* **This data is the regime where temporal aggregation should help least.** Every clip is a clean render from a static panorama with fixed intrinsics, so every frame carries identical lens information and there is no noise, occlusion or motion blur for aggregation to suppress. The conditions the plan claims video helps in -- weak texture, dynamic occlusion, extreme FoV -- are exactly the ones absent here.* **`solver_success` is 0 for all three of our models.** That is the metric behaving correctly, not failing: it requires a post-fit median ray error under 1 deg, and these predictions are at ~10 deg.
Per-FoV-bucket, the video model is worst on the narrowest and widest clips(20.0 deg at `<70`, 14.9 deg at `>150`) and best in the middle (8.1 deg at`110-150`), which is the sampling density of the training mixture showingthrough.
## 12. Paper-tier data generation (doc sections 9.1, 13.1)
Measured on a 230-clip full-resolution pilot (832x480, 81 frames, 12 renderworkers, one H200) and carried into the 49,434-clip paper run.
### Throughput
| configuration | clips/s (aggregate) ||---|---|| MVP, clean renders | 0.646 || conditions applied on the CPU | 0.121 || conditions applied on the GPU | **0.701** |
The middle row is the cost of a single wrong device choice. At 832x480x81 theper-clip cost of each condition is:
| condition | CPU (s) | GPU (s) ||---|---|---|| clean | 0.00 | 0.00 || noise | 18.93 | 0.35 || night | 31.72 | 0.04 || low_texture | 24.63 | 0.35 || dynamic_occlusion | 28.17 | 0.17 |
against roughly 18.5 s to render the clip itself. With twelve workers ontwenty-four cores the thread oversubscription made the arithmetic worse than theper-clip numbers suggest. Applied on the device the frames are already on, theconditions are free: the conditioned run is marginally *faster* than the cleanMVP run, because the mixture spends 40% of clips doing nothing.
### The mixture, as rendered
| condition | target | pilot (n=230) ||---|---|---|| clean | 0.40 | 0.430 || noise | 0.12 | 0.117 || night | 0.12 | 0.104 || low_texture | 0.12 | 0.113 || motion_blur | 0.08 | 0.070 || dynamic_occlusion | 0.16 | 0.165 |
`clean` runs high and `motion_blur` low by the same amount, and that is therelabelling working: a clip drawn as motion blur whose trajectory is stationaryhas no blur, and is recorded as clean with `relabelled_from: motion_blur`.
### The occlusion invariant
Every pixel must be visible in at least one frame, or the clip is unrecoverableby any method and measures nothing. Occluders are accepted greedily under thatinvariant.
| shape | mean occluded | worst always-occluded | rejections/clip ||---|---|---|---|| T=9, 96x160 | 0.310 | 0.00039 | 1.00 || T=17, 120x208 | 0.285 | 0.00072 | 0.50 || T=33, 120x208 | 0.280 | 0.00008 | 0.50 || T=17, 240x320 | 0.375 | 0.00079 | 0.92 || pilot, T=81, 832x480 | -- | 0.00047 | -- |
Without the invariant, four independently sampled occluders hid 5.6% of pixelspermanently on 1 seed in 6.
### Motion blur is directional
Single-orientation stripes, because a checkerboard couples both edgeorientations and cannot separate them. Gradient energy along each axis, sharprender against an 8-sample exposure integral:
| motion | stripes | contrast lost ||---|---|---|| yaw | vertical | 70% || yaw | horizontal | 0% || pitch | horizontal | 69% || pitch | vertical | 9% |
The smear follows the motion, which a post-hoc spatial blur would not do.
### QC gate
`tools/validate_dataset.py` on the pilot: **pass rate 1.0000**, no split leakage,no integrity errors, condition mixture within tolerance, worst always-occludedfraction 0.00047. The gate now fails on an off-target mixture(`--expect-conditions`) or on any clip that hides more than 2% of its pixels inevery frame, so neither can pass unnoticed at 49,434 clips.
### Out-of-distribution set (doc 8.4)
Held-out lens families: 999 train families against 296 test families, disjoint.453 unique test-split profiles, of which **only 12% have a converged parametricfit** -- and among those the fit differs from the true profile by a median of0.0068 degrees, p90 0.035, max 1.003. The ground truth is therefore theprofile's own ray grid, evaluated on both the output and supersampled lattices;its round trip through the manifest is exact to 2.4e-6 degrees, the arccosmetric's own noise floor.
## What is not in this document
The method comparison of doc section 15 in full -- AnyCalib versus per-frameaggregation versus a video network versus VACE Stage-1a and Stage-1a+1b, on 10ktraining clips at 81 frames and 480p. Three pieces of it are here: the officialbaselines and the solver ceiling (section 10), the Stage-1a gate (section 9),and the Phase-2 chain running end to end (section 9). What is missing is the*trained* comparison, which needs the Stage-1a and Stage-1b budgets -- 116GPU-hours each at full resolution on one H200, at the throughput measured above.
`tools/run_experiment.py` runs that comparison in one command when the compute isavailable, and its report lists the stages it had to skip rather than droppingthem quietly. `docs/STATUS.md` accounts for the same gap week by week.
Also absent, and for reasons of access rather than implementation: any number onKITTI-360, WoodScape, TUM VI or Aria Digital Twin; any number on real 7V capture;and the VIO/SLAM and 3DGS downstream metrics. `docs/DATA.md` lists what each ofthose needs.
## 13. Where the accuracy gap actually is (root-cause decomposition)
Our models reach 7.9-8.0 deg median ray angular error on the paper test setagainst AnyCalib's 4.80. Four independent investigations were run to locatethe loss. They converge: **the gap is entirely in the dense ray field thenetwork emits.** Everything downstream is excluded by measurement.
### The decomposition
60 test clips, staged. The harness reproduces both stored runs exactly --per-clip absolute difference median *and max* 0.000, 60/60 identical familychoices -- so the stages are comparable to the shipped numbers.
| stage | video_net | single_frame ||---|---|---|| A. raw dense field, no solver | 9.544 | 8.541 || B. + solver, free family (what the tables report) | 9.622 | 8.485 || C. + solver, forced to the ground-truth family | 9.622 | 8.546 || D. + solver, best-of-three by hindsight | 9.577 | 8.422 || same 60 clips: AnyCalib / oracle solver | 5.208 / 0.000 | 5.208 / 0.000 |
A, B and C track within 0.3 deg in **every** FoV, camera-family and imaging-condition cell. The solver *improves* the network's field slightly (-0.03 to-0.07 deg); forcing the true camera family changes the median by **0.000 deg**and is a marginal net loss on average.
### What is therefore ruled out
* **The solver.** It returns 0.000 deg on ground-truth fields, on every clip.* **Model selection.** Family accuracy is 0.50, but forcing the truth buys nothing. The confusion is physically forced: this dataset's Brown-Conrady cameras use only `k1` (median 0.013) and sit 0.30 deg (area mean) / 0.66 deg (corner) from their best-fit pinhole, against a 10 deg-noisy field -- a signal-to-noise ratio of about 1:20. Choosing pinhole is the correct answer given the evidence. A noise ladder on exact fields confirms the mechanism: family accuracy is 1.000 at 0 deg of added error and 0.46-0.62 at 8 deg.* **Input resolution.** AnyCalib runs our 832x480 clips at 238x420; we run 240x416. A 0.1% difference.* **The 240x416 -> 480x832 upsample.** Measured at native resolution against the exact strided ground-truth lattice: 10.070 vs 10.043 (video).* **Overfitting.** Held-out error is at or below training error at every checkpoint of both runs.
### What the error *is*
Not noise -- a smooth, self-consistent, **wrong camera**. A parametric modelexplains the network's own rays to 1.27 deg (video) / 0.85 deg (single frame),while the focal length is 26-30% off and the diagonal field of view 20-22 degoff (AnyCalib: 13% and 10 deg). The fitted camera reproduces **97%** of the rawfield error (r = 0.990), where zero-mean synthetic noise of the same magnitudewould leave only 10-37%.
The error concentrates at **narrow** field of view, and it is already worstthere in the raw field:
| FoV bucket | video_net | single_frame | AnyCalib ||---|---|---|---|| <70 | 13.61 | 17.51 | 3.62 || 70-110 | 8.94 | -- | -- || >150 | 9.29 | 8.37 | 7.75 |
Narrow field of view is where geometric cues vanish and a learned scene prioris all that is left, which is the plausible mechanism for the next item.
### The most likely causes, in order
1. **A 320 M-parameter pretrained DINOv2 ViT-L/14 against our 11.2 M from-scratch ConvNeXt trunk with no spatial self-attention at all.** 29x the parameters, and the gap closes in the widest FoV bucket where geometry is visible and opens to 4x in the narrowest where it is not.2. **Training budget.** 20,000 steps at batch 4 over 44,220 train clips is **1.81 epochs** -- 6x fewer clip-views than this project's own reference config (30,000 steps at batch 16 = 10.85 epochs). Train loss was still falling at the last step and validation was still improving.3. **The loss.** AnyCalib trains a single term: L1 between tangent coordinates at z1, in radians, which is the evaluation metric itself. Ours is a twelve-term mixture in which the ray term carries about a third of the weight, and its von Mises-Fisher data term `kappa * (1 - cos)` is quadratic near zero. Measured gradient ratio against L1 at a predicted kappa: 3x at 7 deg of error, 36x at 0.7 deg, 344x at 0.07 deg. It matters little at our current accuracy and progressively more as accuracy improves.
### Defects found and fixed along the way
* **`family_correct` was aggregated with a median.** For a 0/1 indicator that prints 1.000 for any accuracy above one half; a run at 0.517 reported 1.000. Binary metrics are now always averaged.* **A free confidence deleted its own supervision.** `perspective_loss` weighted the up-field term by a predicted confidence with no penalty for lowering it, so the network drove the confidence to zero: the term reached **6.8e-10** by step 20,000. It now carries a `-log(conf)` calibration term, the same device the ray loss already used.* **Checkpoint selection ran on 32 of 2,574 available validation clips.** Two disjoint 32-clip subsets disagree by 1.5-3.1 deg while the difference being selected on was 0.39 deg. The default is now 128 clips and every validation reports its own standard error.* **`needs_residual_field` fires on 91% of real clips.** The spatial-structure guard (doc 17.3) was built to stop prediction *noise* being read as a non-parametric lens, and it works against white noise (structure 0.006); our network's error is smooth (structure 0.949) and passes straight through. Currently invisible because the evaluation ignores the flag. Not fixed.* **The AIC/BIC penalty is inert.** It is computed at n = 798,720 dense pixels whose residuals are almost perfectly autocorrelated, making the penalty 3-5 orders of magnitude smaller than the fit term; 53 of 54 comparison cells are numerically identical under `aic` and `bic`. Not fixed.123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452# Status against the 12-week plan
**2026-09-13 correction:** the historical decoder results below used incorrectintrinsic/FoV supervision and biased validation subsets. They do not establishthe value of geometry pretraining. The repaired implementation and its validationare described in [the repair report](reports/repair_20260913.md). Formal trainingwith the repaired code and full test/OOD comparisons remain to be run.
Design-doc section 14 lays out twelve weeks with four go/no-go gates. This mapseach row to what exists in this repository, what was *measured*, and what isblocked and why. Nothing below is aspirational: every "done" has a command thatreproduces it.
Legend: **done** = implemented and verified with measured numbers ·**code-complete** = implemented and unit-tested, not yet run at the doc's scale ·**blocked** = cannot be done here, with the reason.
| week | plan | status | evidence ||---:|---|---|---|| 1 | environment, VACE inference, AnyCalib/GeoCalib baselines; 50-image closure report; gate `< 0.05 px` | **done** | `tests/test_cameras.py::test_projection_closure` — all five models close at machine precision (median `0.00e+00`, p99 `< 1e-13` px), against a gate of 0.05 px. Official AnyCalib (320 M) and GeoCalib (28.9 M) checkpoints load and are wrapped as baselines. Our camera models agree with AnyCalib's own implementations to `< 1e-4` deg (`tests/test_third_party_agreement.py`). || 2 | OpenPano download, trajectory pool, ERP rendering; 200-clip smoke set; no leakage / seam / misalignment | **done** | 749 panoramas fetched. `tools/render_calib_clips.py` produced 200 clips in 285 s with zero split leakage and zero integrity errors. End-to-end render geometry verified to `~7e-6` deg by decoding a coordinate-encoding panorama. || 3 | three camera models, overlays, QC; 10k-clip MVP; auto QC pass rate `> 99%` | **done** | MVP tier: 11,984 clips from 749 panoramas, AnyCalib's exact 0.34/0.33/0.33 mixture. `tools/validate_dataset.py` gate passes at pass-rate **1.000 on a 400-clip random sample of the MVP tier** with every check enabled, including the two that decode and re-render the stored overlay video; zero clips failed anything. || 4 | video baselines and solver; single-frame/video table; dense field to parameters converges `> 95%` | **done** | `tools/fit_camera_from_field.py` recovers every clip's parameters: solver success 1.0, family accuracy 1.0, median ray AE `< 1e-3` deg on the generated data. The single-frame / frame-pooled / video table is measured on the MVP test split (`docs/RESULTS.md` section 11), together with the clip-length sweep, which shows the same trained model improving 15.68 -> 11.82 deg from 1 to 17 frames and saturating there. At 4,000 steps (~1.5 epochs) the temporal architecture does not yet pay for its extra parameters, and all three of our models sit 3x behind published AnyCalib -- so the week-4 gate's premise (a saturated simple baseline) does not hold yet. || 5 | VACE Stage 1a | **gate passed at reduced scale** | `tools/train_vace_overlay.py` with the real Wan2.1-VACE-1.3B checkpoint: 30 layers, dim 1536, 12 heads, 15 VACE blocks, token grid `21 x 30 x 52` — all confirmed against the published config. Rectified-flow objective, frozen base. The overfit gate **passes**: measured at fixed timesteps with fixed noise, the flow-matching loss on a held clip drops 0.648 -> 0.085 (7.6x) over 1,200 steps on 16 clips. Not trained to the doc's 25k steps at 81 frames / 480p, which is 116 GPU-hours on one H200 at the throughput measured in `docs/RESULTS.md`. || 6 | VACE Stage 1b | **code-complete** | Stage-1b overlays generated for the whole MVP tier with the doc's 40/30/20/10 task mixture; `--stage 1b --resume` continues from Stage 1a. || 7 | intermediate features and decoder; `L`/`tau` ablation | **runs end to end at reduced scale** | `DiTFeatureHooks` hooks `blocks[L]` and `vace_blocks[k]` and reshapes the padded token sequence back to `[B, 1536, 21, 30, 52]` (verified against the real checkpoint); layer / `tau` / source are arguments with the doc's ablation grids as defaults. `train_geometry_decoder.py --backbone vace` trains a 4.9 M-parameter decoder on the frozen 2.15 B backbone: the loss falls and validation ray AE is produced. What the DiT is fed at time `tau` is the choice that is not obvious and is documented in the code -- the RGB clip's own noised latent, because that is what exists at test time. Not run at the doc's 30k-step budget: the frozen backbone forward is the per-step cost. || 8 | Lensfun/Optiland profile bank; unseen-lens test set | **done** | Built bank: 6,474 profiles across 1,436 families (6,432 Lensfun + 42 Optiland), all converted to `pixel -> ray`. Distortion families covered: pincushion 2,732, barrel 2,203, negligible 1,326, moustache 177, fisheye 36. Family-level splits give a fully disjoint unseen-family test set (`test_families_unseen_fraction = 1.0`). Two gaps documented rather than hidden: 4,255 of the profiles are near-duplicates, and no open source covers decentred distortion (correction 7). || 9 | TUM VI / KITTI-360 / ADT evaluation | **blocked** | KITTI-360 and ADT need registration; TUM VI is public but was not fetched. Adapters and the fetcher exist (`tools/build_trajectories.py --source tumvi`, `fetch.py info kitti360`). || 10 | real 7V GT and fine-tuning | **blocked** | Needs the vehicle, the rig and the calibration workflow. The manifest fields, split policy and weak-GT weighting are implemented. || 11 | full ablations, downstream VIO/3DGS | **partial** | `AblationTable` tracks all 22 ablations the doc lists and reports coverage. Downstream: straight-line residual and rectification-flow error are implemented detector-free and verified exact for a correct camera; VIO/SLAM and 3DGS are declared and explicitly marked not-run. || 12 | paper and open-source cleanup; data card, model card | **done** for the repository | `docs/DATA.md`, `docs/CONVENTIONS.md`, this file, `docs/RESULTS.md`. Every experiment is reproducible from a manifest plus a config; every generated clip records its generator version, encoder settings and SHA-256. |
## The four gates
1. **Week 3 — "if the synthesiser's closure is not exact, stop all training."** Passed with margin: projection closure is at machine precision, `10^12` times better than the 0.05 px gate, and the end-to-end render (unproject, rotate, ERP map, sample, decode) closes to `~7e-6` deg.2. **Week 4 — "if a simple video baseline already saturates, redefine VACE's value as cross-domain generalisation rather than average accuracy."** **Answered: it has not saturated.** All three of our trained baselines sit at 9.5-11.8 deg median ray AE against published AnyCalib's 3.42 deg on the same test clips through the same metric code -- 3x of headroom, so redefining VACE's value on saturation grounds would be premature. Two supporting measurements: the clip-length sweep shows the same trained model improving 15.68 -> 11.82 deg from 1 to 17 frames and saturating there, so frames do carry usable information; and temporal aggregation alone cuts gravity error 10x versus a single frame (1.29 -> 0.13 deg) with no learned model at all. What *did* not pay off at this budget is the temporal *architecture*: at 4,000 steps it has 36% more parameters than the frame-pooled model and is worse than it. See `docs/RESULTS.md` section 11 for the caveats, chiefly that clean renders from a static panorama are the regime where aggregation should help least.3. **Week 7 — "if VACE features are no better than a small video network, cut the generative training."** Not reached; the decision requires the Stage-1a/1b training budget.4. **Week 10 — "if the real 7V domain gap persists, fix the ISP/crop/EIS metadata first."** Not reached; blocked on the rig.
## Corrections to the design doc
Found while implementing, and fixed here rather than reproduced:
1. **Feature cache arithmetic (section 10).** The doc says caching raw DiT features for 50k clips is "about 4.8 PiB". 96 MiB x 50,000 = **4.6 TiB**; the figure is 1000x too large. The conclusion (do not cache at scale) is unaffected, and `feature_bytes_per_clip` documents both numbers.2. **Residual field versus prediction noise (sections 11.1, 17.3).** The doc's rule — declare a lens non-parametric when the edge residual stays large — fires on *white noise* of the same magnitude. Measured: 0.5 deg of isotropic ray noise produced an edge P95 of 1.23 deg, well over the 0.25 deg threshold, with no lens residual present at all. Added `residual_structure`, the spatial autocorrelation of the *signed* tangent residual: 0.002 for white noise, 0.989 for a smooth lens residual, 0.668 for a mixture. Selection now requires both a large edge residual *and* spatial structure.3. **Trajectory amplitudes are duration-dependent.** The doc's motion families are specified for the reference 81-frame, 16 fps (5 s) clip. Reusing the same amplitudes for a 9-frame clip packs the same rotation into 0.5 s and violates the angular-velocity limit. `duration_scale` now scales amplitudes with clip duration so the *rates* stay constant; violations across 5 clip lengths x 6 seeds x 200 clips are zero.4. **The global head needs supervision.** The head that section 10 specifies (FoV, principal point, gravity, uncertainty) received no gradient in the first implementation, because the loss list of section 11 never references it — yet section 11.1 step 2 uses its output to initialise the solver. Added FoV, principal-point, clip-level-gravity and uncertainty-calibration terms; a test now asserts every head receives finite gradients.5. **EUCM's sampled `alpha`/`beta` range exceeds the stated FoV range.** The example parameters in section 7.4 (`alpha=0.63, beta=1.34, fx=241` at 832 px wide) give a ~253 deg horizontal FoV, not the `<= 180 deg` the section-7.2 sampling range implies. The sampler therefore solves for the focal length from a *target* FoV and rejects on the achieved FoV, rather than sampling `alpha`/`beta`/`f` independently.6. **`Stage-1b` colour encodings must be decodable.** The doc asks for perceptual colour maps ("latitude continuous colour map"). A perceptual map is not invertible, so the target cannot be validated. Both are provided: `perceptual` for contact sheets and papers, and an invertible `codec` family used as the actual generation target, with round-trip error through 8-bit video measured at 0.18 deg (latitude), 0.06 deg (up), 0.22 deg (ray).
7. **The open profile bank cannot cover decentred distortion.** Section 8.3 grades the bank on covering barrel, pincushion, moustache, fisheye *and* "clearly asymmetric / decentred residuals", and section 8.1 presents the open path as an equivalent substitute for LensView. It is not, on that last family: Lensfun's three present models (`ptlens`, `poly3`, `poly5`) are radial in one variable, the database holds no `acm` entries (the only format with tangential terms), and Optiland's sample designs are centred. Measured on the built bank: `p1`, `p2` fitted from 120 real profiles stay within `+-2e-4` of zero. The v1 synthetic sampling does not fill the gap either, because it follows AnyCalib's `radial:1` with `p1 = p2 = 0`. Decentring is therefore carried only by the non-parametric residual field, which represents it but provides no training signal for it. `docs/DATA.md` states this rather than letting the family counts imply coverage.
8. **The ray and gravity angular losses cannot be `arccos`.** Section 11 specifies `acos(clamp(r_pred . r_gt))`, which is the right *metric* and the wrong *loss*: its derivative is `-1/sqrt(1 - cos^2)`, infinite at zero error. Measured here -- at exactly zero error `arccos` produces a **NaN gradient**; at 1e-7 rad it produces a gradient of **2.7e7**. The consequence is that a run turns to NaN precisely because it started fitting, which is how this was found: the decoder overfit gate reached ~0 gravity error at step ~200 and every loss term went NaN together. `stable_angle` uses the half-angle form `2 * atan2(||a - b||, ||a + b||)`, which agrees with `arccos` to 4e-9 degrees, has a bounded derivative (0.203 at 1e-7 rad), and is used by every angular *loss*; `arccos` stays in the metrics, where no gradient is taken. `tests/test_geometry.py` asserts both the agreement and that the bad case is still bad, so the two cannot be confused again.
9. **"Single frame" has to mean one frame.** Doc section 15 asks for a capacity-matched single-frame baseline. The obvious implementation -- take the video network and delete the temporal blocks -- is *not* one: it still ingests every frame of the clip and pools them into the clip-level ray field, so it measures whether explicit temporal mixing helps, not whether video beats a single frame. Verified structurally: with `temporal=False` the encoder has 0 `SpaceTimeBlock` and the decoder 0 `TemporalAttention`, yet a 17-frame input still produces one clip-level ray field. The three configurations are now distinct and separately named -- `video` (temporal mixing over N frames), `frame_pooled` (no temporal mixing, N frames pooled), and `single_frame` (same architecture, `--frames` forced to 1) -- because the first version's naming would have turned a temporal-mixing ablation into an unsupported claim about video versus single frame.
## Implementation findings
Not errors in the plan -- integration details that fail silently orconfusingly, recorded so they are not rediscovered.
* **`enable_gradient_checkpointing` was a no-op.** The natural first implementation sets a flag on each block; the upstream Wan blocks never read it, so nothing changed and the 81-frame 480p step OOMed at over 90 GiB. It now wraps all 45 block forwards in `torch.utils.checkpoint` with `use_reentrant=False` (required -- the blocks take keyword arguments), and the same step runs in 41.7 GiB.* **Wan's forward must be wrapped in a bf16 autocast.** `time_embedding` forces float32 internally and hands the result to bf16 blocks; without the wrapper the first attention fails on a dtype mismatch. `WanVaceBackbone.forward` does it so callers cannot forget.* **VACE's context is `[inactive | reactive | mask]`, 16 + 16 + 64 = 96 channels.** Putting the conditioning latent in the wrong slot does not crash; the branch simply receives the RGB in the slot reserved for the region it is supposed to invent. `build_vace_context` names the split and validates the channel count.* **Freezing has to be verified by comparison, not inspection.** After an optimiser step, `patch_embedding.weight` is bit-identical (max delta 0) while `vace_blocks.0.modulation` moves by 5.9e-03 -- that check is what actually demonstrates the base is frozen.* **GeoCalib's gravity vector is the negation of ours.** Its `Gravity.from_rp` is `(-sin r cos p, -cos r cos p, sin p)` against our `(sin r cos p, cos r cos p, -sin p)`. The first adapter carried it through unchanged and the evaluation reported ~147 degrees of gravity error, which reads as a broken model rather than a broken adapter. `tests/test_third_party_agreement.py` now pins the conversion against GeoCalib's own class rather than against a remembered formula.* **Fixing a baseline's camera family measures the mismatch, not the baseline.** Evaluating AnyCalib with `cam_id="pinhole"` on 230-degree EUCM clips gives 34 degrees of ray error -- a number about the protocol, not the model. AnyCalib predicts a dense ray field and fits whatever family it is asked for, so the fair protocol passes each clip's *true* family (`--anycalib-camera gt`), and the fixed-family run is reported separately as the cost of getting model selection wrong.* **This cuDNN build cannot run the bf16 convolution backward at all for two whole classes of convolution.** Measured here (cuDNN 9.21, H200), all in the **backward** and all reported as a bare `RuntimeError: GET was unable to find an engine to execute this computation` that names neither the layer nor the reason:
| convolution | with cuDNN | cuDNN disabled | |---|---|---| | `Conv2d(64, 128, 1, stride=1)` | works | works | | `Conv2d(64, 128, 3, stride=1)` | works | works | | `Conv2d(64, 128, 2, stride=2)` | **fails** | works | | `Conv2d(64, 128, 3, stride=2)` | **fails** | works | | `Conv2d(64, 128, 7, stride=4)` | **fails** | works | | `Conv2d(1552, 256, 1)` | works | works | | `Conv2d(1554, 256, 1)` | **fails** | works | | `Conv2d(64, 8, 1)` | works | works | | `Conv2d(64, 4, 1)` | **fails** | works |
So: any stride > 1, and any 1x1 whose channel counts are not 8-aligned. Both are natural to write here -- an RGB stem is `Conv2d(3, 64, 7, stride=4)`, a stage downsample is stride 2, the neck input is 1536 DiT channels plus 18 coordinate-PE channels, and the heads project to 2, 4 and 12 channels.
Two responses, both kept. `AlignedConv1x1` / `AlignedConv2d` pad both channel counts to a multiple of 8 and slice the output back, which is good practice regardless and makes the model portable; a test asserts structurally that no convolution anywhere in the model is misaligned. And `ensure_conv_backend` probes the shapes this project uses at trainer construction and disables cuDNN only if they fail, logging what it changed. On this machine the fallback costs nothing: a full training step of the video baseline (batch 2, 9 frames, 240x416) takes 0.117 s either way.* **The Wan VAE compresses time 4x, so the DiT predicts at latent-frame rate.** A 33-frame clip becomes 9 latent frames, and the per-frame heads produce 9 predictions, not 33. Comparing those with 33 frames of labels is a shape error if you are lucky and a silently wrong loss if broadcasting saves you. `latent_frame_centres` encodes Wan's causal grouping -- frame 0 maps to latent 0, then each group of 4 -- and `upsample_to` interpolates on those centres rather than on a naive `linspace`.* **A single-batch loss is not a readable trend, and neither is a 12-clip validation median.** One batch of 4 clips mixes a 65-degree pinhole with a 250-degree fisheye -- different problems -- so the instantaneous loss swings by about 2 nats with no change in the model, and the von Mises-Fisher term amplifies it. Observed on a real run: instantaneous loss 1.02 / 0.12 / 0.23 over three consecutive log points while the 100-step mean fell monotonically 2.82 / 1.78 / 1.31. The training log now reports both. This is the same mistake as reading the rectified-flow loss as a curve, in a different guise: the fix in both cases is to hold constant whatever is varying.* **Tracking `best_val` without saving it makes selection impossible.** The first implementation recorded the best validation ray AE and then wrote the *final* weights, so a run whose validation degraded shipped the worse model -- while doc section 10 says explicitly that the decoder is chosen on validation ray angular error. `decoder.pt` is now the selected checkpoint (best, or final if final is better), `decoder_final.pt` and `decoder_best.pt` are both kept, and the summary records which was chosen and at which step.* **Label generation, not the GPU, is what limits training throughput.** The up field is two camera projections per pixel per frame; generating it at 832x480 and resizing to the 240x416 training grid cost about 8x more than generating it at 240x416 directly, and expanding all 81 frames of a clip when a sample uses 17 cost another ~5x. Measured per clip: 13.5 s at full resolution and all frames, 1.66 s at the training stride and the selected frames. Two further cuts followed from looking at the profile rather than guessing: the validation set does not need the up field or latitude at all (it measures ray angular error), and QC was unprojecting the same pixel grid twice per clip. With the GPU step at 0.117 s, anything above that in the loader is the whole cost of a run.* **Grouped 3-D convolution has bf16 kernel gaps too.** The temporal depthwise convolution was originally a `Conv3d` with a `(k, 1, 1)` kernel; it is now the arithmetically identical grouped `Conv1d` over `[B*H*W, C, T]`, which has full kernel coverage and is faster. A test pins the equivalence.* **The rectified-flow training loss cannot be read as a curve.** It resamples the timestep every step and the objective's magnitude depends strongly on it, so consecutive losses vary ~5x with no learning involved. `evaluate_fixed_timesteps` holds the timestep, the noise and the clip fixed; that is what the gate uses.
## Paper tier (doc sections 9.1, 12.4, 13.1)
The MVP tier answered doc section 15 with a clean dataset, and that turned out tobe the limit of what it could answer. Rendering a static panorama with no noise,no occlusion and no exposure integral gives every frame of a clip *identical*lens information, so temporal aggregation has nothing to suppress and themeasured result -- a video network no better than a single frame -- is astatement about the data, not about video. The paper tier exists to make theclaim testable.
### What changed
* **Imaging conditions** (`vidicalib/render/conditions.py`), mixed per clip at the doc's section 9.1 weights: clean 0.40, noise 0.12, night 0.12, low_texture 0.12, motion_blur 0.08, dynamic_occlusion 0.16. `--conditions default` on `tools/render_calib_clips.py`; `--conditions clean` (the default) reproduces the MVP path exactly.* **Motion blur is an exposure integral, not a post-process.** Each output frame is the mean of sub-frames whose orientations are interpolated across `exposure_fraction` of the interval to the next frame, so the smear follows the actual motion and its length varies with the local angular velocity.* **Measured-profile OOD clips** (`tools/render_ood_clips.py`): real Lensfun and Optiland profiles from lens families the training split never contains, rendered through `render_clip_rays` with the profile's own ray grid as the ground truth.
### Findings
* **Every pixel has to be visible in some frame, and that does not happen by itself.** The point of dynamic occlusion is the asymmetry -- a per-frame method cannot recover an occluded region from that frame, a temporal one can, because the occluders move. A pixel hidden in *every* frame is recoverable by nothing and only adds label noise. Two independently sampled occluders can between them cover a pixel for a whole clip: rare per pair, but at four occluders it happened on 1 seed in 6 and hid 5.6% of pixels permanently. Occluders are now accepted greedily under the invariant -- a candidate is kept only if, after compositing it, essentially every pixel is still visible somewhere. Measured over 24 seeds at four clip shapes: 28-38% mean occlusion, worst-case permanently-hidden fraction 0.0008, at a cost of about one rejection per clip. On the 230-clip full-resolution pilot the worst case was 0.00047.* **A clip can be assigned motion blur and have none.** On a stop-and-go trajectory the camera is stationary, the exposure integral is a no-op, and the render is byte-identical to the clean one -- physically correct, but it would put an easy clip in the "hard" bucket of the results table. The generator now measures the achieved blur (`exposure_sweep_deg / clip_deg_per_px`) and relabels the clip `clean` below half a pixel, recording `relabelled_from` so the relabelling is visible rather than silent.* **Blur direction needed a single-orientation test to settle.** A checkerboard suggested the smear ran the wrong way; a checkerboard has both edge orientations and cannot separate them. With single-orientation stripes the answer is unambiguous: yaw destroys vertical-stripe contrast by 70% and leaves horizontal stripes untouched (0%), pitch does the reverse (69% against 9%).* **Running the conditions on the CPU cost more than rendering the clip.** At 832x480x81 each non-clean condition takes 19-32 s on CPU against 18.5 s for the render itself, and with twelve render workers on twenty-four cores the thread oversubscription made it worse: throughput fell from 0.65 to 0.121 clips/s, a 5x regression, for work that is 0.0-0.35 s on the GPU. The conditions now run on the device the frames are already on, and the pilot measured **0.70 clips/s** -- slightly *faster* than the clean MVP run. The scalar parameters (which condition, how strong, where the occluders go) still come from a CPU generator, so they stay reproducible across devices; only the per-pixel noise realisation is device-local, because drawing 400M samples on the CPU and copying them costs more than the render.* **The condition RNG must not be seeded from `hash()`.** Python salts string hashing per process, so seeding from `hash(clip_id)` would have given a different condition for the same clip on every run -- unreproducible in the way that is hardest to notice, since any single run looks perfectly consistent. It uses `zlib.crc32` instead.* **88% of held-out lens profiles have no converged parametric fit.** The OOD ground truth therefore cannot be "the fitted Brown-Conrady": of the 12% that do fit, the fit is off from the true profile by a median of 0.007 degrees but up to 1.0 degree, which is the same order as the effect being measured. The profile's own ray grid is stored as the ground truth instead, evaluated on both the output and the supersampled lattice rather than interpolated from one to the other. Round-trip through the manifest is exact to 2.4e-6 degrees, the arccos metric's own noise floor.* **An ablation that runs is not an ablation that varies anything.** The doc section 12.4 pair `fixed_principal_point` / `variable_principal_point` ran green and produced *byte-identical* rows, including the principal-point error itself. `fit_camera`'s `principal_point` argument only seeds the multistart and centres the pixel sampler; the optimiser then moved cx, cy straight back to the truth. Holding a parameter requires removing it from the step, which is now done by solving the *reduced* normal equations -- not by computing the full step and zeroing the fixed entries, which would let the remaining parameters absorb a direction they should never have seen. Measured on a camera whose principal point is 8.5 px off centre: free recovers (112.00, 55.00) exactly at 0.0000 degrees, fixed holds (103.50, 59.50) exactly at 2.95 degrees. Four tests pin it, including one asserting that on a centred camera the constrained and unconstrained fits agree -- the check that distinguishes a reduced solve from a zeroed one.* **The measured-profile renderer is the same renderer.** `render_clip_rays` and `render_clip` share `_sample_frames`; a test asserts that feeding a parametric camera's own ray field to the measured path reproduces its render bit for bit, so the OOD numbers cannot be an artefact of a second implementation.
## The mainline: VACE generative geometry pre-training (doc Phase 1a/1b/2)
Everything reported before this section used `--feature-source base`: the rawWan2.1 video-generation features with **no geometric pre-training at all**.That is not the design doc's method. The doc's mechanism is Stage 1a (sparsegeometry overlays) then Stage 1b (dense ray / latitude / up encodings) as*generative* pre-training of the VACE branch, and only then reading featuresout for the geometry decoder. Running the mainline is what this sectionrecords.
The doc is unambiguous that the base stays frozen -- sections at lines 12, 56,518, 533 and 764 all say so, and 764 lists it as the cost-control measure.Only the VACE branch trains: 735 M of 2,154 M parameters.
### Stage 1a, as run
8,500 optimizer steps, 81 frames, 480p, 56.9 wall-hours. The recorded batchhistory is 3,250 steps at batch 1 followed by 5,250 at batch 3: approximately19,000 sample presentations on the retained branch, not 25,500. The designdocument specifies 25,000 **steps**, so this is not the same training budget.The 8,500-step stopping point was a user-approved adjustment. Fixed-timestep flow-matching loss **1.100 -> 0.031**, a36x reduction. Two methodological discontinuities are baked into that curve andit must not be read as one trajectory: batch changed 1 -> 3 at step 3,250, andthe cosine schedule was re-scoped from 25,000 to 8,500 steps at step 3,500,which stepped the learning rate down from 9.7e-5 to 8.3e-5.
Throughput is flat in batch size: 13.71 s/sample at batch 1 and 13.66 s/sampleat batch 3, i.e. **0.4% apart**, while memory went 45.8 GB -> 119.0 GB. Theworkload is compute-bound on a single 81-frame 480p forward through a 2.15 BDiT, so a larger batch buys wall-clock nothing. Batch 4 needs ~156 GB and doesnot fit in 143 GB.
### A stage that reported success having trained nothing
Stage 1b "completed" in 48 seconds with `rc=0` and a normal-looking`summary.json`. It had trained **zero steps**.
The resume guard added to make a 100-hour run restartable contained this:
```pythonsame_stage = str((sd.get("config") or {}).get("stage", args.stage)) == args.stage```
The default for the lookup is the value it is compared against, so acheckpoint that records no stage matches *every* stage -- and none recordedone, because the stage lived in the CLI arguments and never reached theserialised config. Stage 1b therefore restored Stage 1a's optimiser **and itsstep counter of 8,500** against its own budget of 3,334. `while step <args.steps` was false on entry, the loop never ran, and the stage wrote asummary claiming completion.
The tell was in the summary all along: `first_loss: null`, `last_loss: null`,`fixed_ratio: 1.0` -- before and after identical to the last decimal -- and twolog rows carrying the same numbers. Nothing in the pipeline looked at any ofthem.
What it cost: the geometry decoder then trained for 17 hours on Stage-1a-onlyfeatures while being labelled 1a+1b. That run is real but answers a differentquestion, and is reported as such below.
Four things changed:
* the checkpoint records `stage` at its top level, from the trainer config;* **an absent stage counts as a *different* stage.** Unknown must mean "different", because the unsafe direction inherits an optimiser and a step count across a curriculum boundary;* resuming at or past the step budget is an error that returns non-zero and **refuses to write a summary**, instead of completing silently;* the chain verifies `first_loss is not None and steps >= 3000` before it will train a decoder on those weights.
`tests/test_models.py` pins all four, including the faulty comparison writtenout as an explicit assertion.
### Historical decoder results: not a controlled comparison
| actual run | decoder steps | historical best validation ray AE ||---|---:|---:|| paper_single_frame, 1 frame | 20,000 | 8.2210 deg || paper_video, 17 frames | 20,000 | 9.1937 deg || fair_vace, base features, no geometry pretraining | 1,500 | 8.0847 deg || Stage-1a-only, vace features | 20,000 | 7.99 deg (conversation record only) || Stage-1a+1b, vace features, pre-fix archive | 20,000 | 7.5741 deg |
The original Stage-1a-only decoder weights and logs were overwritten. Its7.99-degree number cannot be treated as a preserved reevaluable checkpoint.The surviving Stage-1a and Stage-1b branch weights and the pre-fix 1a+1b decoderare archived under `archive/2026-09-12_pre_fix/`.
These runs changed feature source, training schedule and validation selection;the early convolutional runs used 32 validation clips, and the later VACE runsused the first 128 clips from only two panoramas. All pre-fix decoder trainingalso used inconsistent camera intrinsics after resizing. Neither improvement norregression in this table can be attributed solely to geometric pretraining.The previous conclusion that sparse-overlay pretraining was nearly useless,or that these runs could refute the design, is withdrawn.
The corrected comparison is implemented in `tools/run_vace_controlled.py`.For each of `base`, `vace` and `fused`, it independently compares bundled VACEweights, Stage-1a, and Stage-1a+1b with the same decoder settings, feature task,seed and validation subset. Feature-source changes are a separate ablation.Full evaluation uses OpenPano test and the Lensfun/Optiland OOD manifest.123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119# VACE correctness repair — 2026-09-13
The remaining training/evaluation defects from the two September 12 reviews havebeen repaired. This report distinguishes implementation verification from acompleted scientific comparison. The long corrected experiment has not run.
## Changes
- **Task-conditioned held-out validation.** Stage-1b validation now takes clips from the `val` split, checks entity leakage, and samples each of the four tasks across independent sources. Training, fixed-noise validation and generation pass the same task codes. Per-task results and clip/source IDs are recorded; the aggregate flow loss weights tasks equally. Stage-1a retains zero task context even when a manifest also contains Stage-1b labels.- **Generated geometry checks.** Before and after Stage-1b training, the validator also integrates from pure noise with RGB and the task as conditions. No target overlay enters this sampler. Generated ray, latitude and up encodings are compared with camera/pose ground truth; temporal errors are reported. The undistortion drawing uses line precision/recall/F1 and temporal RGB error, explicitly separate from camera angular error. Default generation checks one held-out clip per task with 20 Euler steps; fixed-noise validation defaults to four clips per task. These are diagnostics, not full test-set acceptance.- **Identical feature extraction in training and evaluation.** Both now use `VaceFeatureExtractor`. Evaluation restores saved frame count, resolution, seed, feature source/layer/tau/task, branch identity and two-pass setting. Explicit CLI overrides are recorded in the report. Branch SHA-256 is checked when recorded, and missing or unexpected decoder tensors are rejected.- **Two-pass training and evaluation.** Evaluation now uses the second pass when the checkpoint requires it. The GPU smoke test exposed another defect: training mixed full-resolution GT rays with a half-resolution coarse prediction. GT rays are now resized and renormalized before that mixture.- **FoV.** Radial sampling now refines the first valid/invalid domain boundary. Global FoV supervision uses original camera parameters and dimensions; cycle and principal-point terms use resized intrinsics. This preserves the camera FoV target while pixel-centre locations change.- **Controlled experiments.** `tools/run_vace_controlled.py` compares raw bundled Wan-VACE, Stage-1a, and Stage-1a+1b **within each fixed feature source**. Decoder architecture/settings, training budget, validation sample, feature task and random seed are held fixed within each comparison. Base/vace/fused is a separate source ablation; fused features have a larger input dimension. Every decoder is followed by OpenPano test and Lensfun/Optiland OOD evaluation.- **Run integrity.** Existing training outputs are protected from overwrite; old unconditioned Stage-1b checkpoints cannot silently resume as the repaired curriculum. Training configuration and validation identities are persisted. Evaluation exceptions are recorded and return a nonzero status.- **Historical reporting.** `STATUS.md` corrects the single-frame/video mix-up, the Stage-1a sample count (approximately 19,000 on the retained branch), and withdraws conclusions that the old comparisons could establish pretraining benefit or refute the design. The archived pre-fix 1a+1b decoder did eventually finish 20,000 steps at 7.5741 degrees validation AE; that is still a result affected by the old supervision and validation defects.
## FoV evidence
For the real EUCM sample`001_hdrmaps_com_free_traj_000000_eucm_000000`:
| diagonal FoV | original 832×480 | resized 416×240 ||---|---:|---:|| previous coarse radial sampling | 231.047392° | 239.419364° || refined valid-domain boundary | 245.226195412° | 245.226195405° |
The earlier 231-degree value was itself an underestimate, not an exact reference.The corrected diagonal values differ by less than 1e-8 degrees. Other FoVdirections can legitimately change slightly when their outer pixel centres move;the training target therefore explicitly retains the original camera definition.An analytic EUCM-domain regression also checks several radial sample counts,resolutions and batched parameters.
Detailed values: [fov_evidence.json](/workspace/sglang/analysis/vidicalib_repair_20260913/fov_evidence.json).
## Validation
- Full CPU suite: **331 passed, 1 skipped** in 254.62 seconds. The skip requires a GPU; that exact test was run separately on the H200 and **passed**.- Changed production/test files pass Ruff.- The GPU smoke uses actual Wan-VACE weights and manifests. Stage-1b trains **2 steps**, checks all four held-out tasks with free generation, and supplies its branch to the matched decoder experiment.- Each of the three `vace`-source decoders trains **2 steps**, with a nondefault seed **37**, **9 frames**, **176×304** features, task `ray_grid`, and **two-pass** decoding. Each then evaluates one OpenPano test clip and one OOD clip without specifying the input configuration again. These tiny runs test loading, optimization and evaluation wiring; their accuracy is not a method result.
Logs and evidence are in[/workspace/sglang/analysis/vidicalib_repair_20260913/](/workspace/sglang/analysis/vidicalib_repair_20260913/).The Stage-1b smoke artifacts are in[runs/repair_smoke_20260913/stage1b](../../runs/repair_smoke_20260913/stage1b/).The decoder/test/OOD artifacts are in[runs/repair_smoke_20260913_decoder_v2](../../runs/repair_smoke_20260913_decoder_v2/).An earlier smoke failure, which exposed the two-pass shape defect, is preservedin the original smoke directory.
## Corrected full experiment
The generated [plan](../../runs/controlled_repaired_20260913/plan.json) has oneStage-1b run, nine decoder runs (three sources × three pretraining states), andeighteen full test/OOD evaluations. It pins input manifest/Stage-1a hashes andall commands. Each decoder uses 20,000 steps; Stage-1b uses the previouslyadjusted 3,334-step, batch-3 budget. These are the recorded experiment budgets,not a claim of matching the design document's original 25k/10k steps.
To execute that saved configuration from the project root:
```bashpython3 tools/run_vace_controlled.py \ --manifest /data/derived/vidicalib/paper/manifest.jsonl \ --root /data/derived/vidicalib/paper \ --ood-manifest /data/derived/vidicalib/ood/manifest.jsonl \ --ood-root /data/derived/vidicalib/ood \ --stage1a-checkpoint runs/main_vace_1a/vace.pt \ --out runs/controlled_repaired_20260913 \ --feature-sources base,vace,fused --execute```
The generated-geometry checks establish that a run was evaluated, not that itlearned useful calibration. The matched full test/OOD results and theiruncertainty are still needed before judging the scientific hypothesis.12345678910111213141516171819202122232425{ "brown_conrady": { "k1": [ -0.375681, 0.221012 ], "k2": [ -0.5, 0.5 ], "p1": [ -0.000186, 6.3e-05 ], "p2": [ -3.9e-05, 0.000101 ], "k3": [ -0.2, 0.2 ], "fitted_from": "120 profiles" }}12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273{ "sources": { "lensfun": { "files": 56, "lenses": 1564, "entries": 6432, "skipped_model": 0, "skipped_incomplete": 0, "by_model": { "ptlens": 5554, "poly3": 873, "poly5": 5 }, "parsed": 6432, "families": 1429 }, "optiland": { "attempted": 78, "rejected_nonmonotone": 0, "rejected_trace": 42, "rejected_coverage": 0, "by_design": { "cooke_triplet": 6, "double_gauss": 6, "reverse_telephoto": 6, "telephoto": 6, "petzval": 0, "tessar": 6, "heliar": 6, "aspheric_singlet": 6, "field_corrector": 0 }, "generated": 42 } }, "clusters": 2169, "duplicates": 4255, "split": { "clips": { "train": 4546, "val": 606, "test": 1322 }, "families": { "train": 999, "test": 296 }, "test_families_unseen_fraction": 1.0 }, "taxonomy": { "barrel": 2203, "negligible": 1326, "pincushion": 2732, "fisheye": 36, "moustache": 177 }, "n_profiles": 6474, "n_families": 1436, "wall_seconds": 5142.6, "taxonomy_before_fisheye_refinement": { "barrel": 2236, "negligible": 1326, "pincushion": 2732, "moustache": 180 }, "lens_types": { "rectilinear": 6396, "fisheye": 10, "equisolid": 21, "stereographic": 5, "null": 42 }}1234567891011121314151617181920212223242526272829{ "backbone": "vace", "frames": 17, "resolution": [ 240, 416 ], "steps": 20000, "parameters": { "decoder": 4902476, "frozen_backbone": 2153972032, "total": 4902476 }, "first_loss": 5.975213527679443, "last_loss": -2.465052366256714, "loss_ratio": -0.41254632237620653, "val": { "val_ray_ae_median_deg": 10.77399586204964, "val_sem_deg": 0.672927457721332, "val_n_clips": 128.0, "best": 10.77399586204964 }, "val_best": 10.77399586204964, "selected_checkpoint": "final", "best_step": 20000, "wall_seconds": 34993.5, "checkpoint": "/workspace/sglang/vidicalib/runs/controlled_repaired_20260913/base_raw_vace/decoder.pt", "overfit_clips": null}123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114{ "n_clips": 600, "evaluation_errors": [], "methods": [ "vace" ], "vace_evaluation": { "feature_config": { "backbone": "vace", "wan_checkpoint": "/data/models/Wan2.1-VACE-1.3B", "vace_repo": "/workspace/sglang/vidicalib/third_party/VACE", "vace_checkpoint": null, "layer": 16, "tau": 0.7, "feature_source": "base", "frames": 17, "resolution": [ 240, 416 ], "two_pass": false, "seed": 0, "feature_task": "ray_grid", "noise_seed_scheme": "crc32_xor_v1" }, "overrides": {} }, "frames": 17, "resolution": 240, "seed": 0, "wall_seconds": 8362.5, "summary": { "fov_bucket": { "vace | 110-150": { "ray_ae_median": 7.247437289793123, "ray_ae_p95": 9.249909133478559, "edge_ray_ae_median": 8.96975088695358, "edge_ray_ae_p95": 9.40983799417149, "reproj_px_median": 64.61963057263507, "focal_rel_err": NaN, "pp_err_px": NaN, "fov_diagonal_err_deg": NaN, "gravity_err_deg": 27.325173110593212, "family_correct": NaN, "n": 36 }, "vace | 70-110": { "ray_ae_median": 6.909983691989331, "ray_ae_p95": 8.022934875649971, "edge_ray_ae_median": 7.457983085185572, "edge_ray_ae_p95": 7.964930230920637, "reproj_px_median": 63.84474683081963, "focal_rel_err": NaN, "pp_err_px": NaN, "fov_diagonal_err_deg": NaN, "gravity_err_deg": 28.029929867679872, "family_correct": NaN, "n": 313 }, "vace | <70": { "ray_ae_median": 13.518411651648801, "ray_ae_p95": 16.314676032574063, "edge_ray_ae_median": 16.008519179083514, "edge_ray_ae_p95": 16.575590044979194, "reproj_px_median": 116.43290577067319, "focal_rel_err": NaN, "pp_err_px": NaN, "fov_diagonal_err_deg": NaN, "gravity_err_deg": 31.460209521281083, "family_correct": NaN, "n": 251 } }, "camera_model": { "vace | measured_profile": { "ray_ae_median": 9.724175042464234, "ray_ae_p95": 11.30607974362696, "edge_ray_ae_median": 10.771443932075275, "edge_ray_ae_p95": 11.356666105828655, "reproj_px_median": 86.73775362586849, "focal_rel_err": NaN, "pp_err_px": NaN, "fov_diagonal_err_deg": NaN, "gravity_err_deg": 29.652661600648237, "family_correct": NaN, "n": 600 } }, "all": { "vace | all": { "ray_ae_median": 9.724175042464234, "ray_ae_p95": 11.30607974362696, "edge_ray_ae_median": 10.771443932075275, "edge_ray_ae_p95": 11.356666105828655, "reproj_px_median": 86.73775362586849, "focal_rel_err": NaN, "pp_err_px": NaN, "fov_diagonal_err_deg": NaN, "gravity_err_deg": 29.652661600648237, "family_correct": NaN, "n": 600 } } }, "failure_detection": { "vace": { "failure_auroc": 0.4810573630136986, "failure_auprc": 0.9680499521307512, "failure_rate": 0.9733333333333334, "n": 600 } }, "length_curve": {}}123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153{ "n_clips": 2640, "evaluation_errors": [], "methods": [ "vace" ], "vace_evaluation": { "feature_config": { "backbone": "vace", "wan_checkpoint": "/data/models/Wan2.1-VACE-1.3B", "vace_repo": "/workspace/sglang/vidicalib/third_party/VACE", "vace_checkpoint": null, "layer": 16, "tau": 0.7, "feature_source": "base", "frames": 17, "resolution": [ 240, 416 ], "two_pass": false, "seed": 0, "feature_task": "ray_grid", "noise_seed_scheme": "crc32_xor_v1" }, "overrides": {} }, "frames": 17, "resolution": 240, "seed": 0, "wall_seconds": 31215.4, "summary": { "fov_bucket": { "vace | 110-150": { "ray_ae_median": 9.448865458346251, "ray_ae_p95": 11.903770899067467, "edge_ray_ae_median": 9.466657894742308, "edge_ray_ae_p95": 11.177205265184472, "reproj_px_median": 90.12047438764725, "focal_rel_err": 0.3757959907904216, "pp_err_px": 4.357830585876249, "fov_diagonal_err_deg": 18.16437923536442, "gravity_err_deg": 28.126843151856015, "family_correct": 0.34834123222748814, "n": 844 }, "vace | 70-110": { "ray_ae_median": 7.233149536879154, "ray_ae_p95": 9.31009330016595, "edge_ray_ae_median": 7.464846529340913, "edge_ray_ae_p95": 8.819371477736807, "reproj_px_median": 64.00263344578154, "focal_rel_err": 0.22046544480465263, "pp_err_px": 4.369094639894293, "fov_diagonal_err_deg": 14.282997712248589, "gravity_err_deg": 27.85699789210969, "family_correct": 0.3849493487698987, "n": 691 }, "vace | <70": { "ray_ae_median": 18.25870978436177, "ray_ae_p95": 24.258151168695274, "edge_ray_ae_median": 23.03869480358643, "edge_ray_ae_p95": 24.89515924748253, "reproj_px_median": 150.33808717112933, "focal_rel_err": 0.5847414316533691, "pp_err_px": 4.084379283902414, "fov_diagonal_err_deg": 48.38706441629387, "gravity_err_deg": 30.6956761751731, "family_correct": 0.4465753424657534, "n": 365 }, "vace | >150": { "ray_ae_median": 11.16587727602208, "ray_ae_p95": 24.11522644833696, "edge_ray_ae_median": 24.758728217450862, "edge_ray_ae_p95": 34.70363719596215, "reproj_px_median": 54.90198341958626, "focal_rel_err": 0.2107238664200724, "pp_err_px": 5.789294227621619, "fov_diagonal_err_deg": 54.987895214387244, "gravity_err_deg": 29.223502932828897, "family_correct": 0.7743243243243243, "n": 740 } }, "camera_model": { "vace | brown_conrady": { "ray_ae_median": 9.980425245074262, "ray_ae_p95": 12.76110791713003, "edge_ray_ae_median": 10.69029546788517, "edge_ray_ae_p95": 12.250598890430838, "reproj_px_median": 91.02824175025273, "focal_rel_err": 0.36385220135835034, "pp_err_px": 4.240689836856525, "fov_diagonal_err_deg": 20.952836260132912, "gravity_err_deg": 27.872446858552873, "family_correct": 0.058165548098434, "n": 894 }, "vace | eucm": { "ray_ae_median": 10.04923644552471, "ray_ae_p95": 21.058123311816672, "edge_ray_ae_median": 19.166470025188367, "edge_ray_ae_p95": 27.554517571825993, "reproj_px_median": 53.476132571214976, "focal_rel_err": 0.21191093020305632, "pp_err_px": 5.630370179584474, "fov_diagonal_err_deg": 45.0872709466012, "gravity_err_deg": 28.96583215852829, "family_correct": 0.7033218785796106, "n": 873 }, "vace | pinhole": { "ray_ae_median": 10.73046696537365, "ray_ae_p95": 13.355089931622253, "edge_ray_ae_median": 10.894469353761526, "edge_ray_ae_p95": 12.544221871421927, "reproj_px_median": 97.17607148337146, "focal_rel_err": 0.38884093696094607, "pp_err_px": 4.330435456569303, "fov_diagonal_err_deg": 20.847791281994205, "gravity_err_deg": 29.122670165537812, "family_correct": 0.7216494845360825, "n": 873 } }, "all": { "vace | all": { "ray_ae_median": 10.312489748258983, "ray_ae_p95": 14.80730981122083, "edge_ray_ae_median": 12.074541243994894, "edge_ray_ae_p95": 14.273164656708584, "reproj_px_median": 81.447281765284, "focal_rel_err": 0.3127721136801356, "pp_err_px": 4.6567664138463565, "fov_diagonal_err_deg": 25.63150671151299, "gravity_err_deg": 28.76427583923224, "family_correct": 0.4909090909090909, "n": 2640 } } }, "failure_detection": { "vace": { "failure_auroc": 0.394996138996139, "failure_auprc": 0.9765055764232152, "failure_rate": 0.9810606060606061, "n": 2640 } }, "length_curve": {}}1234567891011121314151617181920212223242526272829{ "backbone": "vace", "frames": 17, "resolution": [ 240, 416 ], "steps": 20000, "parameters": { "decoder": 4902476, "frozen_backbone": 2153972032, "total": 4902476 }, "first_loss": 3.3155667781829834, "last_loss": -2.43129301071167, "loss_ratio": -0.7332963482171461, "val": { "val_ray_ae_median_deg": 11.194855373403177, "val_sem_deg": 0.6804071053752561, "val_n_clips": 128.0, "best": 11.194855373403177 }, "val_best": 11.194855373403177, "selected_checkpoint": "final", "best_step": 20000, "wall_seconds": 40881.1, "checkpoint": "/workspace/sglang/vidicalib/runs/controlled_repaired_20260913/base_stage1a/decoder.pt", "overfit_clips": null}1234567891011121314151617181920212223242526272829{ "backbone": "vace", "frames": 17, "resolution": [ 240, 416 ], "steps": 20000, "parameters": { "decoder": 4902476, "frozen_backbone": 2153972032, "total": 4902476 }, "first_loss": 3.9922940731048584, "last_loss": -1.8044129610061646, "loss_ratio": -0.45197395982477045, "val": { "val_ray_ae_median_deg": 10.428065535260759, "val_sem_deg": 0.6249596357633131, "val_n_clips": 128.0, "best": 10.428065535260759 }, "val_best": 10.428065535260759, "selected_checkpoint": "final", "best_step": 20000, "wall_seconds": 40860.3, "checkpoint": "/workspace/sglang/vidicalib/runs/controlled_repaired_20260913/base_stage1a1b/decoder.pt", "overfit_clips": null}123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116{ "n_clips": 600, "evaluation_errors": [], "methods": [ "vace" ], "vace_evaluation": { "feature_config": { "backbone": "vace", "wan_checkpoint": "/data/models/Wan2.1-VACE-1.3B", "vace_repo": "/workspace/sglang/vidicalib/third_party/VACE", "vace_checkpoint": "/workspace/sglang/vidicalib/runs/controlled_repaired_20260913/stage1b/vace.pt", "layer": 16, "tau": 0.7, "feature_source": "base", "frames": 17, "resolution": [ 240, 416 ], "two_pass": false, "seed": 0, "feature_task": "ray_grid", "noise_seed_scheme": "crc32_xor_v1", "vace_checkpoint_sha256": "084ecf1afae2f146b292f56021c50298ba0120d8114bc49c89899bb90e672f2a", "vace_stage": "1b" }, "overrides": {} }, "frames": 17, "resolution": 240, "seed": 0, "wall_seconds": 7054.7, "summary": { "fov_bucket": { "vace | 110-150": { "ray_ae_median": 6.346640157636585, "ray_ae_p95": 8.640512672431775, "edge_ray_ae_median": 7.514897928361103, "edge_ray_ae_p95": 9.350142873567457, "reproj_px_median": 59.365309256633594, "focal_rel_err": NaN, "pp_err_px": NaN, "fov_diagonal_err_deg": NaN, "gravity_err_deg": 18.544761762732005, "family_correct": NaN, "n": 36 }, "vace | 70-110": { "ray_ae_median": 6.800360984445245, "ray_ae_p95": 8.190467622417675, "edge_ray_ae_median": 7.4463860713091155, "edge_ray_ae_p95": 8.187658565337783, "reproj_px_median": 62.12781362810516, "focal_rel_err": NaN, "pp_err_px": NaN, "fov_diagonal_err_deg": NaN, "gravity_err_deg": 26.692462038940196, "family_correct": NaN, "n": 313 }, "vace | <70": { "ray_ae_median": 13.722695114973023, "ray_ae_p95": 17.35390275254243, "edge_ray_ae_median": 16.759847939566285, "edge_ray_ae_p95": 17.767592333310876, "reproj_px_median": 115.94419610646113, "focal_rel_err": NaN, "pp_err_px": NaN, "fov_diagonal_err_deg": NaN, "gravity_err_deg": 28.061688173006647, "family_correct": NaN, "n": 251 } }, "camera_model": { "vace | measured_profile": { "ray_ae_median": 10.148847839398455, "ray_ae_p95": 12.288816734129341, "edge_ray_ae_median": 11.709354752771809, "edge_ray_ae_p95": 12.395731774349551, "reproj_px_median": 88.11990443699807, "focal_rel_err": NaN, "pp_err_px": NaN, "fov_diagonal_err_deg": NaN, "gravity_err_deg": 26.77211718563447, "family_correct": NaN, "n": 600 } }, "all": { "vace | all": { "ray_ae_median": 10.148847839398455, "ray_ae_p95": 12.288816734129341, "edge_ray_ae_median": 11.709354752771809, "edge_ray_ae_p95": 12.395731774349551, "reproj_px_median": 88.11990443699807, "focal_rel_err": NaN, "pp_err_px": NaN, "fov_diagonal_err_deg": NaN, "gravity_err_deg": 26.77211718563447, "family_correct": NaN, "n": 600 } } }, "failure_detection": { "vace": { "failure_auroc": 0.4336182336182336, "failure_auprc": 0.9702293700528715, "failure_rate": 0.975, "n": 600 } }, "length_curve": {}}123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155{ "n_clips": 2640, "evaluation_errors": [], "methods": [ "vace" ], "vace_evaluation": { "feature_config": { "backbone": "vace", "wan_checkpoint": "/data/models/Wan2.1-VACE-1.3B", "vace_repo": "/workspace/sglang/vidicalib/third_party/VACE", "vace_checkpoint": "/workspace/sglang/vidicalib/runs/controlled_repaired_20260913/stage1b/vace.pt", "layer": 16, "tau": 0.7, "feature_source": "base", "frames": 17, "resolution": [ 240, 416 ], "two_pass": false, "seed": 0, "feature_task": "ray_grid", "noise_seed_scheme": "crc32_xor_v1", "vace_checkpoint_sha256": "084ecf1afae2f146b292f56021c50298ba0120d8114bc49c89899bb90e672f2a", "vace_stage": "1b" }, "overrides": {} }, "frames": 17, "resolution": 240, "seed": 0, "wall_seconds": 32088.1, "summary": { "fov_bucket": { "vace | 110-150": { "ray_ae_median": 9.39783592614962, "ray_ae_p95": 12.211928809908514, "edge_ray_ae_median": 9.06245642175816, "edge_ray_ae_p95": 10.967413140491708, "reproj_px_median": 92.03601064139855, "focal_rel_err": 0.34787755782203256, "pp_err_px": 6.427512567348606, "fov_diagonal_err_deg": 17.726338419485522, "gravity_err_deg": 25.183405254770115, "family_correct": 0.46445497630331756, "n": 844 }, "vace | 70-110": { "ray_ae_median": 6.969526163255424, "ray_ae_p95": 9.065457808359985, "edge_ray_ae_median": 6.879385859069715, "edge_ray_ae_p95": 8.633296757282762, "reproj_px_median": 61.01654812822239, "focal_rel_err": 0.21549557103615938, "pp_err_px": 5.901914229702854, "fov_diagonal_err_deg": 13.337924034118492, "gravity_err_deg": 26.23746985727908, "family_correct": 0.4240231548480463, "n": 691 }, "vace | <70": { "ray_ae_median": 17.479665990371153, "ray_ae_p95": 23.779260009073948, "edge_ray_ae_median": 22.1969267273652, "edge_ray_ae_p95": 24.67209034684282, "reproj_px_median": 144.23492640148908, "focal_rel_err": 0.5674238299151666, "pp_err_px": 5.954577429712074, "fov_diagonal_err_deg": 48.60949516866824, "gravity_err_deg": 30.44729242325253, "family_correct": 0.38904109589041097, "n": 365 }, "vace | >150": { "ray_ae_median": 11.288165316461118, "ray_ae_p95": 23.024140670937648, "edge_ray_ae_median": 26.185733789473385, "edge_ray_ae_p95": 34.65100613241261, "reproj_px_median": 51.197468706649474, "focal_rel_err": 0.2406653931037098, "pp_err_px": 6.993997151696263, "fov_diagonal_err_deg": 53.307003443885, "gravity_err_deg": 26.271816196157815, "family_correct": 0.6986486486486486, "n": 740 } }, "camera_model": { "vace | brown_conrady": { "ray_ae_median": 9.9855962910367, "ray_ae_p95": 13.163528866853042, "edge_ray_ae_median": 10.168900343431202, "edge_ray_ae_p95": 12.302204929011483, "reproj_px_median": 92.70087873453369, "focal_rel_err": 0.35086701915224977, "pp_err_px": 6.271219385375176, "fov_diagonal_err_deg": 19.37319218213537, "gravity_err_deg": 26.726147452161705, "family_correct": 0.11968680089485459, "n": 894 }, "vace | eucm": { "ray_ae_median": 9.995153345591383, "ray_ae_p95": 20.100885756858066, "edge_ray_ae_median": 20.895318047811955, "edge_ray_ae_p95": 28.356341597567514, "reproj_px_median": 50.358158302833516, "focal_rel_err": 0.2268023389969089, "pp_err_px": 6.926491226206951, "fov_diagonal_err_deg": 42.05852735812901, "gravity_err_deg": 25.890285276428315, "family_correct": 0.6483390607101948, "n": 873 }, "vace | pinhole": { "ray_ae_median": 10.470120618853944, "ray_ae_p95": 13.45660266089913, "edge_ray_ae_median": 11.139032632968652, "edge_ray_ae_p95": 12.771521538663682, "reproj_px_median": 98.56417244232087, "focal_rel_err": 0.37055395900681687, "pp_err_px": 5.954747916529415, "fov_diagonal_err_deg": 21.640999538745465, "gravity_err_deg": 26.20686754021395, "family_correct": 0.7686139747995419, "n": 873 } }, "all": { "vace | all": { "ray_ae_median": 10.127749539294088, "ray_ae_p95": 14.771079051423383, "edge_ray_ae_median": 12.093328406677072, "edge_ray_ae_p95": 14.473441015718654, "reproj_px_median": 81.2077315396298, "focal_rel_err": 0.3138425298821601, "pp_err_px": 6.3962959186815915, "fov_diagonal_err_deg": 24.257824224663505, "gravity_err_deg": 26.32182475120311, "family_correct": 0.509090909090909, "n": 2640 } } }, "failure_detection": { "vace": { "failure_auroc": 0.510663258159406, "failure_auprc": 0.9851381438293875, "failure_rate": 0.9833333333333333, "n": 2640 } }, "length_curve": {}}123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116{ "n_clips": 600, "evaluation_errors": [], "methods": [ "vace" ], "vace_evaluation": { "feature_config": { "backbone": "vace", "wan_checkpoint": "/data/models/Wan2.1-VACE-1.3B", "vace_repo": "/workspace/sglang/vidicalib/third_party/VACE", "vace_checkpoint": "/workspace/sglang/vidicalib/runs/main_vace_1a/vace.pt", "layer": 16, "tau": 0.7, "feature_source": "base", "frames": 17, "resolution": [ 240, 416 ], "two_pass": false, "seed": 0, "feature_task": "ray_grid", "noise_seed_scheme": "crc32_xor_v1", "vace_checkpoint_sha256": "b7242119206c7180a5023e7e4ae6099a2e4295f57f2370301816761de7ee861b", "vace_stage": null }, "overrides": {} }, "frames": 17, "resolution": 240, "seed": 0, "wall_seconds": 6206.4, "summary": { "fov_bucket": { "vace | 110-150": { "ray_ae_median": 6.6645120543241525, "ray_ae_p95": 7.816521813809516, "edge_ray_ae_median": 7.58509414250261, "edge_ray_ae_p95": 7.87636615009299, "reproj_px_median": 61.687895253978155, "focal_rel_err": NaN, "pp_err_px": NaN, "fov_diagonal_err_deg": NaN, "gravity_err_deg": 28.655602418444623, "family_correct": NaN, "n": 36 }, "vace | 70-110": { "ray_ae_median": 7.757377252167817, "ray_ae_p95": 9.082498389960715, "edge_ray_ae_median": 8.354623336796003, "edge_ray_ae_p95": 8.958551046777918, "reproj_px_median": 67.57731197216575, "focal_rel_err": NaN, "pp_err_px": NaN, "fov_diagonal_err_deg": NaN, "gravity_err_deg": 28.926684355734537, "family_correct": NaN, "n": 313 }, "vace | <70": { "ray_ae_median": 14.736247966799764, "ray_ae_p95": 17.7802597306421, "edge_ray_ae_median": 17.600541735963247, "edge_ray_ae_p95": 18.035617427753596, "reproj_px_median": 121.18495468756977, "focal_rel_err": NaN, "pp_err_px": NaN, "fov_diagonal_err_deg": NaN, "gravity_err_deg": 32.487082369171446, "family_correct": NaN, "n": 251 } }, "camera_model": { "vace | measured_profile": { "ray_ae_median": 10.879262461273768, "ray_ae_p95": 12.724554704618665, "edge_ray_ae_median": 12.069370330852472, "edge_ray_ae_p95": 12.647214690002482, "reproj_px_median": 93.09873960214304, "focal_rel_err": NaN, "pp_err_px": NaN, "fov_diagonal_err_deg": NaN, "gravity_err_deg": 30.625051737392642, "family_correct": NaN, "n": 600 } }, "all": { "vace | all": { "ray_ae_median": 10.879262461273768, "ray_ae_p95": 12.724554704618665, "edge_ray_ae_median": 12.069370330852472, "edge_ray_ae_p95": 12.647214690002482, "reproj_px_median": 93.09873960214304, "focal_rel_err": NaN, "pp_err_px": NaN, "fov_diagonal_err_deg": NaN, "gravity_err_deg": 30.625051737392642, "family_correct": NaN, "n": 600 } } }, "failure_detection": { "vace": { "failure_auroc": 0.6463620981387479, "failure_auprc": 0.9924723545103321, "failure_rate": 0.985, "n": 600 } }, "length_curve": {}}123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155{ "n_clips": 2640, "evaluation_errors": [], "methods": [ "vace" ], "vace_evaluation": { "feature_config": { "backbone": "vace", "wan_checkpoint": "/data/models/Wan2.1-VACE-1.3B", "vace_repo": "/workspace/sglang/vidicalib/third_party/VACE", "vace_checkpoint": "/workspace/sglang/vidicalib/runs/main_vace_1a/vace.pt", "layer": 16, "tau": 0.7, "feature_source": "base", "frames": 17, "resolution": [ 240, 416 ], "two_pass": false, "seed": 0, "feature_task": "ray_grid", "noise_seed_scheme": "crc32_xor_v1", "vace_checkpoint_sha256": "b7242119206c7180a5023e7e4ae6099a2e4295f57f2370301816761de7ee861b", "vace_stage": null }, "overrides": {} }, "frames": 17, "resolution": 240, "seed": 0, "wall_seconds": 27357.0, "summary": { "fov_bucket": { "vace | 110-150": { "ray_ae_median": 9.46486521183969, "ray_ae_p95": 11.508094620682149, "edge_ray_ae_median": 9.200966081877453, "edge_ray_ae_p95": 10.742423391336828, "reproj_px_median": 94.35713942869906, "focal_rel_err": 0.3562984596442599, "pp_err_px": 4.494117014506878, "fov_diagonal_err_deg": 17.285920723027587, "gravity_err_deg": 29.50717264335082, "family_correct": 0.39928909952606634, "n": 844 }, "vace | 70-110": { "ray_ae_median": 7.549150749517877, "ray_ae_p95": 9.439243841933607, "edge_ray_ae_median": 7.511810665687518, "edge_ray_ae_p95": 9.192876169648288, "reproj_px_median": 63.62130535494, "focal_rel_err": 0.23118320111878485, "pp_err_px": 4.334200958240204, "fov_diagonal_err_deg": 14.925061190122744, "gravity_err_deg": 30.03823330883636, "family_correct": 0.4283646888567294, "n": 691 }, "vace | <70": { "ray_ae_median": 19.175329285737412, "ray_ae_p95": 25.3932629562972, "edge_ray_ae_median": 24.239564823207047, "edge_ray_ae_p95": 26.12861733036154, "reproj_px_median": 152.6820923594441, "focal_rel_err": 0.6009718030189464, "pp_err_px": 4.272789062107908, "fov_diagonal_err_deg": 51.36918276828172, "gravity_err_deg": 31.64312456618762, "family_correct": 0.4410958904109589, "n": 365 }, "vace | >150": { "ray_ae_median": 11.742470053436858, "ray_ae_p95": 27.04524998645842, "edge_ray_ae_median": 29.182693503435324, "edge_ray_ae_p95": 38.05469759491286, "reproj_px_median": 62.34353804819075, "focal_rel_err": 0.22940414910331794, "pp_err_px": 6.674761145121122, "fov_diagonal_err_deg": 61.84978864401366, "gravity_err_deg": 30.223568698108885, "family_correct": 0.6175675675675676, "n": 740 } }, "camera_model": { "vace | brown_conrady": { "ray_ae_median": 10.015932255576828, "ray_ae_p95": 12.45725667445555, "edge_ray_ae_median": 10.283961585525603, "edge_ray_ae_p95": 11.815833678696258, "reproj_px_median": 95.73169249037142, "focal_rel_err": 0.36748638693494273, "pp_err_px": 4.4344471381909045, "fov_diagonal_err_deg": 19.8631191770724, "gravity_err_deg": 30.04746032707257, "family_correct": 0.020134228187919462, "n": 894 }, "vace | eucm": { "ray_ae_median": 10.515510897766715, "ray_ae_p95": 22.93580768319783, "edge_ray_ae_median": 23.0314485060143, "edge_ray_ae_p95": 31.513329199624792, "reproj_px_median": 58.679564688109245, "focal_rel_err": 0.22895922930904794, "pp_err_px": 6.193790783610741, "fov_diagonal_err_deg": 45.9130823723833, "gravity_err_deg": 30.21470761240596, "family_correct": 0.5486827033218786, "n": 873 }, "vace | pinhole": { "ray_ae_median": 10.839608597000973, "ray_ae_p95": 13.525376354894236, "edge_ray_ae_median": 11.000970927544495, "edge_ray_ae_p95": 12.423559466407834, "reproj_px_median": 102.0516230333235, "focal_rel_err": 0.3882714217321678, "pp_err_px": 4.325145105891653, "fov_diagonal_err_deg": 21.18256879399495, "gravity_err_deg": 30.276750649525923, "family_correct": 0.86368843069874, "n": 873 } }, "all": { "vace | all": { "ray_ae_median": 10.430867984990096, "ray_ae_p95": 14.87309777598742, "edge_ray_ae_median": 12.193687044457285, "edge_ray_ae_p95": 14.405248736362168, "reproj_px_median": 86.37706070795564, "focal_rel_err": 0.32188584734267267, "pp_err_px": 4.852067921523119, "fov_diagonal_err_deg": 24.96379063601167, "gravity_err_deg": 30.165408081075974, "family_correct": 0.4738636363636364, "n": 2640 } } }, "failure_detection": { "vace": { "failure_auroc": 0.3740849420849421, "failure_auprc": 0.9752338819440057, "failure_rate": 0.9810606060606061, "n": 2640 } }, "length_curve": {}}123456789101112[ "stage1b", "base_raw_vace", "base_raw_vace_ood", "base_raw_vace_test", "base_stage1a", "base_stage1a1b", "base_stage1a_test", "base_stage1a_ood", "base_stage1a1b_ood", "base_stage1a1b_test"]123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948{ "comparison": "within each source, change only the geometry-pretrained VACE branch", "raw_definition": "bundled Wan-VACE weights, without geometry pretraining", "feature_sources": [ "base", "vace", "fused" ], "stage1b_checkpoint": "/workspace/sglang/vidicalib/runs/controlled_repaired_20260913/stage1b/vace.pt", "full_evaluation": true, "stages": [ { "name": "stage1b", "kind": "pretrain", "command": [ "/usr/bin/python3", "/workspace/sglang/vidicalib/tools/train_vace_overlay.py", "--manifest", "/data/derived/vidicalib/paper/manifest.jsonl", "--root", "/data/derived/vidicalib/paper", "--checkpoint", "/data/models/Wan2.1-VACE-1.3B", "--vace-repo", "/workspace/sglang/vidicalib/third_party/VACE", "--resume", "/workspace/sglang/vidicalib/runs/main_vace_1a/vace.pt", "--stage", "1b", "--out", "/workspace/sglang/vidicalib/runs/controlled_repaired_20260913/stage1b", "--steps", "3334", "--frames", "81", "--height", "480", "--width", "832", "--batch-size", "3", "--warmup", "200", "--seed", "0", "--val-clips-per-task", "4", "--generation-steps", "20", "--workers", "16", "--device", "cuda" ] }, { "name": "base_raw_vace", "kind": "decoder", "source": "base", "group": "raw_vace", "command": [ "/usr/bin/python3", "/workspace/sglang/vidicalib/tools/train_geometry_decoder.py", "--manifest", "/data/derived/vidicalib/paper/manifest.jsonl", "--root", "/data/derived/vidicalib/paper", "--backbone", "vace", "--checkpoint", "/data/models/Wan2.1-VACE-1.3B", "--vace-repo", "/workspace/sglang/vidicalib/third_party/VACE", "--frames", "17", "--resolution", "240", "--batch-size", "2", "--steps", "20000", "--warmup", "500", "--lr", "0.0002", "--val-clips", "128", "--val-every", "1000", "--layer", "16", "--tau", "0.7", "--seed", "0", "--feature-task", "ray_grid", "--workers", "16", "--device", "cuda", "--feature-source", "base", "--out", "/workspace/sglang/vidicalib/runs/controlled_repaired_20260913/base_raw_vace" ] }, { "name": "base_raw_vace_test", "kind": "evaluation", "command": [ "/usr/bin/python3", "/workspace/sglang/vidicalib/tools/eval_calibration.py", "--manifest", "/data/derived/vidicalib/paper/manifest.jsonl", "--root", "/data/derived/vidicalib/paper", "--split", "test", "--methods", "vace", "--checkpoint", "/workspace/sglang/vidicalib/runs/controlled_repaired_20260913/base_raw_vace/decoder.pt", "--out", "/workspace/sglang/vidicalib/runs/controlled_repaired_20260913/base_raw_vace_test", "--device", "cuda" ] }, { "name": "base_raw_vace_ood", "kind": "evaluation", "command": [ "/usr/bin/python3", "/workspace/sglang/vidicalib/tools/eval_calibration.py", "--manifest", "/data/derived/vidicalib/ood/manifest.jsonl", "--root", "/data/derived/vidicalib/ood", "--split", "test", "--methods", "vace", "--checkpoint", "/workspace/sglang/vidicalib/runs/controlled_repaired_20260913/base_raw_vace/decoder.pt", "--out", "/workspace/sglang/vidicalib/runs/controlled_repaired_20260913/base_raw_vace_ood", "--device", "cuda" ] }, { "name": "base_stage1a", "kind": "decoder", "source": "base", "group": "stage1a", "command": [ "/usr/bin/python3", "/workspace/sglang/vidicalib/tools/train_geometry_decoder.py", "--manifest", "/data/derived/vidicalib/paper/manifest.jsonl", "--root", "/data/derived/vidicalib/paper", "--backbone", "vace", "--checkpoint", "/data/models/Wan2.1-VACE-1.3B", "--vace-repo", "/workspace/sglang/vidicalib/third_party/VACE", "--frames", "17", "--resolution", "240", "--batch-size", "2", "--steps", "20000", "--warmup", "500", "--lr", "0.0002", "--val-clips", "128", "--val-every", "1000", "--layer", "16", "--tau", "0.7", "--seed", "0", "--feature-task", "ray_grid", "--workers", "16", "--device", "cuda", "--feature-source", "base", "--out", "/workspace/sglang/vidicalib/runs/controlled_repaired_20260913/base_stage1a", "--vace-checkpoint", "/workspace/sglang/vidicalib/runs/main_vace_1a/vace.pt" ] }, { "name": "base_stage1a_test", "kind": "evaluation", "command": [ "/usr/bin/python3", "/workspace/sglang/vidicalib/tools/eval_calibration.py", "--manifest", "/data/derived/vidicalib/paper/manifest.jsonl", "--root", "/data/derived/vidicalib/paper", "--split", "test", "--methods", "vace", "--checkpoint", "/workspace/sglang/vidicalib/runs/controlled_repaired_20260913/base_stage1a/decoder.pt", "--out", "/workspace/sglang/vidicalib/runs/controlled_repaired_20260913/base_stage1a_test", "--device", "cuda" ] }, { "name": "base_stage1a_ood", "kind": "evaluation", "command": [ "/usr/bin/python3", "/workspace/sglang/vidicalib/tools/eval_calibration.py", "--manifest", "/data/derived/vidicalib/ood/manifest.jsonl", "--root", "/data/derived/vidicalib/ood", "--split", "test", "--methods", "vace", "--checkpoint", "/workspace/sglang/vidicalib/runs/controlled_repaired_20260913/base_stage1a/decoder.pt", "--out", "/workspace/sglang/vidicalib/runs/controlled_repaired_20260913/base_stage1a_ood", "--device", "cuda" ] }, { "name": "base_stage1a1b", "kind": "decoder", "source": "base", "group": "stage1a1b", "command": [ "/usr/bin/python3", "/workspace/sglang/vidicalib/tools/train_geometry_decoder.py", "--manifest", "/data/derived/vidicalib/paper/manifest.jsonl", "--root", "/data/derived/vidicalib/paper", "--backbone", "vace", "--checkpoint", "/data/models/Wan2.1-VACE-1.3B", "--vace-repo", "/workspace/sglang/vidicalib/third_party/VACE", "--frames", "17", "--resolution", "240", "--batch-size", "2", "--steps", "20000", "--warmup", "500", "--lr", "0.0002", "--val-clips", "128", "--val-every", "1000", "--layer", "16", "--tau", "0.7", "--seed", "0", "--feature-task", "ray_grid", "--workers", "16", "--device", "cuda", "--feature-source", "base", "--out", "/workspace/sglang/vidicalib/runs/controlled_repaired_20260913/base_stage1a1b", "--vace-checkpoint", "/workspace/sglang/vidicalib/runs/controlled_repaired_20260913/stage1b/vace.pt" ] }, { "name": "base_stage1a1b_test", "kind": "evaluation", "command": [ "/usr/bin/python3", "/workspace/sglang/vidicalib/tools/eval_calibration.py", "--manifest", "/data/derived/vidicalib/paper/manifest.jsonl", "--root", "/data/derived/vidicalib/paper", "--split", "test", "--methods", "vace", "--checkpoint", "/workspace/sglang/vidicalib/runs/controlled_repaired_20260913/base_stage1a1b/decoder.pt", "--out", "/workspace/sglang/vidicalib/runs/controlled_repaired_20260913/base_stage1a1b_test", "--device", "cuda" ] }, { "name": "base_stage1a1b_ood", "kind": "evaluation", "command": [ "/usr/bin/python3", "/workspace/sglang/vidicalib/tools/eval_calibration.py", "--manifest", "/data/derived/vidicalib/ood/manifest.jsonl", "--root", "/data/derived/vidicalib/ood", "--split", "test", "--methods", "vace", "--checkpoint", "/workspace/sglang/vidicalib/runs/controlled_repaired_20260913/base_stage1a1b/decoder.pt", "--out", "/workspace/sglang/vidicalib/runs/controlled_repaired_20260913/base_stage1a1b_ood", "--device", "cuda" ] }, { "name": "vace_raw_vace", "kind": "decoder", "source": "vace", "group": "raw_vace", "command": [ "/usr/bin/python3", "/workspace/sglang/vidicalib/tools/train_geometry_decoder.py", "--manifest", "/data/derived/vidicalib/paper/manifest.jsonl", "--root", "/data/derived/vidicalib/paper", "--backbone", "vace", "--checkpoint", "/data/models/Wan2.1-VACE-1.3B", "--vace-repo", "/workspace/sglang/vidicalib/third_party/VACE", "--frames", "17", "--resolution", "240", "--batch-size", "2", "--steps", "20000", "--warmup", "500", "--lr", "0.0002", "--val-clips", "128", "--val-every", "1000", "--layer", "16", "--tau", "0.7", "--seed", "0", "--feature-task", "ray_grid", "--workers", "16", "--device", "cuda", "--feature-source", "vace", "--out", "/workspace/sglang/vidicalib/runs/controlled_repaired_20260913/vace_raw_vace" ] }, { "name": "vace_raw_vace_test", "kind": "evaluation", "command": [ "/usr/bin/python3", "/workspace/sglang/vidicalib/tools/eval_calibration.py", "--manifest", "/data/derived/vidicalib/paper/manifest.jsonl", "--root", "/data/derived/vidicalib/paper", "--split", "test", "--methods", "vace", "--checkpoint", "/workspace/sglang/vidicalib/runs/controlled_repaired_20260913/vace_raw_vace/decoder.pt", "--out", "/workspace/sglang/vidicalib/runs/controlled_repaired_20260913/vace_raw_vace_test", "--device", "cuda" ] }, { "name": "vace_raw_vace_ood", "kind": "evaluation", "command": [ "/usr/bin/python3", "/workspace/sglang/vidicalib/tools/eval_calibration.py", "--manifest", "/data/derived/vidicalib/ood/manifest.jsonl", "--root", "/data/derived/vidicalib/ood", "--split", "test", "--methods", "vace", "--checkpoint", "/workspace/sglang/vidicalib/runs/controlled_repaired_20260913/vace_raw_vace/decoder.pt", "--out", "/workspace/sglang/vidicalib/runs/controlled_repaired_20260913/vace_raw_vace_ood", "--device", "cuda" ] }, { "name": "vace_stage1a", "kind": "decoder", "source": "vace", "group": "stage1a", "command": [ "/usr/bin/python3", "/workspace/sglang/vidicalib/tools/train_geometry_decoder.py", "--manifest", "/data/derived/vidicalib/paper/manifest.jsonl", "--root", "/data/derived/vidicalib/paper", "--backbone", "vace", "--checkpoint", "/data/models/Wan2.1-VACE-1.3B", "--vace-repo", "/workspace/sglang/vidicalib/third_party/VACE", "--frames", "17", "--resolution", "240", "--batch-size", "2", "--steps", "20000", "--warmup", "500", "--lr", "0.0002", "--val-clips", "128", "--val-every", "1000", "--layer", "16", "--tau", "0.7", "--seed", "0", "--feature-task", "ray_grid", "--workers", "16", "--device", "cuda", "--feature-source", "vace", "--out", "/workspace/sglang/vidicalib/runs/controlled_repaired_20260913/vace_stage1a", "--vace-checkpoint", "/workspace/sglang/vidicalib/runs/main_vace_1a/vace.pt" ] }, { "name": "vace_stage1a_test", "kind": "evaluation", "command": [ "/usr/bin/python3", "/workspace/sglang/vidicalib/tools/eval_calibration.py", "--manifest", "/data/derived/vidicalib/paper/manifest.jsonl", "--root", "/data/derived/vidicalib/paper", "--split", "test", "--methods", "vace", "--checkpoint", "/workspace/sglang/vidicalib/runs/controlled_repaired_20260913/vace_stage1a/decoder.pt", "--out", "/workspace/sglang/vidicalib/runs/controlled_repaired_20260913/vace_stage1a_test", "--device", "cuda" ] }, { "name": "vace_stage1a_ood", "kind": "evaluation", "command": [ "/usr/bin/python3", "/workspace/sglang/vidicalib/tools/eval_calibration.py", "--manifest", "/data/derived/vidicalib/ood/manifest.jsonl", "--root", "/data/derived/vidicalib/ood", "--split", "test", "--methods", "vace", "--checkpoint", "/workspace/sglang/vidicalib/runs/controlled_repaired_20260913/vace_stage1a/decoder.pt", "--out", "/workspace/sglang/vidicalib/runs/controlled_repaired_20260913/vace_stage1a_ood", "--device", "cuda" ] }, { "name": "vace_stage1a1b", "kind": "decoder", "source": "vace", "group": "stage1a1b", "command": [ "/usr/bin/python3", "/workspace/sglang/vidicalib/tools/train_geometry_decoder.py", "--manifest", "/data/derived/vidicalib/paper/manifest.jsonl", "--root", "/data/derived/vidicalib/paper", "--backbone", "vace", "--checkpoint", "/data/models/Wan2.1-VACE-1.3B", "--vace-repo", "/workspace/sglang/vidicalib/third_party/VACE", "--frames", "17", "--resolution", "240", "--batch-size", "2", "--steps", "20000", "--warmup", "500", "--lr", "0.0002", "--val-clips", "128", "--val-every", "1000", "--layer", "16", "--tau", "0.7", "--seed", "0", "--feature-task", "ray_grid", "--workers", "16", "--device", "cuda", "--feature-source", "vace", "--out", "/workspace/sglang/vidicalib/runs/controlled_repaired_20260913/vace_stage1a1b", "--vace-checkpoint", "/workspace/sglang/vidicalib/runs/controlled_repaired_20260913/stage1b/vace.pt" ] }, { "name": "vace_stage1a1b_test", "kind": "evaluation", "command": [ "/usr/bin/python3", "/workspace/sglang/vidicalib/tools/eval_calibration.py", "--manifest", "/data/derived/vidicalib/paper/manifest.jsonl", "--root", "/data/derived/vidicalib/paper", "--split", "test", "--methods", "vace", "--checkpoint", "/workspace/sglang/vidicalib/runs/controlled_repaired_20260913/vace_stage1a1b/decoder.pt", "--out", "/workspace/sglang/vidicalib/runs/controlled_repaired_20260913/vace_stage1a1b_test", "--device", "cuda" ] }, { "name": "vace_stage1a1b_ood", "kind": "evaluation", "command": [ "/usr/bin/python3", "/workspace/sglang/vidicalib/tools/eval_calibration.py", "--manifest", "/data/derived/vidicalib/ood/manifest.jsonl", "--root", "/data/derived/vidicalib/ood", "--split", "test", "--methods", "vace", "--checkpoint", "/workspace/sglang/vidicalib/runs/controlled_repaired_20260913/vace_stage1a1b/decoder.pt", "--out", "/workspace/sglang/vidicalib/runs/controlled_repaired_20260913/vace_stage1a1b_ood", "--device", "cuda" ] }, { "name": "fused_raw_vace", "kind": "decoder", "source": "fused", "group": "raw_vace", "command": [ "/usr/bin/python3", "/workspace/sglang/vidicalib/tools/train_geometry_decoder.py", "--manifest", "/data/derived/vidicalib/paper/manifest.jsonl", "--root", "/data/derived/vidicalib/paper", "--backbone", "vace", "--checkpoint", "/data/models/Wan2.1-VACE-1.3B", "--vace-repo", "/workspace/sglang/vidicalib/third_party/VACE", "--frames", "17", "--resolution", "240", "--batch-size", "2", "--steps", "20000", "--warmup", "500", "--lr", "0.0002", "--val-clips", "128", "--val-every", "1000", "--layer", "16", "--tau", "0.7", "--seed", "0", "--feature-task", "ray_grid", "--workers", "16", "--device", "cuda", "--feature-source", "fused", "--out", "/workspace/sglang/vidicalib/runs/controlled_repaired_20260913/fused_raw_vace" ] }, { "name": "fused_raw_vace_test", "kind": "evaluation", "command": [ "/usr/bin/python3", "/workspace/sglang/vidicalib/tools/eval_calibration.py", "--manifest", "/data/derived/vidicalib/paper/manifest.jsonl", "--root", "/data/derived/vidicalib/paper", "--split", "test", "--methods", "vace", "--checkpoint", "/workspace/sglang/vidicalib/runs/controlled_repaired_20260913/fused_raw_vace/decoder.pt", "--out", "/workspace/sglang/vidicalib/runs/controlled_repaired_20260913/fused_raw_vace_test", "--device", "cuda" ] }, { "name": "fused_raw_vace_ood", "kind": "evaluation", "command": [ "/usr/bin/python3", "/workspace/sglang/vidicalib/tools/eval_calibration.py", "--manifest", "/data/derived/vidicalib/ood/manifest.jsonl", "--root", "/data/derived/vidicalib/ood", "--split", "test", "--methods", "vace", "--checkpoint", "/workspace/sglang/vidicalib/runs/controlled_repaired_20260913/fused_raw_vace/decoder.pt", "--out", "/workspace/sglang/vidicalib/runs/controlled_repaired_20260913/fused_raw_vace_ood", "--device", "cuda" ] }, { "name": "fused_stage1a", "kind": "decoder", "source": "fused", "group": "stage1a", "command": [ "/usr/bin/python3", "/workspace/sglang/vidicalib/tools/train_geometry_decoder.py", "--manifest", "/data/derived/vidicalib/paper/manifest.jsonl", "--root", "/data/derived/vidicalib/paper", "--backbone", "vace", "--checkpoint", "/data/models/Wan2.1-VACE-1.3B", "--vace-repo", "/workspace/sglang/vidicalib/third_party/VACE", "--frames", "17", "--resolution", "240", "--batch-size", "2", "--steps", "20000", "--warmup", "500", "--lr", "0.0002", "--val-clips", "128", "--val-every", "1000", "--layer", "16", "--tau", "0.7", "--seed", "0", "--feature-task", "ray_grid", "--workers", "16", "--device", "cuda", "--feature-source", "fused", "--out", "/workspace/sglang/vidicalib/runs/controlled_repaired_20260913/fused_stage1a", "--vace-checkpoint", "/workspace/sglang/vidicalib/runs/main_vace_1a/vace.pt" ] }, { "name": "fused_stage1a_test", "kind": "evaluation", "command": [ "/usr/bin/python3", "/workspace/sglang/vidicalib/tools/eval_calibration.py", "--manifest", "/data/derived/vidicalib/paper/manifest.jsonl", "--root", "/data/derived/vidicalib/paper", "--split", "test", "--methods", "vace", "--checkpoint", "/workspace/sglang/vidicalib/runs/controlled_repaired_20260913/fused_stage1a/decoder.pt", "--out", "/workspace/sglang/vidicalib/runs/controlled_repaired_20260913/fused_stage1a_test", "--device", "cuda" ] }, { "name": "fused_stage1a_ood", "kind": "evaluation", "command": [ "/usr/bin/python3", "/workspace/sglang/vidicalib/tools/eval_calibration.py", "--manifest", "/data/derived/vidicalib/ood/manifest.jsonl", "--root", "/data/derived/vidicalib/ood", "--split", "test", "--methods", "vace", "--checkpoint", "/workspace/sglang/vidicalib/runs/controlled_repaired_20260913/fused_stage1a/decoder.pt", "--out", "/workspace/sglang/vidicalib/runs/controlled_repaired_20260913/fused_stage1a_ood", "--device", "cuda" ] }, { "name": "fused_stage1a1b", "kind": "decoder", "source": "fused", "group": "stage1a1b", "command": [ "/usr/bin/python3", "/workspace/sglang/vidicalib/tools/train_geometry_decoder.py", "--manifest", "/data/derived/vidicalib/paper/manifest.jsonl", "--root", "/data/derived/vidicalib/paper", "--backbone", "vace", "--checkpoint", "/data/models/Wan2.1-VACE-1.3B", "--vace-repo", "/workspace/sglang/vidicalib/third_party/VACE", "--frames", "17", "--resolution", "240", "--batch-size", "2", "--steps", "20000", "--warmup", "500", "--lr", "0.0002", "--val-clips", "128", "--val-every", "1000", "--layer", "16", "--tau", "0.7", "--seed", "0", "--feature-task", "ray_grid", "--workers", "16", "--device", "cuda", "--feature-source", "fused", "--out", "/workspace/sglang/vidicalib/runs/controlled_repaired_20260913/fused_stage1a1b", "--vace-checkpoint", "/workspace/sglang/vidicalib/runs/controlled_repaired_20260913/stage1b/vace.pt" ] }, { "name": "fused_stage1a1b_test", "kind": "evaluation", "command": [ "/usr/bin/python3", "/workspace/sglang/vidicalib/tools/eval_calibration.py", "--manifest", "/data/derived/vidicalib/paper/manifest.jsonl", "--root", "/data/derived/vidicalib/paper", "--split", "test", "--methods", "vace", "--checkpoint", "/workspace/sglang/vidicalib/runs/controlled_repaired_20260913/fused_stage1a1b/decoder.pt", "--out", "/workspace/sglang/vidicalib/runs/controlled_repaired_20260913/fused_stage1a1b_test", "--device", "cuda" ] }, { "name": "fused_stage1a1b_ood", "kind": "evaluation", "command": [ "/usr/bin/python3", "/workspace/sglang/vidicalib/tools/eval_calibration.py", "--manifest", "/data/derived/vidicalib/ood/manifest.jsonl", "--root", "/data/derived/vidicalib/ood", "--split", "test", "--methods", "vace", "--checkpoint", "/workspace/sglang/vidicalib/runs/controlled_repaired_20260913/fused_stage1a1b/decoder.pt", "--out", "/workspace/sglang/vidicalib/runs/controlled_repaired_20260913/fused_stage1a1b_ood", "--device", "cuda" ] } ], "inputs": { "/data/derived/vidicalib/paper/manifest.jsonl": "8af5a94ddebb65a12c3c9f3b085deb1e2d4ac9af300f286b2a44dc27e6119749", "/data/derived/vidicalib/ood/manifest.jsonl": "c005ffdcc7129253ee321412040d90468543599751f5c7a4dfa3d4fccb7dd159", "/workspace/sglang/vidicalib/runs/main_vace_1a/vace.pt": "b7242119206c7180a5023e7e4ae6099a2e4295f57f2370301816761de7ee861b" }, "worker_overrides": [ { "at": "2026-09-15T04:46:31Z", "workers": 16 }, { "at": "2026-09-15T11:01:47Z", "workers": 16 } ]}123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657{ "stage": "1b", "steps": 3334, "first_loss": 2.83477, "last_loss": 0.0558929368853569, "loss_ratio": 0.019716921261815564, "validation_protocol": { "split": "val", "manifest_sha256": "8af5a94ddebb65a12c3c9f3b085deb1e2d4ac9af300f286b2a44dc27e6119749", "clip_ids": [ "002_hdrmaps_com_free_traj_044220_brown_conrady_044220", "003_hdrmaps_com_free_traj_044288_pinhole_044288", "049_hdrmaps_com_free_traj_044352_pinhole_044352", "050_hdrmaps_com_free_traj_044419_eucm_044419", "002_hdrmaps_com_free_traj_044221_pinhole_044221", "003_hdrmaps_com_free_traj_044290_brown_conrady_044290", "049_hdrmaps_com_free_traj_044357_eucm_044357", "050_hdrmaps_com_free_traj_044418_brown_conrady_044418", "002_hdrmaps_com_free_traj_044222_eucm_044222", "003_hdrmaps_com_free_traj_044286_brown_conrady_044286", "049_hdrmaps_com_free_traj_044358_eucm_044358", "050_hdrmaps_com_free_traj_044424_eucm_044424", "002_hdrmaps_com_free_traj_044225_brown_conrady_044225", "003_hdrmaps_com_free_traj_044287_pinhole_044287", "049_hdrmaps_com_free_traj_044364_pinhole_044364", "050_hdrmaps_com_free_traj_044421_brown_conrady_044421" ], "source_ids": [ "openpano/val/002_hdrmaps_com_free", "openpano/val/003_hdrmaps_com_free", "openpano/val/049_hdrmaps_com_free", "openpano/val/050_hdrmaps_com_free" ], "frames": 81, "resolution": [ 480, 832 ], "seed": 0, "conditioning_scheme": "orthogonal_band_v1", "generation_steps": 20, "generated_clips_per_task": 1 }, "validation_before": { "split": "val", "aggregation": "equal_weight_per_task", "flow": { "loss@t0.2": 3.8450221121311188, "loss@t0.5": 3.5157907605171204, "loss@t0.8": 3.2620595544576645, "loss_fixed_mean": 3.5409574757019677 }, "per_task": { "ray_grid": { "n_clips": 4, "n_sources": 4, "flow": { "loss@t0.2": 4.297024965286255, "loss@t0.5": 3.839278519153595, "loss@t0.8": 3.5162042379379272, "loss_fixed_mean": 3.884169240792592 }, "generated": { "ray_ae_p95_deg": 154.76213486701866, "ray_temporal_mean_deg": 60.87596185837005, "ray_ae_mean_deg": 97.90465353930601, "ray_ae_median_deg": 101.24150027581925 }, "n_generated": 1 }, "up_field": { "n_clips": 4, "n_sources": 4, "flow": { "loss@t0.2": 5.107660412788391, "loss@t0.5": 4.735865354537964, "loss@t0.8": 4.387271881103516, "loss_fixed_mean": 4.7435992161432905 }, "generated": { "up_ae_mean_deg": 102.05963436254821, "up_ae_median_deg": 107.78527668332218, "up_ae_p95_deg": 173.6969160909016, "up_temporal_residual_l2": 0.8903730709082579 }, "n_generated": 1 }, "latitude": { "n_clips": 4, "n_sources": 4, "flow": { "loss@t0.2": 2.621467351913452, "loss@t0.5": 2.513058066368103, "loss@t0.8": 2.43313467502594, "loss_fixed_mean": 2.5225533644358316 }, "generated": { "latitude_error_p95_deg": 101.25715136165833, "latitude_error_median_deg": 39.82686010853876, "latitude_temporal_error_deg": 17.156983919145233, "latitude_error_mean_deg": 44.420145130986654 }, "n_generated": 1 }, "undistortion_grid": { "n_clips": 4, "n_sources": 4, "flow": { "loss@t0.2": 3.353935718536377, "loss@t0.5": 2.9749611020088196, "loss@t0.8": 2.711627423763275, "loss_fixed_mean": 3.0135080814361572 }, "generated": { "grid_temporal_rgb_error": 0.1288681924343109, "grid_line_recall": 0.9945642948150635, "grid_line_f1": 0.18571797176211466, "grid_line_precision": 0.10242174565792084 }, "n_generated": 1 } }, "clips": [ { "clip_id": "002_hdrmaps_com_free_traj_044220_brown_conrady_044220", "source_id": "openpano/val/002_hdrmaps_com_free", "task": "ray_grid", "flow": { "loss@t0.2": 4.350497245788574, "loss@t0.5": 3.931922197341919, "loss@t0.8": 3.64129638671875, "loss_fixed_mean": 3.974571943283081 }, "generated": { "ray_ae_mean_deg": 97.90465353930601, "ray_ae_median_deg": 101.24150027581925, "ray_ae_p95_deg": 154.76213486701866, "ray_temporal_mean_deg": 60.87596185837005 } }, { "clip_id": "003_hdrmaps_com_free_traj_044288_pinhole_044288", "source_id": "openpano/val/003_hdrmaps_com_free", "task": "ray_grid", "flow": { "loss@t0.2": 4.22745943069458, "loss@t0.5": 3.7979280948638916, "loss@t0.8": 3.49696683883667, "loss_fixed_mean": 3.840784788131714 } }, { "clip_id": "049_hdrmaps_com_free_traj_044352_pinhole_044352", "source_id": "openpano/val/049_hdrmaps_com_free", "task": "ray_grid", "flow": { "loss@t0.2": 4.276427268981934, "loss@t0.5": 3.854121685028076, "loss@t0.8": 3.5595898628234863, "loss_fixed_mean": 3.8967129389444985 } }, { "clip_id": "050_hdrmaps_com_free_traj_044419_eucm_044419", "source_id": "openpano/val/050_hdrmaps_com_free", "task": "ray_grid", "flow": { "loss@t0.2": 4.333715915679932, "loss@t0.5": 3.773142099380493, "loss@t0.8": 3.3669638633728027, "loss_fixed_mean": 3.8246072928110757 } }, { "clip_id": "002_hdrmaps_com_free_traj_044221_pinhole_044221", "source_id": "openpano/val/002_hdrmaps_com_free", "task": "up_field", "flow": { "loss@t0.2": 5.494709491729736, "loss@t0.5": 5.099607467651367, "loss@t0.8": 4.72272253036499, "loss_fixed_mean": 5.105679829915364 }, "generated": { "up_ae_mean_deg": 102.05963436254821, "up_ae_median_deg": 107.78527668332218, "up_ae_p95_deg": 173.6969160909016, "up_temporal_residual_l2": 0.8903730709082579 } }, { "clip_id": "003_hdrmaps_com_free_traj_044290_brown_conrady_044290", "source_id": "openpano/val/003_hdrmaps_com_free", "task": "up_field", "flow": { "loss@t0.2": 4.740668296813965, "loss@t0.5": 4.388456344604492, "loss@t0.8": 4.059299945831299, "loss_fixed_mean": 4.396141529083252 } }, { "clip_id": "049_hdrmaps_com_free_traj_044357_eucm_044357", "source_id": "openpano/val/049_hdrmaps_com_free", "task": "up_field", "flow": { "loss@t0.2": 4.518561840057373, "loss@t0.5": 4.177892684936523, "loss@t0.8": 3.87782621383667, "loss_fixed_mean": 4.191426912943522 } }, { "clip_id": "050_hdrmaps_com_free_traj_044418_brown_conrady_044418", "source_id": "openpano/val/050_hdrmaps_com_free", "task": "up_field", "flow": { "loss@t0.2": 5.67670202255249, "loss@t0.5": 5.277504920959473, "loss@t0.8": 4.8892388343811035, "loss_fixed_mean": 5.281148592631022 } }, { "clip_id": "002_hdrmaps_com_free_traj_044222_eucm_044222", "source_id": "openpano/val/002_hdrmaps_com_free", "task": "latitude", "flow": { "loss@t0.2": 2.5695738792419434, "loss@t0.5": 2.46935772895813, "loss@t0.8": 2.394662618637085, "loss_fixed_mean": 2.4778647422790527 }, "generated": { "latitude_error_mean_deg": 44.420145130986654, "latitude_error_median_deg": 39.82686010853876, "latitude_error_p95_deg": 101.25715136165833, "latitude_temporal_error_deg": 17.156983919145233 } }, { "clip_id": "003_hdrmaps_com_free_traj_044286_brown_conrady_044286", "source_id": "openpano/val/003_hdrmaps_com_free", "task": "latitude", "flow": { "loss@t0.2": 2.760281562805176, "loss@t0.5": 2.643784284591675, "loss@t0.8": 2.558290958404541, "loss_fixed_mean": 2.6541189352671304 } }, { "clip_id": "049_hdrmaps_com_free_traj_044358_eucm_044358", "source_id": "openpano/val/049_hdrmaps_com_free", "task": "latitude", "flow": { "loss@t0.2": 2.3767433166503906, "loss@t0.5": 2.2830424308776855, "loss@t0.8": 2.2122602462768555, "loss_fixed_mean": 2.290681997934977 } }, { "clip_id": "050_hdrmaps_com_free_traj_044424_eucm_044424", "source_id": "openpano/val/050_hdrmaps_com_free", "task": "latitude", "flow": { "loss@t0.2": 2.779270648956299, "loss@t0.5": 2.656047821044922, "loss@t0.8": 2.5673248767852783, "loss_fixed_mean": 2.6675477822621665 } }, { "clip_id": "002_hdrmaps_com_free_traj_044225_brown_conrady_044225", "source_id": "openpano/val/002_hdrmaps_com_free", "task": "undistortion_grid", "flow": { "loss@t0.2": 3.5440115928649902, "loss@t0.5": 3.1570563316345215, "loss@t0.8": 2.888521909713745, "loss_fixed_mean": 3.1965299447377524 }, "generated": { "grid_line_precision": 0.10242174565792084, "grid_line_recall": 0.9945642948150635, "grid_line_f1": 0.18571797176211466, "grid_temporal_rgb_error": 0.1288681924343109 } }, { "clip_id": "003_hdrmaps_com_free_traj_044287_pinhole_044287", "source_id": "openpano/val/003_hdrmaps_com_free", "task": "undistortion_grid", "flow": { "loss@t0.2": 3.561885356903076, "loss@t0.5": 3.174699306488037, "loss@t0.8": 2.9065563678741455, "loss_fixed_mean": 3.2143803437550864 } }, { "clip_id": "049_hdrmaps_com_free_traj_044364_pinhole_044364", "source_id": "openpano/val/049_hdrmaps_com_free", "task": "undistortion_grid", "flow": { "loss@t0.2": 3.1505277156829834, "loss@t0.5": 2.779789924621582, "loss@t0.8": 2.5211637020111084, "loss_fixed_mean": 2.817160447438558 } }, { "clip_id": "050_hdrmaps_com_free_traj_044421_brown_conrady_044421", "source_id": "openpano/val/050_hdrmaps_com_free", "task": "undistortion_grid", "flow": { "loss@t0.2": 3.159318208694458, "loss@t0.5": 2.7882988452911377, "loss@t0.8": 2.5302677154541016, "loss_fixed_mean": 2.8259615898132324 } } ], "generation_steps": 20 }, "validation_after": { "split": "val", "aggregation": "equal_weight_per_task", "flow": { "loss@t0.2": 0.07674751873128116, "loss@t0.5": 0.025466828199569136, "loss@t0.8": 0.01969989959616214, "loss_fixed_mean": 0.04063808217567081 }, "per_task": { "ray_grid": { "n_clips": 4, "n_sources": 4, "flow": { "loss@t0.2": 0.037748887203633785, "loss@t0.5": 0.019321742933243513, "loss@t0.8": 0.01715995860286057, "loss_fixed_mean": 0.02474352957991262 }, "generated": { "ray_ae_p95_deg": 31.51937938567215, "ray_temporal_mean_deg": 0.6774193028082445, "ray_ae_mean_deg": 19.679673467025825, "ray_ae_median_deg": 19.257333667034594 }, "n_generated": 1 }, "up_field": { "n_clips": 4, "n_sources": 4, "flow": { "loss@t0.2": 0.04758451972156763, "loss@t0.5": 0.015311952214688063, "loss@t0.8": 0.015771456761285663, "loss_fixed_mean": 0.026222642899180453 }, "generated": { "up_ae_mean_deg": 34.27397511549723, "up_ae_median_deg": 28.18891111451871, "up_ae_p95_deg": 85.39343087860566, "up_temporal_residual_l2": 0.048616899690979605 }, "n_generated": 1 }, "latitude": { "n_clips": 4, "n_sources": 4, "flow": { "loss@t0.2": 0.17488663271069527, "loss@t0.5": 0.05102947447448969, "loss@t0.8": 0.030786427669227123, "loss_fixed_mean": 0.08556751161813736 }, "generated": { "latitude_error_p95_deg": 53.9726614686408, "latitude_error_median_deg": 21.53550778600406, "latitude_temporal_error_deg": 0.8944297812724366, "latitude_error_mean_deg": 23.57616027073648 }, "n_generated": 1 }, "undistortion_grid": { "n_clips": 4, "n_sources": 4, "flow": { "loss@t0.2": 0.04677003528922796, "loss@t0.5": 0.01620414317585528, "loss@t0.8": 0.015081755351275206, "loss_fixed_mean": 0.026018644605452817 }, "generated": { "grid_temporal_rgb_error": 0.0013129512080922723, "grid_line_recall": 0.048148736357688904, "grid_line_f1": 0.061365257196504146, "grid_line_precision": 0.08458265662193298 }, "n_generated": 1 } }, "clips": [ { "clip_id": "002_hdrmaps_com_free_traj_044220_brown_conrady_044220", "source_id": "openpano/val/002_hdrmaps_com_free", "task": "ray_grid", "flow": { "loss@t0.2": 0.03422798588871956, "loss@t0.5": 0.018654651939868927, "loss@t0.8": 0.017182903364300728, "loss_fixed_mean": 0.023355180397629738 }, "generated": { "ray_ae_mean_deg": 19.679673467025825, "ray_ae_median_deg": 19.257333667034594, "ray_ae_p95_deg": 31.51937938567215, "ray_temporal_mean_deg": 0.6774193028082445 } }, { "clip_id": "003_hdrmaps_com_free_traj_044288_pinhole_044288", "source_id": "openpano/val/003_hdrmaps_com_free", "task": "ray_grid", "flow": { "loss@t0.2": 0.040849607437849045, "loss@t0.5": 0.021465778350830078, "loss@t0.8": 0.01806667260825634, "loss_fixed_mean": 0.026794019465645153 } }, { "clip_id": "049_hdrmaps_com_free_traj_044352_pinhole_044352", "source_id": "openpano/val/049_hdrmaps_com_free", "task": "ray_grid", "flow": { "loss@t0.2": 0.03732478991150856, "loss@t0.5": 0.019755687564611435, "loss@t0.8": 0.01813325099647045, "loss_fixed_mean": 0.025071242824196815 } }, { "clip_id": "050_hdrmaps_com_free_traj_044419_eucm_044419", "source_id": "openpano/val/050_hdrmaps_com_free", "task": "ray_grid", "flow": { "loss@t0.2": 0.03859316557645798, "loss@t0.5": 0.017410853877663612, "loss@t0.8": 0.01525700744241476, "loss_fixed_mean": 0.023753675632178783 } }, { "clip_id": "002_hdrmaps_com_free_traj_044221_pinhole_044221", "source_id": "openpano/val/002_hdrmaps_com_free", "task": "up_field", "flow": { "loss@t0.2": 0.03702007979154587, "loss@t0.5": 0.010885740630328655, "loss@t0.8": 0.009900091215968132, "loss_fixed_mean": 0.01926863721261422 }, "generated": { "up_ae_mean_deg": 34.27397511549723, "up_ae_median_deg": 28.18891111451871, "up_ae_p95_deg": 85.39343087860566, "up_temporal_residual_l2": 0.048616899690979605 } }, { "clip_id": "003_hdrmaps_com_free_traj_044290_brown_conrady_044290", "source_id": "openpano/val/003_hdrmaps_com_free", "task": "up_field", "flow": { "loss@t0.2": 0.04783216491341591, "loss@t0.5": 0.016239410266280174, "loss@t0.8": 0.01843222603201866, "loss_fixed_mean": 0.027501267070571583 } }, { "clip_id": "049_hdrmaps_com_free_traj_044357_eucm_044357", "source_id": "openpano/val/049_hdrmaps_com_free", "task": "up_field", "flow": { "loss@t0.2": 0.07777642458677292, "loss@t0.5": 0.026764599606394768, "loss@t0.8": 0.02746623381972313, "loss_fixed_mean": 0.04400241933763027 } }, { "clip_id": "050_hdrmaps_com_free_traj_044418_brown_conrady_044418", "source_id": "openpano/val/050_hdrmaps_com_free", "task": "up_field", "flow": { "loss@t0.2": 0.027709409594535828, "loss@t0.5": 0.007358058355748653, "loss@t0.8": 0.007287275977432728, "loss_fixed_mean": 0.014118247975905737 } }, { "clip_id": "002_hdrmaps_com_free_traj_044222_eucm_044222", "source_id": "openpano/val/002_hdrmaps_com_free", "task": "latitude", "flow": { "loss@t0.2": 0.17046470940113068, "loss@t0.5": 0.05000516027212143, "loss@t0.8": 0.030142879113554955, "loss_fixed_mean": 0.08353758292893569 }, "generated": { "latitude_error_mean_deg": 23.57616027073648, "latitude_error_median_deg": 21.53550778600406, "latitude_error_p95_deg": 53.9726614686408, "latitude_temporal_error_deg": 0.8944297812724366 } }, { "clip_id": "003_hdrmaps_com_free_traj_044286_brown_conrady_044286", "source_id": "openpano/val/003_hdrmaps_com_free", "task": "latitude", "flow": { "loss@t0.2": 0.14871254563331604, "loss@t0.5": 0.0466516837477684, "loss@t0.8": 0.02897397242486477, "loss_fixed_mean": 0.07477940060198307 } }, { "clip_id": "049_hdrmaps_com_free_traj_044358_eucm_044358", "source_id": "openpano/val/049_hdrmaps_com_free", "task": "latitude", "flow": { "loss@t0.2": 0.19341987371444702, "loss@t0.5": 0.05435258895158768, "loss@t0.8": 0.031964465975761414, "loss_fixed_mean": 0.09324564288059871 } }, { "clip_id": "050_hdrmaps_com_free_traj_044424_eucm_044424", "source_id": "openpano/val/050_hdrmaps_com_free", "task": "latitude", "flow": { "loss@t0.2": 0.18694940209388733, "loss@t0.5": 0.05310846492648125, "loss@t0.8": 0.032064393162727356, "loss_fixed_mean": 0.09070742006103198 } }, { "clip_id": "002_hdrmaps_com_free_traj_044225_brown_conrady_044225", "source_id": "openpano/val/002_hdrmaps_com_free", "task": "undistortion_grid", "flow": { "loss@t0.2": 0.039744775742292404, "loss@t0.5": 0.013497128151357174, "loss@t0.8": 0.012822950258851051, "loss_fixed_mean": 0.022021618050833542 }, "generated": { "grid_line_precision": 0.08458265662193298, "grid_line_recall": 0.048148736357688904, "grid_line_f1": 0.061365257196504146, "grid_temporal_rgb_error": 0.0013129512080922723 } }, { "clip_id": "003_hdrmaps_com_free_traj_044287_pinhole_044287", "source_id": "openpano/val/003_hdrmaps_com_free", "task": "undistortion_grid", "flow": { "loss@t0.2": 0.0388033464550972, "loss@t0.5": 0.013220755383372307, "loss@t0.8": 0.012695983052253723, "loss_fixed_mean": 0.021573361630241077 } }, { "clip_id": "049_hdrmaps_com_free_traj_044364_pinhole_044364", "source_id": "openpano/val/049_hdrmaps_com_free", "task": "undistortion_grid", "flow": { "loss@t0.2": 0.05228481814265251, "loss@t0.5": 0.018166914582252502, "loss@t0.8": 0.016387926414608955, "loss_fixed_mean": 0.028946553046504658 } }, { "clip_id": "050_hdrmaps_com_free_traj_044421_brown_conrady_044421", "source_id": "openpano/val/050_hdrmaps_com_free", "task": "undistortion_grid", "flow": { "loss@t0.2": 0.056247200816869736, "loss@t0.5": 0.019931774586439133, "loss@t0.8": 0.018420161679387093, "loss_fixed_mean": 0.03153304569423199 } } ], "generation_steps": 20 }, "fixed_before": { "loss@t0.2": 3.8450221121311188, "loss@t0.5": 3.5157907605171204, "loss@t0.8": 3.2620595544576645, "loss_fixed_mean": 3.5409574757019677 }, "fixed_after": { "loss@t0.2": 0.07674751873128116, "loss@t0.5": 0.025466828199569136, "loss@t0.8": 0.01969989959616214, "loss_fixed_mean": 0.04063808217567081 }, "fixed_ratio": 0.011476580121204257, "parameters": { "total": 2153972032, "trainable": 734975232, "frozen": 1418996800, "trainable_fraction": 0.34122, "num_layers": 30, "num_vace_blocks": 15, "vace_layers": [ 0, 2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28 ] }, "parallel_plan": { "world_size": 1, "sequence_parallel": 1, "data_parallel": 1, "note": "prefer FSDP/ZeRO; a sequence-parallel group must divide num_heads=12" }, "overfit_clips": null, "wall_seconds": 137570.1, "checkpoint": "/workspace/sglang/vidicalib/runs/controlled_repaired_20260913/stage1b/vace.pt"}ATTRIBUTION.mdAdded+38
README.mdAdded+109
docs/CONVENTIONS.mdAdded+103
docs/DATA.mdAdded+178
docs/MODEL_CARD.mdAdded+124
docs/RESULTS.mdAdded+784
docs/STATUS.mdAdded+452
docs/repair_20260913.mdAdded+119
lens_profiles/camera_ranges.jsonAdded+25
lens_profiles/profiles.jsonlAdded
lens_profiles/profiles.report.jsonAdded+73
results/base_raw_vace.train_summary.jsonAdded+29
results/base_raw_vace_ood.clip_metrics.jsonAdded
results/base_raw_vace_ood.summary.jsonAdded+114
results/base_raw_vace_test.clip_metrics.jsonAdded
results/base_raw_vace_test.summary.jsonAdded+153
results/base_stage1a.train_summary.jsonAdded+29
results/base_stage1a1b.train_summary.jsonAdded+29
results/base_stage1a1b_ood.clip_metrics.jsonAdded
results/base_stage1a1b_ood.summary.jsonAdded+116
results/base_stage1a1b_test.clip_metrics.jsonAdded
results/base_stage1a1b_test.summary.jsonAdded+155
results/base_stage1a_ood.clip_metrics.jsonAdded
results/base_stage1a_ood.summary.jsonAdded+116
results/base_stage1a_test.clip_metrics.jsonAdded
results/base_stage1a_test.summary.jsonAdded+155
results/completed.jsonAdded+12
results/plan.jsonAdded+948
results/stage1b.summary.jsonAdded+657