How to load inference
#1
by
narsi123
- opened
How to load inference pls put code
You can find the code in the repository I linked in the description (https://github.com/mariaaoprea/Diffusion-Models-for-floor-plan-drafting.git), there I explained all the steps and also developed an interface for interacting with the model:) For loading the model you usually do:
pipeline = AutoPipelineForText2Image.from_pretrained("runwayml/stable-diffusion-v1-5").to(device) #path to SD-v1.5
pipeline.load_lora_weights("maria26/Floor_Plan_LoRA") # path to LoRA Module
narsi123
changed discussion status to
closed