File size: 2,721 Bytes
9ea9bbb f89deec 9ea9bbb f89deec 9ea9bbb f89deec b23df80 f89deec fc09ec8 f89deec b23df80 f89deec b23df80 f89deec fc09ec8 f89deec fc09ec8 f89deec b23df80 f89deec b23df80 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 | ---
library_name: pytorch
license: mit
tags:
- computer-vision
- floorplan-reconstruction
- pytorch
- raster2seq
---
<div align="center">
<h1>Official PyTorch models of "Raster2Seq: Polygon Sequence Generation for Floorplan Reconstruction" <a href="https://arxiv.org/abs/2602.09016"> (SIGGRAPH'26)</a></h1>
</div>
<div align="center">
<a href="https://hao-pt.github.io/" target="_blank">Hao Phung</a>    
<a href="https://hao-pt.github.io/" target="_blank">Hadar Averbuch-Elor</a>
<br> <br>
Cornell University  
<br> <br>
<a href="https://cornell-vailab.github.io/Raster2Seq/">[Page]</a>   
<a href="https://arxiv.org/abs/2602.09016">[Paper]</a>   
<a href="https://github.com/Cornell-VAILab/Raster2Seq">[Code]</a>   
<br> <br>
</div>
This repository hosts Raster2Seq's PyTorch checkpoints for floorplan reconstruction. Each checkpoint is stored in its own subfolder so users can download all checkpoints or only the subfolder they need.
## Available Checkpoints
| Checkpoint key | Dataset | RoomF1 | Subfolder |
| ------------------ | ----------------------- | -----: | ------------------- |
| `s3d-bw` | Structured3D-B | 99.6 | `s3d-bw/` |
| `cubicasa5k` | CubiCasa5K | 88.7 | `cubicasa5k/` |
| `raster2graph` | Raster2Graph | 97.0 | `raster2graph/` |
| `raster2graph-512` | Raster2Graph-512 | 98.1 | `Raster2Graph-512/` |
| `s3d-density` | Structured3D-DensityMap | 99.1 | `s3d-density/` |
## Download All Checkpoints
```python
from huggingface_hub import snapshot_download
local_repo = snapshot_download(repo_id="haopt/Raster2Seq")
```
## Download One Checkpoint Subfolder
```python
from huggingface_hub import snapshot_download
local_repo = snapshot_download(
repo_id="haopt/Raster2Seq",
allow_patterns="Raster2Graph-512/*",
)
```
## Raster2Seq Helper
With the Raster2Seq codebase, users can load by alias:
```bash
python eval.py --checkpoint hf:cubicasa5k ...
```
or download directly:
```python
from raster2seq_hub import download_checkpoint
ckpt_path = download_checkpoint("cubicasa5k")
```
**Please CITE** our paper and give us a :star: whenever this repository is used to help produce published results or incorporated into other software.
```bibtex
@inproceedings{phung2026raster2seq,
   title={Raster2Seq: Polygon Sequence Generation for Floorplan Reconstruction},
   author={Phung, Hao and Averbuch-Elor, Hadar},
   booktitle={Special Interest Group on Computer Graphics and Interactive Techniques Conference Conference Papers},
   year= {2026},
}
```
|