OpenViSTAI · Agents · Blockchain · Crypto
Menu
AI Models

HouseDiffusion

HouseDiffusion is a Python research implementation of a diffusion model for generating vector floorplans. Its repository includes scripts for training with prepared layout datasets and sampling from a trained checkpoint.

Independent OpenViST project profile, based on linked sources.

HouseDiffusion — OpenViST project profile in AI Models.
OpenViST project illustration. See the linked sources for product details.
Understand the project

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.
Before you choose

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.

Source-based practical guide

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

  1. Clone the repository and change into its directory.

  2. Install dependencies with the command below and install the package with the command below.

    Documented command
    pip install -r requirements.txt
    Documented command
    pip install -e .
  3. Obtain and preprocess layout data using the linked dataset and preprocessing resources.

  4. Place the processed files in a datasets directory in the repository, following the documented datasets/rplan structure.

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.
Source-based practical guide

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

  1. Change into the repository's scripts directory.

  2. Run the command below, adjusting the checkpoint path to the checkpoint being used.

    Documented command
    python image_sample.py --dataset rplan --batch_size 32 --set_name eval --target_set 8 --model_path ckpts/exp/model250000.pt --num_samples 64
  3. Consult the save_samples function in scripts/image_sample.py for 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.
Evidence and transparency

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