Downloads · 30 days
18
16% of all-time downloads
mingyu-oo/stable-diffusion-v1-5-lora-hyundai-car-design
stable-diffusion-v1-5-lora-hyundai-car-design is a text-to-image model from mingyu-oo. Use it when you need an image from a text prompt. It is set up for diffusers. The card lists the license as creativeml-openrail-m.
이 모델은 sd-legacy/stable-diffusion-v1-5를 기반으로, 현대자동차 이미지와 해당 디자인을 설명한 텍스트로 LoRA 방식의 파인튜닝을 진행한 모델입니다.
Downloads · 30 days
18
16% of all-time downloads
All-time downloads
113
Public
Repo size
17.3 GB
Likes
1
Public
Click a slice to open those files.
.safetensors17.3 GB · 100%
From the Hugging Face model README
이 모델은 sd-legacy/stable-diffusion-v1-5를 기반으로,
현대자동차 이미지와 해당 디자인을 설명한 텍스트로 LoRA 방식의 파인튜닝을 진행한 모델입니다.
총 58개의 이미지-텍스트 쌍을 사용해 학습을 진행했으며, train_text_to_image_lora.py 스크립트를 활용하여 아래와 같은 설정으로 학습했습니다.
from diffusers import StableDiffusionPipeline
pipe = StableDiffusionPipeline.from_pretrained(
"sd-legacy/stable-diffusion-v1-5",
torch_dtype=torch.float16
).to("cuda")
pipe.unet.load_attn_procs("your_username_or_org/lora-hyundai-sd15/checkpoint-XXX")
prompt = "Front of SUV"
image = pipe(prompt).images[0]
image.save("output.png")