mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui-rembg.git
synced 2026-11-04 23:27:26 +00:00
[GH-ISSUE #36] Onnxruntime error #27
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
AUTOMATIC1111/stable-diffusion-webui-rembg#27
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @ChrisTello on GitHub (Mar 3, 2024).
Original GitHub issue: https://github.com/AUTOMATIC1111/stable-diffusion-webui-rembg/issues/36
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.

@Nanfeng0108 commented on GitHub (Mar 12, 2024):
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 commented on GitHub (Mar 12, 2024):
@seancheung commented on GitHub (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:
Don't forget to set venv or conda env based on your installation.
@stanleyshek commented on GitHub (Jun 17, 2024):
I've encountered similar problem too., anyway to fix it?