Skip to content

Accuracy by landscape

GAMUS accuracy — primary judging dataset

Section titled “GAMUS accuracy — primary judging dataset”

GAMUS is the main judging dataset. Its accuracy is shown separately below, using all 859 GAMUS validation tiles and the epoch-7 best.pt checkpoint. The best confirmed inference setting is D4 averaging with 1.5× input scaling; lower RMSE is better.

GAMUS RMSE
2.590m
D4 + 1.5× input · full validation
GAMUS MAE
1.264m
Pearson r 0.924
GAMUS tiles
859
222.8 M valid pixels · epoch 7
GAMUS landscapeTilesValid pixelsSingle-pass RMSE (m) ↓D4 + 1.5× RMSE (m) ↓D4 + 1.5× MAE (m) ↓Pearson r ↑
Overall859222.8 M2.7752.5901.2640.924
Urban465120.7 M3.2113.0611.6430.930
Sparse9924.9 M2.2101.2530.3210.736
Forested29577.2 M2.1262.0520.9760.798

GAMUS only. Both inference settings score the same deterministic 512 px centre crops and valid pixels; model weights are fixed. Source: /evidence/v5-gamus-d4/probe_metrics.json

The D4 setting lowers full GAMUS RMSE from 2.775 m to 2.590 m (6.64%) while taking 14.2× longer. It worsens RMSE for true heights ≥15 m (5.792 → 5.980 m). See full GAMUS inference comparison and download the raw GAMUS metrics.

Three further scaling settings were scored on the same full validation cohort. The new single-pass baseline reproduces the previous metrics exactly. D4 + 1.5× remains the lowest-RMSE setting for the main judging dataset.

InferenceGAMUS RMSE (m) ↓MAE (m) ↓True ≥15 m RMSE (m) ↓Runtime (s)
Single pass2.7751.3465.79283.85
Plain 1.25×2.7071.3225.974105.43
Plain 1.5×2.6211.2735.999146.82
D4 + 1.25×2.6521.3075.932637.56
D4 + 1.5×2.5901.2645.980960.38

All 859 GAMUS validation tiles, fixed weights and matching valid pixel counts. D4 + 1.5× is the earlier full confirmation; the other four rows are from the new paired run. Source: /evidence/v5-gamus-scales/comparison.json

Plain 1.5× is the faster alternative: RMSE is only 0.030711 m higher than D4 + 1.5×, retaining 83.32% of its gain over the single-pass baseline. Its measured runtime is 146.82 s versus 960.38 s for D4 + 1.5×. These are observed L4 evaluation times from two runs, not a repeated throughput benchmark; the earlier baseline took 67.78 s and the new baseline took 83.85 s.

All four scaled settings worsen RMSE for true heights ≥15 m relative to the single-pass baseline. A lower global RMSE therefore comes with a tall-height tradeoff.

The following table pools the original epoch-7 single-pass evaluation across MVS3DM, NEON, GAMUS and US3D (718 tiles). Its overall score measures that four-dataset pool; use the separate GAMUS table above for the primary judging dataset.

LandscapePooled RMSE (m) ↓Pooled MAE (m) ↓Weighted Pearson r ↑Pooled pixelsPooled from
Urban3.851.690.9073.6 MGAMUS, US3D
Sparse1.320.320.6345.5 MMVS3DM, NEON, GAMUS, US3D
Forested2.851.600.8364.7 MMVS3DM, NEON, GAMUS
Overall3.041.320.88183.7 MMVS3DM, NEON, GAMUS, US3D

Supporting results: epoch-7 single-pass pool from four validation sets. Pearson r is a pixel-weighted approximation. Source: Model_Traning/v5/outputs/v5/modal/metrics.json

Each validation tile gets a landscape label from its own ground-truth height map (see the landscape classifier). The four-set columns score all pixels of each landscape together and write n, RMSE, MAE and r per landscape into the epoch-7 metrics.json. Its per-set inputs are:

SetLandscapeTilesPixelsRMSEMAEr
MVS3DMsparse90.00022,781,9110.8610.3210.801
MVS3DMforested110.00026,440,4471.9511.2400.776
MVS3DMoverall—49,222,3581.5450.8150.816
NEONsparse36.0009,258,2110.6850.2540.933
NEONforested82.00020,916,6864.1122.5280.937
NEONoverall—30,174,8973.4441.8300.953
GAMUSurban111.00028,854,3053.2631.7970.921
GAMUSsparse23.0005,862,4953.1460.8000.331
GAMUSforested66.00017,301,5042.0121.0170.801
GAMUSoverall—52,018,3042.8931.4250.910
US3Durban171.00044,700,0034.1871.6140.881
US3Dsparse29.0007,602,1760.2660.023-0.040
US3Doverall—52,302,1793.8721.3830.884

