Views
No views yet
runwayml/stable-diffusion-v1-5msl monetpytorch_lora_weights.safetensors1024x102481165e-050.0001AdamW100kohya_ss-based LoRA workflow.metadata/monet_last_20231129-043745.json for the preserved config snapshot.1import torch
2from diffusers import StableDiffusionPipeline
3
4pipe = StableDiffusionPipeline.from_pretrained(
5 "runwayml/stable-diffusion-v1-5",
6 torch_dtype=torch.float16,
7).to("cuda")
8
9pipe.load_lora_weights(
10 "J-YOON/lora-monet-sd1.5",
11 weight_name="pytorch_lora_weights.safetensors",
12)
13
14prompt = "msl monet, a rainy bridge at sunset, diary illustration, soft brush strokes"
15image = pipe(prompt, num_inference_steps=30, guidance_scale=7.0).images[0]
16image.save("monet_example.png")| Generated: Dog | Generated: Diary img2img |
![]() | ![]() |
| Reference: Dog | Reference: Rainy walk |
![]() | ![]() |