Skip to content

Unmasked areas are degraded during inpainting. #3880

Description

@oniatsu

Describe the bug

Unmasked areas are degraded during inpainting.

init_image
i

Easy to see the difference under the bench. (This is a GIF animation)
output

Is this a bug?
Or how can I generate an image while keeping the original image except for the mask?

Reproduction

I tried inpaint according to the following documentation
Text-guided image-inpainting

The same results were obtained for both the method by code and the method by HuggingFace Space.

Logs

No response

System Info

HuggingFace Space

or

Google Colab (!pip install --upgrade diffusers[torch] transformers)

- `diffusers` version: 0.17.1
- Platform: Linux-5.15.107+-x86_64-with-glibc2.31
- Python version: 3.10.12
- PyTorch version (GPU?): 2.0.1+cu118 (True)
- Huggingface_hub version: 0.15.1
- Transformers version: 4.30.2
- Accelerate version: 0.20.3
- xFormers version: not installed
- Using GPU in script?: <fill in>
- Using distributed or parallel set-up in script?: <fill in>

Who can help?

@patrickvonplaten @sayakpaul @williamberman

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingstaleIssues that haven't received updates

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions