The dataset viewer is taking too long to fetch the data. Try to refresh this page.
Server-side error
Error code: ClientConnectionError
Images of Parti Prompts for "sd-v2.1"
Code that was used to get the results:
from diffusers import DiffusionPipeline, DDIMScheduler
import torch
import PIL
pipe = DiffusionPipeline.from_pretrained("stabilityai/stable-diffusion-2-1", torch_dtype=torch.float16, safety_checker=None)
pipe.to("cuda")
pipe.scheduler = DDIMScheduler.from_config(pipe.scheduler.config)
prompt = "" # a parti prompt
generator = torch.Generator("cuda").manual_seed(0)
image = pipe(prompt, generator=generator, num_inference_steps=100, guidance_scale=7.5).images[0]
image = image.resize((256, 256), resample=PIL.Image.Resampling.LANCZOS)
- Downloads last month
- 44