The invention discloses a
diffusion model-based building plane
layout automatic generation method, which comprises the following steps of: 1, performing semantic segmentation and data preprocessing, and 2, acquiring a gate-free semantic graph; 3, drawing a bubble diagram and a
contour diagram; 4, performing single-channel
color mapping; 5, data arrangement and model training; step 6,
feature fusion and loss optimization; and 7, performing multi-stage generation and refinement. The PLG-Diff
network model comprises a stage of generating a preliminary house
type graph and a stage of refining
layout and increasing
doors. The two-stage framework optimization
design process not only efficiently generates the preliminary
layout, but also can finely adjust the
space planning. And the model loading
data set part adopts a single-channel
color mapping method. And the design accuracy and adaptability are improved. Condition input is carried out by adopting a mode of adding a bubble diagram and a
contour diagram. A user can input the approximate position, the area and the adjacent relation of each type of room by drawing or selecting a bubble graph, and a contour graph is used for controlling the outer contour of a building, so that the model can generate a personalized layout graph which better meets the requirements.