Closed Nziner closed 3 months ago
Hi. Could you please give me the version of SD WebUI you're using? You can find it at the very bottom of the web page, for instance:
Here, it's version v1.10.1.
@dimitribarbot v1.10.0 (Latest release) https://github.com/AUTOMATIC1111/stable-diffusion-webui/releases
Thank you. And have you activated another Extra than BiRefNet?
Don't take into account my previous comment. I found that something was not working properly in the code. I've pushed a fix that you can get by going to your "Extensions" tab and clicking on "Check for updates" and then "Apply and restart UI".
Do you confirm the problem is solved after updating to the latest version?
Don't take into account my previous comment. I found that something was not working properly in the code. I've pushed a fix that you can get by going to your "Extensions" tab and clicking on "Check for updates" and then "Apply and restart UI".
Do you confirm the problem is solved after updating to the latest version?
Sadly no. I updated it. No errors in the console now. But the picture without background is not returned.
Could you please tell me the version displayed in the "Extensions" tab? It should display something such as:
Do you have this "e1d85e41" version? If not, you should retry the "Check for Updates" followed by "Apply and restart UI".
Also, can you upload here the image you're using as input? Is it doing this behavior for any image?
Any image has the same result. .png/.jpg
OK, that's strange, it's working fine for me. Let's try another thing. Could you please update your extension one more time? You should see version "d8701981" now.
Do you have this result now:
?
It's working now! Thank you!
Unfortunately I can't leave the extension in this state because it would break another feature, the fact that we can chain extra scripts (CodeFormer Face Restoration followed by BiRefNet Background Removal for instance). I propose to change the graphical interface into:
In your case, you should check the "Return original image" checkbox (visible after extension update). The results should be the same for you.
I could be wrong but I suspect another extension is interfering here.
Ok. I think the problem initially was that I was saving the images in jpg format instead of png, so there was an export error.
Hi. Error during processing. Return foreground and Return edge mask work correctly. But the .png itself is not output without background. Tried General and General-lite models.
*** Error completing request *** Arguments: ('task(761ncajrd3ghp1f)', 0.0, <PIL.Image.Image image mode=RGBA size=1200x1536 at 0x1A3AFEE8A30>, None, '', '', True, False, 0.0, 1, 0.0, 512, 512, True, 'None', 'None', 0, False, 1, False, 1, 0, False, 0.5, 0.2, False, 0.9, 0.15, 0.5, False, False, 384, 768, 4096, 409600, 'Maximize area', 0.1, False, ['Horizontal'], False, ['Deepbooru'], False, False, 4, False, 'None', False, False, 240, 10, 10, True, 'General', '1200x1536', False, False, 64, False, 'Restoration First', False, False, False, True) {} Traceback (most recent call last): File "D:\Work\AI\StableDiffusion\stable-diffusion-webui\modules\call_queue.py", line 74, in f res = list(func(*args, **kwargs)) File "D:\Work\AI\StableDiffusion\stable-diffusion-webui\modules\call_queue.py", line 53, in f res = func(*args, **kwargs) File "D:\Work\AI\StableDiffusion\stable-diffusion-webui\modules\call_queue.py", line 37, in f res = func(*args, **kwargs) File "D:\Work\AI\StableDiffusion\stable-diffusion-webui\modules\postprocessing.py", line 133, in run_postprocessing_webui return run_postprocessing(*args, **kwargs) File "D:\Work\AI\StableDiffusion\stable-diffusion-webui\modules\postprocessing.py", line 92, in run_postprocessing pp.image.info = existing_pnginfo AttributeError: 'NoneType' object has no attribute 'info'