Downloads · 30 days
0
imcodefool/van-gogh-style-lora
van-gogh-style-lora is a machine learning model from imcodefool. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
基于Stable Diffusion v1-5训练的梵高风格LoRA,可生成具有梵高笔触、色彩和构图风格的图像。
Downloads · 30 days
0
Access
Public
Updated Nov 25, 2025
Repo size
3.2 MB
Likes
0
Public
Click a slice to open those files.
.safetensors3.2 MB · 100%
From the Hugging Face model README
基于Stable Diffusion v1-5训练的梵高风格LoRA,可生成具有梵高笔触、色彩和构图风格的图像。
in <van-gogh> stylefrom diffusers import StableDiffusionPipeline
import torch
pipe = StableDiffusionPipeline.from_pretrained(
"runwayml/stable-diffusion-v1-5",
torch_dtype=torch.float32
).to("cuda")
# 加载LoRA(完整仓库ID)
pipe.load_lora_weights("imcodefool/van-gogh-style-lora", weight_name="pytorch_lora_weights.safetensors")
# 生成示例
prompt = "a wheat field with cypress trees, in <van-gogh> style"
image = pipe(
prompt,
num_inference_steps=50,
guidance_scale=7.5
).images[0]
image.show()
in <van-gogh> style