Upload README.md with huggingface_hub
Browse files7 unmodified lines89101111121314151617181920212223242526272829301718192021223132333435363738394010 unmodified lines51525339545556572 unmodified lines60616248636465661 unmodified line686970567172735974756176777879808182837 unmodified lines - raster2seq---
# Raster2Seq Checkpoints<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 PyTorch checkpoints for polygon sequence generation from rasterized floorplans. 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/` || `s3d-density` | Structured3D-DensityMap | 99.1 | `s3d-density/` || 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
10 unmodified lines
local_repo = snapshot_download( repo_id="haopt/Raster2Seq", allow_patterns="cubicasa5k/*", allow_patterns="Raster2Graph-512/*",)```
2 unmodified linesWith the Raster2Seq codebase, users can load by alias:
```bashpython eval.py --checkpoint hf:cubicasa5k ...python eval.py --checkpoint hf:raster2graph-512 ...```
or download directly:1 unmodified line```pythonfrom raster2seq_hub import download_checkpoint
ckpt_path = download_checkpoint("cubicasa5k")ckpt_path = download_checkpoint("raster2graph-512")```
The helper downloads the matching subfolder and returns the cached `checkpoint.pth` path.**Please CITE** our paper and give us a :star: whenever this repository is used to help produce published results or incorporated into other software.
Hugging Face repository IDs use the form `namespace/repo`. Dataset-specific choices are represented by subfolders, not by repo IDs such as `Raster2Seq/cubicasa5k`.```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},}```README.md+34-12