How to use from the
Use from the
Diffusers library
pip install -U diffusers transformers accelerate
import torch
from diffusers import DiffusionPipeline

# switch to "mps" for apple devices
pipe = DiffusionPipeline.from_pretrained("Youssefx64/floormind-sd-floorplans", dtype=torch.bfloat16, device_map="cuda")

prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k"
image = pipe(prompt).images[0]

FloorMind SD v2 โ€” Architectural Floor Plan Generator

Fine-tuned Stable Diffusion v1-5 on 5,000 real floor plans from the CubiCasa5K dataset.

Model Description

  • Base model: runwayml/stable-diffusion-v1-5
  • Task: Text-to-image (floor plan generation)
  • Best val loss: 0.0522
  • Epochs: 10
  • Augmentation: rotation ยฑ5ยฐ only (no color jitter)
  • Resolution: 512ร—512

Usage

from diffusers import StableDiffusionPipeline
import torch

pipe = StableDiffusionPipeline.from_pretrained(
    "Youssefx64/floormind-sd-floorplans",
    torch_dtype=torch.float16,
    safety_checker=None,
).to("cuda")

image = pipe(
    "floor plan 2 bedrooms living room kitchen bathroom",
    num_inference_steps=30,
    guidance_scale=7.5,
).images[0]

image.save("floor_plan.png")

Training Data

  • Dataset: CubiCasa5K (5,000 architectural floor plans)
  • Split: 80% train / 10% val / 10% test
  • Languages: English & Arabic prompts

Part of CadArena

This model powers CadArena โ€” an AI-powered architectural floor plan generator.

Downloads last month
54
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support