diffusers icon indicating copy to clipboard operation
diffusers copied to clipboard

diffusers soft inpainting support

Open SlZeroth opened this issue 9 months ago • 4 comments

SDXL inpaint quality is really poor

but it can solve with like A1111 webui support soft inpainting feature

is there any support plan to soft inpaint?

SlZeroth avatar May 05 '24 18:05 SlZeroth

Could you please describe how you used SD-XL for inpainting? Have you tried SD-XL's fine-tuned model for inpainting? One can try it quickly from this space.

tolgacangoz avatar May 05 '24 19:05 tolgacangoz

@standardAI I tried inpaint before. but this inpainting quality is really bad. webui officially support soft inpainting for solve the poor inpainting quality. but diffusers not support soft inpainting

SlZeroth avatar May 06 '24 02:05 SlZeroth

If you share a really bad output, we can discuss it in a more measurable and healthy way IMO.

tolgacangoz avatar May 06 '24 05:05 tolgacangoz

I would appreciate it if you could do both: show an example of poor inpainting in diffusers, and then show the same example improved with automatic1111 soft inpainting.

I'm aware of the "soft inpainting", but I haven't had the time to test it to see if it's an improvement or not. IMO the results should be similar to what we can do with differential diffusion and the key point is that it allows to use mask with a soft brush (or gradients).

You can take a look at some experiments I did with it:

https://github.com/huggingface/diffusers/issues/6529#issuecomment-2004488450 https://github.com/huggingface/diffusers/issues/7038#issuecomment-1960492442

asomoza avatar May 06 '24 16:05 asomoza

@asomoza thank you for nice answer.

SlZeroth avatar May 10 '24 18:05 SlZeroth