Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Onnxruntime error #36

Open
ChrisTello opened this issue Mar 3, 2024 · 4 comments
Open

Onnxruntime error #36

ChrisTello opened this issue Mar 3, 2024 · 4 comments

Comments

@ChrisTello
Copy link

Im getting this error everytime i start A1111 but i also dont notice anything technically broken when using the AI. i havent done anything to change any links in the PATH settings. All i could think of is a recent issue with faceswaplabs which i believe also uses onnxruntime but that plugin is working.
Screenshot 2024-03-02 224244

@Nanfeng0108
Copy link

ConnectTimeout: HTTPSConnectionPool(host='github.com', port=443): Max retries exceeded with url: /danielgatis/rembg/releases/download/v0.0.0/u2net_human_seg.onnx (Caused by ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x00000227127A43A0>, 'Connection to github.com timed out. (connect timeout=5)'))

@Nanfeng0108
Copy link

image

@seancheung
Copy link

seancheung commented Apr 17, 2024

It's because this plugin installs the CPU version of rembg. You need to replace it with the GPU version.

Try this:

pip uninstall rembg
pip install rembg[gpu] onnxruntime-gpu

Don't forget to set venv or conda env based on your installation.

@stanleyshek
Copy link

I've encountered similar problem too., anyway to fix it?

Screenshot 2024-06-18 004713

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants