Skip to content

A fine-tuned stable diffusion model that can be used to create Wall Street Journal hedcut-styled images

Notifications You must be signed in to change notification settings

dmillar/wsj-hedcut-v1

Repository files navigation

license tags inference
creativeml-openrail-m
stable-diffusion
stable-diffusion-diffusers
text-to-image
true

Wall Street Journal Hedcut Style for Stable Diffusion

Readers of the Wall Street Journal (WSJ) are familiar with the distinctive style used to create portaits of their writers and subjects—called hedcuts. 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 further train a face or other subject for personalized, realistic hedcuts.

For the full checkpoint file, see the Hugging Face repository: (https://huggingface.co/dmillar/wsj-hedcut-v1)

#!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")

Sample Images

Hepburn

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

Mbappe

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

Hanks

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

Dog

Cat

About

A fine-tuned stable diffusion model that can be used to create Wall Street Journal hedcut-styled images

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published