history[6] in metrics.json, keys val (MVS3DM), val_neon, val_gamus and val_us3d. Overall rows are each set's global block. Source: Model_Traning/v5/outputs/v5/modal/metrics.json

Some landscapes are missing from some sets:

  • Urban comes from GAMUS and US3D only. No MVS3DM validation tile is classed urban, and NEON is configured never to produce urban tiles (landscape_no_urban_sources = neon), because its closed forest canopy was being misread as rooftops.
  • Forested has no US3D rows, because none of the 200 sampled US3D tiles is classed forested.
  • Hilly is absent from the table on purpose. The model’s target is height above ground, so terrain is subtracted from every label and no tile can be classed hilly.

Each set reports its own metrics, so the table combines them using the pixel counts:

Column Formula Exact?
RMSE √( Σ nᵢ · RMSEᵢ² / Σ nᵢ ) Yes. Identical to RMSE over all pixels at once.
MAE Σ nᵢ · MAEᵢ / Σ nᵢ Yes.
Pearson r Σ nᵢ · rᵢ / Σ nᵢ No. A pixel-weighted mean of per-set r.

The last evaluation in run.log (lines 757–763) prints the same per-landscape RMSEs, rounded to 0.01 m. In these lines fore, spar and urba are forested, sparse and urban:

eval e7 RMSE=1.545 MAE=0.815 r=0.816 d1=0.645 bal=4.280 tall_bias=-6.11 flat_bias=+0.36 edge=2.281 grad=0.23 [fore=1.95 spar=0.86]
eval e7 [neon] RMSE=3.444 MAE=1.830 r=0.953 d1=0.719 bal=3.641 tall_bias=-1.18 flat_bias=+0.43 edge=4.646 grad=0.66 [fore=4.11 spar=0.68]
eval e7 [neon @2x pooled] RMSE=3.416 MAE=1.817 r=0.954 d1=0.720 bal=3.608 tall_bias=-1.18 flat_bias=+0.43 edge=4.184 grad=0.63 [fore=4.08 spar=0.67]
eval e7 [gamus] RMSE=2.893 MAE=1.425 r=0.910 d1=0.654 bal=3.662 tall_bias=-1.89 flat_bias=+0.53 edge=3.771 grad=0.39 [fore=2.01 spar=3.15 urba=3.26]
eval e7 [us3d] RMSE=3.872 MAE=1.383 r=0.884 d1=0.715 bal=6.150 tall_bias=-5.58 flat_bias=+0.27 edge=5.780 grad=0.43 [spar=0.27 urba=4.19]
eval e7 select=2.481 m (forested+sparse RMSE, mean over neon,mvs3dm)
new best 2.481 m -> best.pt
  • The unlabelled first line is MVS3DM, the selection set.
  • [neon @2x pooled] scores NEON again at half resolution. The table does not use it. It uses the full-resolution [neon] line (val_neon in metrics.json).
  • The [gamus] line is the original single-pass GAMUS baseline on 200 tiles. The separate GAMUS table at the top uses all 859 validation tiles; exact numbers are in the linked probe metrics.
  • Epoch 7 is the last epoch, and it is also the best. The run hit its 106-minute wall-clock cap during epoch 7 and then evaluated best.pt again ([final] evaluating best.pt (epoch 7)).
  • The log does not print pixel counts. Those are in metrics.json.
  1. Download the two files from the run. They are the files the Modal job wrote to depthwizard-results:/v5_final_forest/, unchanged:
    • metrics.json (867 KB). SHA-256 82d361b1a6caf7bf50e20cb485ea9fc57e3b6da52c29bb4b83140036e6a4f5fb
    • run.log (110 KB). SHA-256 e706a022bbae4ded1379e66160c2502bdc295166692e7ef648b81747a69d9ce2
  2. Run the script below with the epoch-7 training metrics and the GAMUS D4 probe file. It uses only the Python standard library:
