All models

CubiCasa5K floor-plan parser

Multi-task hourglass network that segments rooms and icons in a floorplan image and locates wall junctions.

Segmentation · 364 operations Checked

100%

Showing the top corner; full diagram not loaded yetShowing a small copy; full diagram not loaded yetLarge diagram, not loaded yet

Open SVG

Loading diagram (136 KB)

Open in a new tab

Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.

At a glance

Parameters
17.4M
Operations
364
Framework
PyTorch
Recurrent
No
Published
SCIA 2019
Cited by
120 (as of 29 October 2026)
Authors
Ahti Kalervo, Juha Ylioinas, Markus Häikiö and others
License
CC-BY-NC-4.0
Checked
Passed: the trace was replayed operation by operation and matched the model's own output for this input.

Files

The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.

Details
Stable ID
m15496
Graph hash
45d2cd2669f30e3f614588551a31853dad3930ee801320033853ff51818bfa9f
Skeleton hash
77485ba096d88f64d065d90966e3ca7009825d04375320c3ddd5ecaa9fcde372
Architecture hash
ad2326554efef90334449793c3724c17f6f305684205f60fb7dc58b3b622ffcf
Diagram SHA-256
ec3ae62f7fa5380ec568837de52ffcdb9704adc03f72fa8034c471d457ef73d5
TorchLens version
2.36.0
Renderer
graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
Check
Forward pass replayed in PyTorch

What it is

This is the multi-task network released with CubiCasa5K, a floorplan image dataset of 5000 samples annotated into over 80 object categories. It reads a rasterized floorplan, and its outputs go to a post-processor that rebuilds the plan as vector graphics.

The network produces two segmentation maps, one for room types and one for icon types, and a set of heatmaps that locate wall junctions, icon corners and opening endpoints. The architecture is taken from the earlier Raster-to-Vector floorplan work. The paper describes that network as based on ResNet-152 pretrained with ImageNet. The earlier work fixed the relative weighting of its tasks by hand. This model instead trains with a multi-task uncertainty loss that derives the loss weights automatically.

The network regresses 21 heatmaps for the interest points. In the CubiCasa5K experiments the segmentation targets cover 12 room and 11 icon classes.

Key idea. The paper contributes CubiCasa5K, a new floorplan image dataset, and an improved multi-task model for parsing floorplan images.

  • CubiCasa5K
  • CubiCasa
  • floorplan parsing
  • floor plan
  • floorplan image analysis
  • room segmentation
  • icon segmentation
  • wall junction heatmaps
  • multi-task uncertainty loss

AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.

Cite the paper

@misc{kalervo2019cubicasa5kdatasetimprovedmultitask,
      title={CubiCasa5K: A Dataset and an Improved Multi-Task Model for Floorplan Image Analysis}, 
      author={Ahti Kalervo and Juha Ylioinas and Markus Häikiö and Antti Karhu and Juho Kannala},
      year={2019},
      eprint={1904.01920},
      archivePrefix={arXiv},
      primaryClass={cs.CV},
      url={https://arxiv.org/abs/1904.01920}, 
}