Dataset Viewer
Auto-converted to Parquet Duplicate
id
stringlengths
9
14
gt
dict
roles
listlengths
0
15
frame
float64
1.02k
1.02k
n_walls
int64
11
80
n_rooms
int64
0
15
n_openings
int64
5
39
watertight
bool
2 classes
r_val
float64
0
1
source
stringclasses
1 value
image
stringlengths
20
25
style
stringclasses
1 value
resplan/13866
{ "walls": [ { "id": "wall_1", "start": [ 331.06, 8.07 ], "end": [ 21.43, 8.07 ], "thickness": 15.92, "type": "exterior", "openings": [] }, { "id": "wall_2", "start": [ 21.43, 8.07 ], "e...
[ "bedroom", "bath", "living", "bath", "bedroom" ]
1,024
37
5
14
true
1
resplan
images/resplan_13866.png
clean_band_v1
resplan/9957
{ "walls": [ { "id": "wall_1", "start": [ 632.43, 8.06 ], "end": [ 890.17, 8.06 ], "thickness": 15.52, "type": "exterior", "openings": [] }, { "id": "wall_2", "start": [ 632.43, 8.06 ], ...
[ "kitchen", "living", "bedroom", "bath", "bath", "bedroom", "bedroom", "bath" ]
1,024
33
8
18
true
1
resplan
images/resplan_9957.png
clean_band_v1
resplan/7737
{ "walls": [ { "id": "wall_1", "start": [ 447.14, 11.83 ], "end": [ 11.55, 11.83 ], "thickness": 23.62, "type": "exterior", "openings": [] }, { "id": "wall_2", "start": [ 11.55, 11.83 ], ...
[ "living", "bedroom", "bath", "bath" ]
1,024
18
4
10
true
1
resplan
images/resplan_7737.png
clean_band_v1
resplan/7026
{ "walls": [ { "id": "wall_1", "start": [ 304.77, 7.8 ], "end": [ 106.64, 7.8 ], "thickness": 16.22, "type": "exterior", "openings": [] }, { "id": "wall_2", "start": [ 106.64, 7.8 ], "en...
[ "living", "bedroom", "bath" ]
1,024
19
3
10
true
1
resplan
images/resplan_7026.png
clean_band_v1
resplan/4790
{ "walls": [ { "id": "wall_1", "start": [ 340.68, 78.15 ], "end": [ 340.68, 11.54 ], "thickness": 22.39, "type": "exterior", "openings": [] }, { "id": "wall_2", "start": [ 340.68, 11.54 ], ...
[ "bedroom", "bath", "bath", "bedroom", "living", "bedroom" ]
1,024
27
6
14
true
1
resplan
images/resplan_4790.png
clean_band_v1
resplan/926236
{ "walls": [ { "id": "wall_1", "start": [ 551.27, 7.78 ], "end": [ 393.04, 7.78 ], "thickness": 16.76, "type": "exterior", "openings": [] }, { "id": "wall_2", "start": [ 393.04, 7.78 ], ...
[ "bath", "bedroom", "bath", "kitchen", "living", "bedroom", "bath", "bedroom" ]
1,024
35
8
17
true
1
resplan
images/resplan_926236.png
clean_band_v1
resplan/7129
{ "walls": [ { "id": "wall_1", "start": [ 9.97, 323.19 ], "end": [ 9.97, 9.68 ], "thickness": 19.88, "type": "exterior", "openings": [ { "type": "window", "center": [ 9.97, 166.52 ...
[ "living", "kitchen", "bath", "bedroom", "bedroom" ]
1,024
22
5
11
true
1
resplan
images/resplan_7129.png
clean_band_v1
resplan/10112
{ "walls": [ { "id": "wall_1", "start": [ 350.98, 7.26 ], "end": [ 7.33, 7.26 ], "thickness": 13.81, "type": "exterior", "openings": [] }, { "id": "wall_2", "start": [ 7.33, 7.26 ], "end...
[ "bedroom", "bath", "bath", "bedroom", "living", "bath", "bedroom" ]
1,024
42
7
10
true
1
resplan
images/resplan_10112.png
clean_band_v1
resplan/8495
{ "walls": [ { "id": "wall_1", "start": [ 419.53, 7.81 ], "end": [ 249.03, 7.81 ], "thickness": 15.21, "type": "exterior", "openings": [] }, { "id": "wall_2", "start": [ 249.03, 7.81 ], ...
[ "bath", "living", "bath", "bedroom", "bedroom" ]
1,024
26
5
12
true
1
resplan
images/resplan_8495.png
clean_band_v1
resplan/15015
{ "walls": [ { "id": "wall_1", "start": [ 654.65, 10.24 ], "end": [ 491.31, 10.24 ], "thickness": 20.69, "type": "exterior", "openings": [] }, { "id": "wall_2", "start": [ 491.31, 10.24 ], ...
[ "bath", "living", "bath", "bedroom" ]
1,024
18
4
9
true
1
resplan
images/resplan_15015.png
clean_band_v1
resplan/14260
{ "walls": [ { "id": "wall_1", "start": [ 659.83, 234.07 ], "end": [ 659.83, 8.73 ], "thickness": 18.41, "type": "exterior", "openings": [] }, { "id": "wall_2", "start": [ 659.83, 8.73 ], ...
[ "living", "bath", "bedroom", "bath" ]
1,024
26
4
9
true
1
resplan
images/resplan_14260.png
clean_band_v1
resplan/10655
{ "walls": [ { "id": "wall_1", "start": [ 458.55, 9.28 ], "end": [ 9.45, 9.28 ], "thickness": 18.47, "type": "exterior", "openings": [ { "type": "window", "center": [ 231.66, 9.28 ...
[ "living", "bedroom", "bath", "bath", "bedroom", "kitchen" ]
1,024
25
6
12
true
1
resplan
images/resplan_10655.png
clean_band_v1
resplan/5168
{ "walls": [ { "id": "wall_1", "start": [ 723.37, 7.81 ], "end": [ 1017.9, 7.81 ], "thickness": 14.45, "type": "exterior", "openings": [] }, { "id": "wall_2", "start": [ 1017.9, 7.81 ], ...
[ "living", "bath", "bedroom", "bedroom", "bedroom", "bath" ]
1,024
38
6
14
true
1
resplan
images/resplan_5168.png
clean_band_v1
resplan/12965
{ "walls": [ { "id": "wall_1", "start": [ 389.29, 6.96 ], "end": [ 7.37, 6.96 ], "thickness": 14.95, "type": "exterior", "openings": [ { "type": "window", "center": [ 298.36, 6.96 ...
[ "living", "bath", "bedroom", "bedroom", "bedroom", "kitchen", "bath", "bath" ]
1,024
30
8
20
true
1
resplan
images/resplan_12965.png
clean_band_v1
resplan/8487
{ "walls": [ { "id": "wall_1", "start": [ 714.17, 8.35 ], "end": [ 445.04, 8.35 ], "thickness": 16.63, "type": "exterior", "openings": [ { "type": "window", "center": [ 582.09, 8.35 ...
[ "living", "bath", "bedroom", "bath", "bedroom" ]
1,024
28
5
14
true
1
resplan
images/resplan_8487.png
clean_band_v1
resplan/2481
{ "walls": [ { "id": "wall_1", "start": [ 576.35, 6.84 ], "end": [ 7.12, 6.84 ], "thickness": 14.45, "type": "exterior", "openings": [ { "type": "door", "center": [ 65.6, 6.84 ...
[ "living", "bedroom", "bedroom", "bath", "bath" ]
1,024
26
5
13
true
1
resplan
images/resplan_2481.png
clean_band_v1
resplan/9512
{ "walls": [ { "id": "wall_1", "start": [ 688.7, 8.73 ], "end": [ 9.28, 8.73 ], "thickness": 17.1, "type": "exterior", "openings": [ { "type": "door", "center": [ 96.7, 8.73 ...
[ "living", "bath", "bedroom", "bedroom" ]
1,024
22
4
14
true
1
resplan
images/resplan_9512.png
clean_band_v1
resplan/15223
{ "walls": [ { "id": "wall_1", "start": [ 512.43, 87.61 ], "end": [ 512.43, 5.87 ], "thickness": 12.99, "type": "exterior", "openings": [ { "type": "door", "center": [ 512.43, 43.3 ...
[ "living", "bedroom", "bath", "bedroom", "kitchen", "bedroom" ]
1,024
36
6
14
true
1
resplan
images/resplan_15223.png
clean_band_v1
resplan/6039
{ "walls": [ { "id": "wall_1", "start": [ 400.41, 6.84 ], "end": [ 7.03, 6.84 ], "thickness": 14.61, "type": "exterior", "openings": [] }, { "id": "wall_2", "start": [ 7.03, 6.84 ], "end...
[ "bedroom", "living", "bath", "bedroom" ]
1,024
29
4
13
true
1
resplan
images/resplan_6039.png
clean_band_v1
resplan/14660
{ "walls": [ { "id": "wall_1", "start": [ 251.1, 7.12 ], "end": [ 7.12, 7.12 ], "thickness": 14.11, "type": "exterior", "openings": [ { "type": "window", "center": [ 128.15, 7.12 ...
[ "bedroom", "bath", "living", "bedroom", "bath" ]
1,024
35
5
15
true
1
resplan
images/resplan_14660.png
clean_band_v1
resplan/17088
{ "walls": [ { "id": "wall_1", "start": [ 453.2, 9.67 ], "end": [ 985.56, 9.67 ], "thickness": 20.28, "type": "exterior", "openings": [] }, { "id": "wall_2", "start": [ 985.56, 9.67 ], "...
[ "living", "bedroom", "bath", "bedroom", "bath" ]
1,024
29
5
11
true
1
resplan
images/resplan_17088.png
clean_band_v1
resplan/772
{ "walls": [ { "id": "wall_1", "start": [ 256.05, 7.09 ], "end": [ 7.12, 7.09 ], "thickness": 13.96, "type": "exterior", "openings": [ { "type": "window", "center": [ 186.18, 7.09 ...
[ "bedroom", "bath", "bath", "bedroom", "living", "bedroom", "bath" ]
1,024
30
7
18
true
1
resplan
images/resplan_772.png
clean_band_v1
resplan/13735
{ "walls": [ { "id": "wall_1", "start": [ 577.62, 44.66 ], "end": [ 663.2, 12.93 ], "thickness": 15.02, "type": "exterior", "openings": [ { "type": "door", "center": [ 659.66, 14.24 ...
[ "living", "bedroom", "bedroom", "bath", "bedroom", "bath", "kitchen", "bath" ]
1,024
44
8
19
true
1
resplan
images/resplan_13735.png
clean_band_v1
resplan/8198
{ "walls": [ { "id": "wall_1", "start": [ 598.22, 160.88 ], "end": [ 598.22, 9.69 ], "thickness": 19.26, "type": "exterior", "openings": [] }, { "id": "wall_2", "start": [ 598.22, 9.69 ], ...
[ "bedroom", "living", "bath", "bedroom" ]
1,024
28
4
9
true
1
resplan
images/resplan_8198.png
clean_band_v1
resplan/12751
{ "walls": [ { "id": "wall_1", "start": [ 678.6, 9.65 ], "end": [ 533.2, 9.65 ], "thickness": 19.82, "type": "exterior", "openings": [] }, { "id": "wall_2", "start": [ 533.2, 9.65 ], "en...
[ "bath", "living", "bath", "bedroom" ]
1,024
29
4
12
true
1
resplan
images/resplan_12751.png
clean_band_v1
resplan/160423
{ "walls": [ { "id": "wall_1", "start": [ 455.64, 63.39 ], "end": [ 455.64, 12.97 ], "thickness": 21.89, "type": "interior", "openings": [ { "type": "window", "center": [ 455.64, 37....
[ "bath", "bedroom", "living", "bath", "bedroom" ]
1,024
28
5
15
true
1
resplan
images/resplan_160423.png
clean_band_v1
resplan/15594
{ "walls": [ { "id": "wall_1", "start": [ 559.68, 7.78 ], "end": [ 437.06, 7.78 ], "thickness": 16.44, "type": "exterior", "openings": [ { "type": "door", "center": [ 518.73, 7.78 ...
[ "living", "bedroom", "bedroom", "bath", "living", "bath", "bath", "bath", "bedroom", "bedroom" ]
1,024
45
10
25
true
1
resplan
images/resplan_15594.png
clean_band_v1
resplan/12971
{ "walls": [ { "id": "wall_1", "start": [ 525.41, 7.78 ], "end": [ 200.68, 7.78 ], "thickness": 16.61, "type": "exterior", "openings": [] }, { "id": "wall_2", "start": [ 200.68, 7.78 ], ...
[ "bedroom", "living", "bath", "room", "bedroom", "bath" ]
1,024
30
6
16
true
1
resplan
images/resplan_12971.png
clean_band_v1
resplan/11132
{ "walls": [ { "id": "wall_1", "start": [ 506.46, 7.8 ], "end": [ 226.31, 7.8 ], "thickness": 15.08, "type": "exterior", "openings": [] }, { "id": "wall_2", "start": [ 226.31, 7.8 ], "en...
[ "living", "bedroom", "bath", "bath", "kitchen", "bedroom", "bedroom", "bath" ]
1,024
36
8
18
true
1
resplan
images/resplan_11132.png
clean_band_v1
resplan/14120
{ "walls": [ { "id": "wall_1", "start": [ 8.07, 402.11 ], "end": [ 8.07, 7.79 ], "thickness": 16.93, "type": "exterior", "openings": [] }, { "id": "wall_2", "start": [ 8.07, 7.79 ], "end...
[ "living", "bath", "bath" ]
1,024
15
3
8
true
1
resplan
images/resplan_14120.png
clean_band_v1
resplan/11824
{ "walls": [ { "id": "wall_1", "start": [ 442.59, 6.84 ], "end": [ 729.29, 6.84 ], "thickness": 14.84, "type": "exterior", "openings": [] }, { "id": "wall_2", "start": [ 442.59, 6.84 ], ...
[ "living", "bath", "bedroom", "bath", "bedroom" ]
1,024
30
5
11
true
1
resplan
images/resplan_11824.png
clean_band_v1
resplan/8240
{ "walls": [ { "id": "wall_1", "start": [ 910.05, 7.34 ], "end": [ 776.55, 7.34 ], "thickness": 13.28, "type": "exterior", "openings": [] }, { "id": "wall_2", "start": [ 776.55, 7.34 ], ...
[ "bedroom", "living", "kitchen", "bedroom", "bath", "bedroom", "bath", "bedroom", "bath" ]
1,024
49
9
27
true
1
resplan
images/resplan_8240.png
clean_band_v1
resplan/16676
{ "walls": [ { "id": "wall_1", "start": [ 704.32, 8.07 ], "end": [ 545.79, 8.07 ], "thickness": 16.29, "type": "exterior", "openings": [] }, { "id": "wall_2", "start": [ 545.79, 8.07 ], ...
[ "bath", "living", "bath", "bedroom" ]
1,024
25
4
6
true
1
resplan
images/resplan_16676.png
clean_band_v1
resplan/1866
{ "walls": [ { "id": "wall_1", "start": [ 738.34, 74.5 ], "end": [ 738.34, 269.75 ], "thickness": 14.63, "type": "interior", "openings": [] }, { "id": "wall_2", "start": [ 738.34, 269.75 ], ...
[ "living", "bath", "bath", "bedroom" ]
1,024
20
4
13
true
1
resplan
images/resplan_1866.png
clean_band_v1
resplan/14201
{ "walls": [ { "id": "wall_1", "start": [ 339.72, 97 ], "end": [ 339.72, 6.83 ], "thickness": 13.38, "type": "exterior", "openings": [] }, { "id": "wall_2", "start": [ 339.72, 6.83 ], "e...
[ "bedroom", "bath", "living", "kitchen", "bedroom", "bath" ]
1,024
36
6
14
true
1
resplan
images/resplan_14201.png
clean_band_v1
End of preview. Expand in Data Studio

ResPlan-FP

A floorplan-vectorization benchmark of 16,998 residential plans rendered as clean 256 px raster images with wall-first vector ground truth (walls as centerline segments with thickness, openings on walls, rooms as wall-cycle polygons with labels). It accompanies the paper

When Should a Network Emit Geometry, and When Should It Detect It? Readout, Reconciliation, and Representation in Floorplan Vectorization — He Zhang, arXiv:2608.25608

Code (converter, render protocol, split freezing, evaluator, baseline scoring): https://github.com/Cyprinus12138/fpvec-lab

Files

file content
train.jsonl / val.jsonl / test.jsonl one row per plan: id, gt (wall-first JSON, 1024 longer-edge frame), roles, n_walls, n_rooms, n_openings, watertight, r_val, image, style
images_{train,val,test}.tar images/resplan_<id>.png, 256 px clean_band_v1 renders
splits.json seed, counts (14,998 / 1,000 / 1,000), per-split id fingerprints and the full test-id list
stats.json conversion statistics
baselines/*.preds.jsonl predictions of the paper's baseline tracks on the test split ({"id", "pred"} per line)
baselines/llm_subset_ids.json the 200-plan subset used for the LLM track

Split protocol

Accepted plan ids sorted as strings, shuffled with random.Random(42); first 1,000 = test, next 1,000 = val, rest = train. Fingerprint of a split = sha256(",".join(sorted(ids)))[:16]:

split n fingerprint
test 1000 669656eabb515960
val 1000 efb5e82b808acec4
train 14998 5af77996b313bba2

python -m resplan_fp.build in the code repo rebuilds the benchmark from ResPlan.pkl and aborts if the fingerprints differ.

Render protocol (clean_band_v1)

White 256×256 canvas; each wall drawn as a solid dark band of one per-plan thickness max(5, round(median wall thickness × 256/1024)) px; every opening cut out of the band as a white gap; doors get a quarter-circle swing arc and leaf, windows a thin double line across the gap. No text, no fixtures, no noise. The renderer in the code repo reproduces the shipped PNGs byte for byte.

Baseline tracks (wall F1 on the test split, all 1,000 plans, missing predictions score 0)

track file wall F1 @0.05 @0.015
zero-shot, wall-first sequence decode zeroshot_seq_decode 0.640 0.505
zero-shot, graph readout, thresholds frozen on CubiCasa5K zeroshot_readout_frozen 0.621 0.553
zero-shot, graph readout, thresholds calibrated on ResPlan-FP val zeroshot_readout_calibrated 0.677 —
zero-shot, room-centric (Raster2Seq continued) zeroshot_roomcentric 0.383 —
zero-shot, fusion (room-centric + readout donor, readout fallback) zeroshot_fusion 0.688 —
finetuned, wall-first sequence decode finetuned_seq_decode 0.968 0.957
finetuned, graph readout (val-calibrated) finetuned_readout 0.915 —
finetuned, room-centric (Raster2Seq finetuned) finetuned_roomcentric 0.928 0.902
LLM zero-shot, Gemini 3.1 Pro, 200-plan subset llm_gemini 0.811 0.472

Score any file with python -m baselines.score --bench <this dir> --preds baselines/<file>.preds.jsonl. The LLM file keeps the model's declared rooms; the paper's room / r_val values for that row were computed with the model's rooms discarded (rooms read as faces of the predicted wall graph), which is --drop-pred-rooms in the scorer.

Known limitations of the conversion

  • Open-plan kitchens that share a wall-graph face with the living room are labelled living (max-overlap labelling); kitchen polygons exist in the source for future sub-face labels.
  • Balconies are absent: ResPlan railings are not in the wall layer, so they form no face.
  • 2 of 17,000 source plans are rejected (more than 80 walls or more than 512 sequence tokens). Watertightness 0.995.

License and provenance

Derived from ResPlan (Abouagour et al.; data CC BY 4.0, code MIT). ResPlan-FP is released under CC BY 4.0.

Citation

@article{zhang2026emitdetect,
  title   = {When Should a Network Emit Geometry, and When Should It Detect It?
             Readout, Reconciliation, and Representation in Floorplan Vectorization},
  author  = {Zhang, He},
  journal = {arXiv preprint arXiv:2608.25608},
  year    = {2026}
}
Downloads last month
6

Papers for Tristan12138/resplan-fp