Kelpod floor-plan segmenter (baseline-v1)
Semantic segmentation of scanned floor plans into background, wall, window, door, room. It is
the default segmenter of Kelpod (main = baseline-v1),
an open-source, educational project that turns German floor-plan scans (Bestandspläne,
DIN 1356-1 style) into closed IFC models for energy software. Kelpod's deterministic geometry step
turns these masks into walls, openings and rooms.
| File | Seed | sha256 |
|---|---|---|
v1-s1/model.onnx |
1 (Kelpod's default) | 6d1b6d39941510a3fae85048cbc7eb860a841d4084d2d5860b870022d48b79bc |
v1-s2/model.onnx |
2 | 9ed1bed6a149f23a778dc9e8987e4be643abadbed15222c4600e134844f01a07 |
best_meta.json next to each file lists the classes, input convention, training mix and
per-class validation IoU.
Model
- U-Net with a ResNet-34 encoder (segmentation_models_pytorch), 5 classes, 36 000 iterations.
- Input: grayscale page scaled to 0.0127 m per pixel (1:100 at 200 dpi), values
gray / 255(white = 1). Kelpod runs whole-page inference at 0.65x scale on CPU with ONNX Runtime. - Use in Kelpod:
KELPOD_SEG_CHECKPOINT=/path/to/model.onnx,segment_backend="learned".
Training data
Mix: Kelpod's synthetic German-style plans (two styles, 33 %), Swiss Dwellings v3.0.0 re-rendered in DIN 1356-1 style (25 %, CC BY 4.0), ResPlan re-rendered (22 %, CC BY 4.0), CubiCasa5k (20 %, CC BY-NC 4.0; the Zenodo record states CC BY-NC-SA 4.0). Encoder initialised from ImageNet-pretrained ResNet-34 (torchvision, BSD-3-Clause).
Because CubiCasa5k is non-commercial and share-alike, these weights are released under CC BY-NC-SA 4.0: no commercial use; derivatives under the same licence; credit Kelpod and the datasets above.
Results (synthetic only)
On Kelpod's frozen synthetic validation split (200 plans), the share of plans that come out both closed and correct rises from 0.720 (classical segmenter) to 0.945 (seed 1) / 0.920 (seed 2). On the locked held-out synthetic test (worse seed): 0.267 to 0.537. Details: docs/EXPERIMENTS.md.
Limitations
- Not validated on real scans. On a handful of real web and historic plans it still fails (double-line walls, very low resolution, several plans per sheet). Work on this is ongoing.
- Not a certified measurement: an expert must check every model built from its output.