t-wi-s v4 — in the app now
Version of the model « Window from inside » evaluated on 2026-10-09.
- Version
- v4
- Status
- v4 — in the app now
- Date
- 2026-10-09 19:35
- Type
- Window from inside
- Architecture
- DINOv2 ViT-S/14 with registers (Meta, Apache-2.0; timm
vit_small_patch14_reg4_dinov2.lvd142m) + light DPT head, 25.35 M parameters - Recipe
- —
- Training data
- train 332, val 18, test 18 (452 photos)
- Weights kept
- epoch 85 (best validation mIoU)
- Input / output
- 1 × 3 × 640 × 640 → 1 × 5 × 640 × 640
- ONNX export sizes
- fp32 102.63 MB · fp16 53.01 MB (published here: fp16)
- Latency
- 854.1 ms per 640 × 640 pass (fp16, onnxruntime CPU 4 threads, desktop PC; 3 to 6 times more on a mid-range phone)
- Decision
- released as v4: 2:mean 0.7271 >= 0.6753, 90% CI of the gain [+0.0347, +0.0939] > 0
- Licence
- weights: CC BY-NC 4.0 — Licences
Measurements
mIoU on the type's frozen test set (never seen in training) and on validation; “tiles”: whole image + overlapping 2×2 tiles, as in the app.
| Set | mIoU |
|---|---|
| validation v2 (80 images) | 0.680 |
| test_v2 | 0.714 |
| test, whole image (fp16, CPU) | 0.713 |
| test, whole image + 2×2 tiles (fp16, CPU) — criterion | 0.727 |
| test, 2×2 tiles on openings (fp16, CPU) | 0.722 |
| criterion gain over v3 (wi640j), 90% CI | +0.062 [+0.035, +0.094] |
Per-class IoU
| Set | background | window (frame) | pane (glass) | mullion (glazing bars) | curtain (curtain, blind) |
|---|---|---|---|---|---|
| validation v2 (80 images) | 0.90 | 0.35 | 0.80 | 0.59 | 0.76 |
| test_v2 | 0.92 | 0.44 | 0.82 | 0.59 | 0.79 |
| test, whole image (fp16, CPU) | 0.92 | 0.44 | 0.82 | 0.59 | 0.79 |
| test, whole image + 2×2 tiles (fp16, CPU) — criterion | 0.92 | 0.44 | 0.82 | 0.65 | 0.80 |
| test, 2×2 tiles on openings (fp16, CPU) | 0.92 | 0.42 | 0.81 | 0.65 | 0.80 |
IoU of merged classes
| Set | whole window |
|---|---|
| validation v2 (80 images) | 0.846 |
| test_v2 | 0.866 |
| test, whole image (fp16, CPU) | 0.866 |
| test, whole image + 2×2 tiles (fp16, CPU) — criterion | 0.869 |
| test, 2×2 tiles on openings (fp16, CPU) | 0.866 |
whole window : window + panes + glazing bars merged: the outline the app follows.
Downloads
Weights licence : CC BY-NC 4.0. Licences.
| File | Format | Size | SHA-256 |
|---|---|---|---|
| window_inside_seg_640_fp16.onnx | fp16 | 53.01 MB | 26d042ef5a97c3fc3d17091ce269f59f9d1d11ec46bcf560b9a4182ff15948d3 |
ONNX fp16 (float32 inputs and outputs), byte-identical to the file the app downloads. Checksums: SHA256SUMS (sha256sum -c SHA256SUMS).