Practical overview
When it fits
Use HouseDiffusion when you want to work directly with research code for training or sampling vector floorplans and can prepare datasets and run local Python scripts.
Who it is for
- Researchers exploring diffusion-based vector floorplan generation.
- Developers prototyping local floorplan-generation workflows with Python.
Documented uses
- Train a floorplan diffusion model using prepared RPLAN layout data.
- Generate floorplan samples from a trained checkpoint.
- Set up a local prototype using the repository’s training and sampling scripts.
Requirements & limits
The repository is public and identified as open source. Its README documents local installation and script-based use.
- Training requires processed layout data arranged in the repository’s expected datasets directory.
- Sampling requires a model checkpoint; the README links a temporary model download.
- The README identifies MagicPlan, supplied with the PuzzleFusion project, as an alternative layout dataset and reader.
- The maintainers warn that the implementation has not been cleaned and some features may not work correctly.
Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.
Install HouseDiffusion and prepare layout data
Set up the repository and place processed layout files in its expected datasets directory.
Before you start
- A local Python environment with pip.
- The HouseDiffusion repository.
- A layout dataset, such as RPLAN, and processed files; the README points to House-GAN++ preprocessing resources.
Steps
Clone the repository and change into its directory.
Install dependencies with the command below and install the package with the command below.
pip install -r requirements.txtpip install -e .Obtain and preprocess layout data using the linked dataset and preprocessing resources.
Place the processed files in a
datasetsdirectory in the repository, following the documenteddatasets/rplanstructure.
Expected outcome
The repository is installed and prepared layout files are placed in the directory structure expected by the documented training workflow.
Guide limitations
- The README says the implementation has not been cleaned and some features may not work correctly.
- The README refers readers to guided-diffusion for installation instructions; it does not specify a Python version or broader environment matrix.
Sample floorplans from a checkpoint
Use the documented sampling script to request floorplan samples from a model checkpoint.
Before you start
- The HouseDiffusion repository and its installed requirements.
- A prepared dataset in the expected directory structure.
- A model checkpoint, such as the temporary model linked by the README.
Steps
Change into the repository's
scriptsdirectory.Run the command below, adjusting the checkpoint path to the checkpoint being used.
python image_sample.py --dataset rplan --batch_size 32 --set_name eval --target_set 8 --model_path ckpts/exp/model250000.pt --num_samples 64Consult the
save_samplesfunction inscripts/image_sample.pyfor the documented visualization options.
Expected outcome
The sampling script is configured to generate 64 floorplan samples using the specified dataset and checkpoint.
Guide limitations
- The README cautions that some features may not work correctly.
- The command documents a sampling workflow but does not establish successful execution or guarantee output quality.
Sources & review
Source record details
- Source availability
- Active
- Sources checked
- 28 November 2026
- Original website title
- aminshabani/house_diffusion · Official homepage title · retained in its source language

