Views
No views yet
Per scene:
1. v1d heatmap model → per-view vertex heatmaps → spatial NMS → ~80 rays
2. rays + SfM points → 6-channel 64×32×64 voxel volume
→ RayVoxelTransformerV7a → hybrid ray/dense NMS → world-space vertices (v9)
3. COLMAP + depth → point fusion → EdgeDepthSegmentsModel → wireframe (baseline)
4. snap → baseline verts snapped 80% toward nearest v9 vert within 2 m
+ unmatched v9 verts appended| Method | Mean HSS | Median HSS |
|---|---|---|
| Learned baseline | 0.352 | 0.369 |
| + Snap to v9 | 0.411 | 0.453 |
| File | Purpose |
|---|---|
script.py | Entry point. Loads all models, iterates dataset, writes submission.json |
v9_inference.py | Full v9 vertex pipeline: COLMAP parsing, v1d heatmap model, spatial NMS, voxel volume construction, RayVoxelTransformer inference, hybrid NMS |
baseline_inference.py | Learned baseline pipeline: point fusion, EdgeDepthSegmentsModel forward pass, postprocessing (merge vertices, snap to point cloud, snap horizontal) |
snap.py | snap_midpoint_plus_unmatched — snaps baseline verts toward v9 verts and appends unmatched v9 verts |
model.py | RayVoxelTransformer (V7a): dense image unprojection pathway + sparse ray/SfM transformer pathway, merged via learned gate |
dataset.py | Voxel volume utilities for inference: build_grid, splat_sfm, march_rays, assemble_volume |
voxel_grid.py | VoxelGrid class with world↔voxel transforms, ray marching, SfM splatting, GT target construction |
s23dr_2026_example/ | Learned baseline package: point fusion, tokenizer, EdgeDepthSegmentsModel, postprocessing, varifold loss |
v1d_checkpoint.pt | v1d heatmap model (GroupNorm CNN, 7-channel input) — 12 M params |
v9_checkpoint.pt | RayVoxelTransformerV7a — 22 M params |
baseline_checkpoint.pt | EdgeDepthSegmentsModel — 102 M params |
params.json | Competition metadata (competition ID, dataset, time limit, output paths) |
submission.json | Output: list of {order_id, wf_vertices, wf_edges} |
baseline_checkpoint.pt, 102 MB) is not included in this repo. Download it separately and place it in the root directory of this project:1# From Hugging Face
2wget https://huggingface.co/kc92/rayv9_learnt_baseline_snap/resolve/main/baseline_checkpoint.ptparams.json, writes submission.json):python script.pypython script.py --mode local --n_scenes 10[log1p(ray_count), dir_x/y/z, mean_score, log1p(sfm)]EdgeDepthSegmentsModel with cross-attention latent bottleneck → segment predictions → varifold-based vertex/edge extraction