Terminal window
python3 reproduce_landscape_table.py metrics.json probe_metrics.json
best.pt = epoch 7 (select score 2.481 m)
landscape pixels RMSE MAE r GAMUS GAMUS tiles sets
urban 73,554,308 3.85 1.69 0.90 3.06 465 GAMUS, US3D
sparse 45,504,793 1.32 0.32 0.63 1.25 99 MVS3DM, NEON, GAMUS, US3D
forested 64,658,637 2.85 1.60 0.83 2.05 295 MVS3DM, NEON, GAMUS
overall 183,717,738 3.04 1.32 0.88 2.59 859 MVS3DM, NEON, GAMUS, US3D
Docs-Site/scripts/reproduce_landscape_table.py
"""Rebuild the v5 "DSM accuracy by landscape" table from the run's metrics.json.
Run from Docs-Site/ (standard library only):
python3 scripts/reproduce_landscape_table.py
python3 scripts/reproduce_landscape_table.py path/to/metrics.json
The first file is the one the v5 final H100 run wrote on Modal. A copy is served at
public/evidence/v5-final/metrics.json. An optional second file is the full GAMUS
validation D4 + 1.5x confirmation for that same epoch-7 checkpoint. The pooled
four-set columns use the training run; the GAMUS-only column uses the optional
all-859-tile confirmation.
Pooling: each validation set reports n, RMSE, MAE and Pearson r per landscape.
RMSE = sqrt( sum(n_i * rmse_i^2) / sum(n_i) ) exact: the same as RMSE over all pixels
MAE = sum(n_i * mae_i) / sum(n_i) exact
r = sum(n_i * r_i) / sum(n_i) approximate: metrics.json has no
per-set means or variances, so the
exact pooled r cannot be rebuilt
"""
from __future__ import annotations
import json
import math
import sys
from pathlib import Path
SETS = {"val": "MVS3DM", "val_neon": "NEON", "val_gamus": "GAMUS", "val_us3d": "US3D"}
LANDSCAPES = ["urban", "sparse", "forested"]
def pool(blocks):
n = sum(b["n"] for b in blocks)
return {
"n": n,
"rmse": math.sqrt(sum(b["n"] * b["rmse_m"] ** 2 for b in blocks) / n),
"mae": sum(b["n"] * b["mae_m"] for b in blocks) / n,
"r": sum(b["n"] * b["pearson_r"] for b in blocks) / n,
}
def best_epoch(metrics):
return min(metrics["history"], key=lambda h: h["select_score"])
def landscape_table(metrics, gamus_readout=None):
ep = best_epoch(metrics)
per_set = [] # every input row, so the pooling can be checked by hand
for key, name in SETS.items():
v = ep[key]
for land in LANDSCAPES + ["overall"]:
b = v["global"] if land == "overall" else v["per_landscape"].get(land)
if b:
per_set.append({"set": name, "landscape": land, "n": b["n"],
"tiles": b.get("tiles"), "rmse": b["rmse_m"],
"mae": b["mae_m"], "r": b["pearson_r"]})
rows = []
for land in LANDSCAPES + ["overall"]:
blocks = [ep[k]["global"] if land == "overall" else ep[k]["per_landscape"][land]
for k in SETS if land == "overall" or land in ep[k]["per_landscape"]]
if gamus_readout is None:
g = ep["val_gamus"]["global"] if land == "overall" else ep["val_gamus"]["per_landscape"][land]
else:
candidates = gamus_readout["sources"]["gamus"]["candidates"]
selected = candidates["baseline_d4_zoom150"]
g = selected["global"] if land == "overall" else selected["per_landscape"][land]
rows.append({"landscape": land,
"sets": [SETS[k] for k in SETS
if land == "overall" or land in ep[k]["per_landscape"]],
**pool(blocks), "gamus_rmse": g["rmse_m"],
"gamus_tiles": (859 if land == "overall" else g.get("tiles")),
"gamus_protocol": "D4 + 1.5x, all val tiles" if gamus_readout else "single pass, 200 val tiles"})
return {"epoch": ep["epoch"], "select_score": ep["select_score"],
"rows": rows, "per_set": per_set}
if __name__ == "__main__":
path = Path(sys.argv[1] if len(sys.argv) > 1 else "public/evidence/v5-final/metrics.json")
readout_path = Path(sys.argv[2]) if len(sys.argv) > 2 else None
readout = json.loads(readout_path.read_text()) if readout_path else None
t = landscape_table(json.loads(path.read_text()), readout)
print(f"best.pt = epoch {t['epoch']} (select score {t['select_score']:.3f} m)\n")
print(f"{'landscape':<10}{'pixels':>13}{'RMSE':>8}{'MAE':>8}{'r':>8}{'GAMUS':>8}{'GAMUS tiles':>13} sets")
for r in t["rows"]:
print(f"{r['landscape']:<10}{r['n']:>13,}{r['rmse']:>8.2f}{r['mae']:>8.2f}"
f"{r['r']:>8.2f}{r['gamus_rmse']:>8.2f}{r['gamus_tiles']:>13} {', '.join(r['sets'])}")

scripts/extract_metrics.py imports the same function to build the pooled data. The separate GAMUS table reads the full-validation evidence JSON directly, including its MAE, Pearson r and valid pixel counts.