AUTOMATIC1111 / stable-diffusion-webui-rembg

Removes backgrounds from pictures. Extension for webui.
MIT License
1.17k stars 173 forks source link

Doesn't work after update 1.8.0 #37

Open thejohnd0e opened 6 months ago

thejohnd0e commented 6 months ago

Screenshot - 2024-03-03 13 20 11

bobba84 commented 6 months ago

Same here - but my tab doesn't even show

bobba84 commented 4 months ago

Any news on an update??

Insider-Trading commented 4 months ago

bump

nsf commented 3 months ago

As a workaround you can install deps manually (assuming linux and bash):

source venv/bin/activate
pip install rembg==2.0.56 --no-deps
pip install onnxruntime pymatting pooch

The commands above worked for me on webui v1.9.3. Note that I had to use a different rembg version than the one mentioned in install.py. This is due to my very latest python version, might be different for you. In any case you just install deps manually. Pretty much what's inside the file: https://github.com/AUTOMATIC1111/stable-diffusion-webui-rembg/blob/master/install.py

And it appears in Extras tab after that (and works!): image

ThisIsNetsu commented 1 month ago

As a workaround you can install deps manually (assuming linux and bash):

source venv/bin/activate
pip install rembg==2.0.56 --no-deps
pip install onnxruntime pymatting pooch

I just wanted to say thank you, because this fixed the issue for me! (windows, V1.10)!

For those on windows: instead of using the command "source venv/bin/activate" open a terminal window, go to venv/bin/scripts and execute the "activate.bat" file to enable venv, then you can use the two other commands.

It gave me a few warnings in yellow, but the script still works perfectly now.