Uminosachi / sd-webui-inpaint-anything

Inpaint Anything extension performs stable diffusion inpainting on a browser UI using masks from Segment Anything.
Apache License 2.0
1.11k stars 101 forks source link

Without change, just pure black. #93

Open anongl opened 1 year ago

anongl commented 1 year ago

I and some others are encountering the same issue. It does not change the mask layer like Prompt. It always appears as black

Screenshot 2023-09-12 173648

Uminosachi commented 1 year ago

The some package may be outdated. I recommend deleting the venv folder located within the stable-diffusion-webui directory, and then rerunning webui.bat or webui.sh. This will reinstall the package from scratch.

Uminosachi commented 1 year ago

It might be unrelated, but I've added a fix for running with float32 when using ADM's ROCm.

Uminosachi commented 1 year ago

I've made an additional fix to the code. Please update repository from the 'Extensions' tab in the web UI by clicking 'Check for updates', then 'Apply and restart UI'.

anongl commented 1 year ago

Thank you! It works well on online versions. However, with the PC version, I have tried all the methods above. Trying different Stable Diffusion interfaces still yields the same result. I tested newer Python versions, and they processed images much faster, but it's still black. Update: Tab Inpainting webui is functioning normally.

VladislavVolyanskiy commented 11 months ago

The same problem. I tried to remedy the above ways, but the result is the same. Accidentally worked several times, but then broke again. I’ll write if I understand what the problem is

creyes-dev commented 10 months ago

I'm facing the same problem, ControlNet inpainting works well