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