Downloads · 30 days
19
0% of all-time downloads
dmillar/wsj-hedcut-v1
wsj-hedcut-v1 is a text-to-image model from dmillar. 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.
Readers of the Wall Street Journal (WSJ) are familiar with the distinctive style used to create portaits of their writers and subjects. This is a fine-tuned stable diffusion model that can be used to create hedcut-sty…
Downloads · 30 days
19
0% of all-time downloads
All-time downloads
4.7K
Public
Repo size
7.4 GB
Likes
16
Public
Click a slice to open those files.
.bin5.2 GB · 71%
From the Hugging Face model README
Readers of the Wall Street Journal (WSJ) are familiar with the distinctive style used to create portaits of their writers and subjects. This is a fine-tuned stable diffusion model that can be used to create hedcut-styled images using the prompt wsj hedcut of <subject>. This model can also be used in a DreamBooth environment to train a face or other subject for custom and unique hedcuts.
#!pip install diffusers transformers scipy torch
from diffusers import StableDiffusionPipeline
import torch
model_id = "dmillar/wsj-hedcut-v1"
pipe = StableDiffusionPipeline.from_pretrained(model_id, torch_dtype=torch.float16)
pipe = pipe.to("cuda")
prompt = "wsj hedcut of a woman"
image = pipe(prompt).images[0]
image.save("./woman_hedcut.png")
Prompt: "wsj hedcut of audrey hepburn, portrait, detailed, sharp, black and white, pleasing, white background", Steps: 20, Sampler: "Euler a", CFG scale: 7, Seed: 231828633
Prompt: "wsj hedcut of the Kylian Mbappe, male, portrait, detailed, sharp, black and white, pleasing, white background", Steps: 20, Sampler: "Euler a", CFG scale: 7, Seed: 1863052262
Prompt: "wsj hedcut of tom hanks, portrait, detailed, sharp, black and white, pleasing, white background", Steps: 20, Sampler: Euler a, CG scale: 7, Seed: 224907260
