File size: 3,312 Bytes
9c890d3 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 | # SCALE4D: zero-shot inference at unseen view counts
Download [viewer/index.html](viewer/index.html) and open it locally for a self-contained interactive viewer. Select 1–10 input views, overlay a second count, toggle ground truth and predicted context, and choose an RGB display camera. No GPU or internal storage access is needed for viewing.
| Dataset | Clip | Queries | AJ, 1 view | AJ, 10 views |
| --- | --- | ---: | ---: | ---: |
| PStudio | softball_25, target camera 25 | 99 | 0.00 | 82.98 |
| Show3D | tomato sauce can spinning on the table | 2227 | 46.80 | 62.66 |
Both examples use the frozen 140k SCALE4D checkpoint, the complete scored query set, 48 frames, and nested camera prefixes. The Show3D AJ curve increases at all ten counts. PStudio improves substantially overall, with small reversals at five and nine views. These are selected qualitative examples from ten screened candidates.
The encoder alternates shared per-view video attention and same-time attention across all views after every block. UCPE provides calibrated geometry; learned encoder view-index embeddings are disabled. Only the decoder view/source embedding tables are expanded by reusing zero-based rows `[0,1,2,1,2,1,2,1,2,1]`. Each slot receives a distinct camera video. Model weights remain frozen. Counts beyond ten have not been evaluated.
Scored positions are metric UV-depth backprojections through the original target-camera intrinsics. No scale fitting or ground-truth alignment is used. The RGB display camera does not add observations to the inference input. The 1024 context queries per state are genuine SCALE4D outputs used only for display; they are excluded from benchmark scores.
* `inputs/`: original uint8 camera videos, calibrated poses and intrinsics, query pixels/times/source views, and world up. Inputs contain no ground-truth tracks.
* `results/`: exact original float32 predictions for all ten counts, including UV-depth, the independent XYZ head, UV, visibility, confidence, query identity, and provenance. Array order is `(view_count,time,query,coordinate)`.
* `labels/`: target-camera ground truth in metres and visibility.
* `context/`: predicted context points for all ten counts.
* `viewer/`: self-contained HTML, compressed scene payloads, and synchronized RGB atlas videos. Viewer coordinates are rounded to five decimal places; result arrays retain full precision.
* `scores/` and `screening/`: selected full-clip AJ/APD and the complete ten-candidate screening results.
* `verification/`: checks that all twenty scored states exactly match finalized tracks, selector synchronization checks, and a portable inference replay check.
* `manifest.json`: versioned inventory, sizes, SHA-256 checksums, checkpoint provenance, and camera order.
Portable viewer/export and inference code is in the `infd4rt` checkout. See [usage.md](usage.md) for download, rebuild, inference, and checksum verification commands. The dedicated inference runner matches uint8 OpenCV resizing followed by float32 conversion, BF16 attention execution, and FP32 output heads of the original evaluation.
Standalone source and installation instructions are in [examples/visualizer_code](../visualizer_code/README.md). The source bundle includes the fixed HTML loader, model code, inference runners, and tests.
|