Skip to content

with XL ,When the image is enlarged for viewing,The drawn image will appear as red dots in most cases #7841

Closed
@zhaoyun0071

Description

@zhaoyun0071

Describe the bug

with XL ,When the image is enlarged for viewing,The drawn image will appear as red dots in most cases

QQ截图20240502211452

Reproduction


from diffusers import StableDiffusionXLPipeline

base_model_path = r"sd_xl_base_1.0.safetensors"
import torch

pipe = StableDiffusionXLPipeline.from_single_file(base_model_path, torch_dtype=torch.float16,
                                                  use_safetensors=True, load_safety_checker=False).to('cuda')

image = pipe(prompt="a girl, realistic Documentary photography", guidance_scale=7, height=1280, width=768,
     num_inference_steps=30,negative_prompt="").images[0]

image.save('test.png')

Logs

No response

System Info

diffusers 0.27.0

Who can help?

@yiyixuxu @sayakpaul @DN6

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions