muneebable/imran-khan
Viewer • Updated • 17 • 7
How to use sd-dreambooth-library/imran-khan-804-person with Diffusers:
pip install -U diffusers transformers accelerate
import torch
from diffusers import DiffusionPipeline
# switch to "mps" for apple devices
pipe = DiffusionPipeline.from_pretrained("sd-dreambooth-library/imran-khan-804-person", dtype=torch.bfloat16, device_map="cuda")
prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k"
image = pipe(prompt).images[0]This your the Stable Diffusion model fine-tuned the imran-khan-804 person concept taught to Stable Diffusion with Dreambooth.
It can be used by modifying the instance_prompt: imran-khan-804 person
You can also train your own concepts and upload them to the library by using this notebook.
And you can run your new concept via diffusers: Colab Notebook for Inference, Spaces with the Public Concepts loaded
Here are the images used for training this concept:
Base model
stabilityai/stable-diffusion-2