Text-to-Image
Diffusers
StableDiffusionPipeline
stable-diffusion
stable-diffusion-diffusers
dreambooth
import torch
from diffusers import DiffusionPipeline
# switch to "mps" for apple devices
pipe = DiffusionPipeline.from_pretrained("anic87/pcam-tumor-text", dtype=torch.bfloat16, device_map="cuda")
prompt = "a photo of sks tumor-pathology-tissue"
image = pipe(prompt).images[0]DreamBooth - anic87/pcam-tumor-text
This is a dreambooth model derived from runwayml/stable-diffusion-v1-5. The weights were trained on a photo of sks tumor-pathology-tissue using DreamBooth. You can find some example images in the following.
DreamBooth for the text encoder was enabled: True.
- Downloads last month
- 2



