Facade model journal
Where the work on the facade detection data and models stands. Results are given as they are, including when a trial brings nothing.
18 November 2026 — several trials, one lead
In short
- Several ways of improving v5 were tried in two days. None beats it reliably: it stays the current version.
- The only lead that holds is self-training: the model labels photos without annotation itself, then learns from them. Gain of +0.008, mostly on doors, but not yet distinguishable from noise.
- A second round of self-training is running.
Results
Measured on the frozen test set (59 photos), whole image plus 2 × 2 tiles. The release rule asks for 0.817 and a confidence interval of the gain that is entirely positive.
| Trial | Run | Test mIoU | Difference with v5 | Validation mIoU | Door IoU |
|---|---|---|---|---|---|
| released v5 | t-f-b | 0.807 | — | 0.822 | 0.690 |
| Average of the weights of v5 and t-f-b2 | t-f-soup | 0.804 | -0.003 | 0.825 | — |
| Copy-paste of doors and shutters onto walls | t-f-cp | 0.807 | -0.001 | 0.822 | 0.695 |
| Control: v5 trained 8 more epochs | t-f-ft | 0.810 | +0.003 | 0.822 | 0.701 |
| DINOv3 ViT-B/16 encoder | t-f-d3 | 0.810 | +0.003 | 0.814 | 0.673 |
| Self-training, round 1 | t-f-st | 0.815 | +0.008 | 0.818 | 0.731 |
- Self-training. v5 labelled 2,000 photos of the collection that have no annotation; pixels where it hesitates (probability under 0.6) are ignored, 4% of the pixels. v5 is then trained 12 more epochs with, at each epoch, the 963 annotated photos and as many automatically labelled ones. 90% confidence interval of the gain: [−0.001, +0.020]. Validation drops by 0.004.
- Control. Training v5 further with no new photo already gives +0.003. The contribution of the photos without annotation is therefore about +0.005.
- Copy-paste. Doors and shutters cut out of the annotated photos are pasted onto other walls during training. No effect on the mean: slightly better on windows, worse on shutters.
- DINOv3. Replacing the DINOv2 encoder with DINOv3 does not change the score: better on shutters (0.862 against 0.839), worse on doors and on validation. Its licence is not a free licence. Lead dropped.
- Weight averaging and ensemble of v5 and t-f-b2: slightly below v5 alone.
- Higher resolution at inference (784 or 896 pixels instead of 640, no retraining): +0.003 and +0.002, within noise.
Where the remaining errors are
Ignoring a band of 4 pixels on each side of the annotated outlines, v5 goes from 0.807 to 0.850. A good share of the error is therefore about edge precision, which automatic annotations do not fix to the pixel. Doors stay the weakest class even so (0.724): those are real confusions.
Licence
The site and the app catalogue now state the licence of each version. A version trained with CC BY-SA photos will be released under CC BY-SA 4.0; versions already online stay under CC BY-NC 4.0 (see Licences).
Next
- Second round: the first-round model labels the 3,638 photos without annotation, and v5 is retrained with twice as many automatically labelled photos per epoch. If the score rises again, collecting photos without annotating them is worth continuing; if it falls back, the first-round gain was noise.
16 November 2026 — many more photos, a retraining with no gain
In short
- The collection of house photos grows from 1,031 to 4,768 photos.
- 99 of the new photos were annotated, chosen where the current model is most often wrong.
- The model retrained with these 99 photos is not better than the released one: 0.801 against 0.807 on the test set. It is not released; v5 stays the current version.
Collection: 3,737 new photos
The photos come from Wikimedia Commons, like the earlier ones. 30,071 candidate thumbnails were sorted automatically, without looking at each one: a classifier trained on the manual sorting of earlier batches (DINOv2 features) scores each thumbnail, and a vision model running on the project's own computer (Qwen3.5-9B) gives a second opinion on borderline cases. 3,737 photos were kept.
- Accepted licences: public domain, CC0, CC BY and, since 14 November, CC BY-SA. Non-commercial (NC), no-derivatives (ND) and GFDL-only licences are rejected. Each photo's licence was checked again at the end.
- At most 10 photos per author, so that nobody dominates the set.
- No author in common with the test and validation photos.
- Photos downscaled to 1,600 pixels on the long side, EXIF metadata removed.
These photos have no annotation yet, except 99. They are not redistributed here.
Annotation: 99 photos chosen for their errors
Annotation is expensive. Instead of taking photos at random, 240 photos were given both to the current model and to the local vision model, and the 100 where the two disagree most were kept. They were annotated with the usual method (drawn by Claude, outlines refined by SAM, no manual correction). One photo was dropped: it was a statue.
The choice hit the target: on these 99 photos, v5 only reaches a mIoU of 0.727 in a single pass, against 0.837 on a sample of 20 test photos measured the same way. Part of this difference also comes from flaws in the new annotations.
Retraining: no gain
The ViT-B teacher was retrained with the same recipe as v5, on 963 photos instead of 864 (t-f-b2). Measured on the frozen test set (59 photos), whole image plus 2 × 2 tiles, as in the app:
| Class | v5 (t-f-b, 864 photos) | t-f-b2 (963 photos) | Difference |
|---|---|---|---|
| background | 0.926 | 0.925 | -0.001 |
| wall / building | 0.824 | 0.825 | +0.000 |
| roof | 0.756 | 0.750 | -0.006 |
| window | 0.809 | 0.817 | +0.008 |
| door | 0.691 | 0.669 | -0.021 |
| swing shutter | 0.839 | 0.818 | -0.020 |
| mean (mIoU) | 0.807 | 0.801 | -0.007 |
The difference of -0.007 has a 90% confidence interval of [-0.016 ; +0.000]: the new model is not better, and may be slightly worse. It gains a little on windows and loses on doors and shutters. The release rule asks for a gain of at least 0.01: it is not released.
A careful reading: 99 more photos, 11%, are not enough to move a model of this size, and the new photos are hard cases whose annotations are less reliable.
Trials that brought nothing
- Annotating without Claude, with boxes from the local vision model and SAM: mIoU 0.802 on 20 test photos, against 0.837 for the current model alone. The local model finds shutters well but is wrong too often on doors. It is only used to spot hard photos.
- Draft boxes handed to the annotators: almost everything had to be redrawn.
- Quick learning curve (30 minutes, frozen encoder): 0.691, 0.698 and 0.699 with a quarter, half and all of the photos. Too short and too simplified to tell whether more annotated photos would help.
Licence of the next models
48 of the 99 new photos are under CC BY-SA. A model trained with CC BY-SA photos will be released under CC BY-SA 4.0, not under CC BY-NC 4.0 like the current models. No such model is released yet: every model available for download stays under CC BY-NC 4.0 (see Licences and Attributions).
Next
- Let the small model benefit from the 3,600 photos without annotation: the teacher labels them, the small model learns from them.
- Continue targeted annotation, with a better review of doubtful cases (louvred shutters marked as windows, gables counted as roof).