open.kohod.fr

Detection models

Semantic segmentation networks: for every pixel of a photo, the model gives a class (wall, window, door…). Three types, depending on what is photographed. Each type has its successive versions, released or only evaluated, each with its detailed card.

Common format

File
ONNX (opset 17), fixed input size
Input
image: float32, 1 × 3 × 640 × 640, RGB; letterbox (long side to 640 px, black bands bottom and right), /255, ImageNet normalisation (mean [0.485, 0.456, 0.406], std [0.229, 0.224, 0.225]). The first facade models named lraspp512… take 512 × 512.
Output
logits: float32, N × C × 640 × 640 (C = number of classes of the type, raw scores before softmax); keep the useful area, resize to the photo, argmax
Precision
fp16: what the app uses, published for every version; fp32 and int8 also given for the first facade models (inputs and outputs always float32)
Recommended use
whole image + overlapping 2 × 2 tiles, probabilities averaged; this is also the release criterion (tiled test mIoU)
Licence
weights: CC BY-NC 4.0, or CC BY-SA 4.0 for a version trained with CC BY-SA photos (stated on its page); example code: MIT — Licences

Common limits