[GH-ISSUE #43] onnxruntime error #33

Open
opened 2026-10-30 21:08:36 +00:00 by bsakaguchi · 3 comments
Owner

Originally created by @stanleyshek on GitHub (Jun 17, 2024).
Original GitHub issue: https://github.com/AUTOMATIC1111/stable-diffusion-webui-rembg/issues/43

keep having this error message

Screenshot 2024-06-17 191423

have tried the commands in the order posts but error still insists.
version: [v1.9.4]•  python: 3.10.11  •  torch: 2.1.2+cu121  •  xformers: 0.0.23.post1  •  gradio: 3.41.2  • 

Originally created by @stanleyshek on GitHub (Jun 17, 2024). Original GitHub issue: https://github.com/AUTOMATIC1111/stable-diffusion-webui-rembg/issues/43 keep having this error message ![Screenshot 2024-06-17 191423](https://github.com/AUTOMATIC1111/stable-diffusion-webui-rembg/assets/4930397/5e466e10-6a8d-45b6-bfe0-b25a0ef566d0) have tried the commands in the order posts but error still insists. version: [v1.9.4]•  python: 3.10.11  •  torch: 2.1.2+cu121  •  xformers: 0.0.23.post1  •  gradio: 3.41.2  • 
Author
Owner

@VeteranXT commented on GitHub (Aug 9, 2024):

It gives throws eros but it still removes backgrounds.

<!-- gh-comment-id:2278890577 --> @VeteranXT commented on GitHub (Aug 9, 2024): It gives throws eros but it still removes backgrounds.
Author
Owner

@stanleyshek commented on GitHub (Aug 10, 2024):

It gives throws eros but it still removes backgrounds.

yes, but it somehow remove some color of the main body too.

<!-- gh-comment-id:2281274084 --> @stanleyshek commented on GitHub (Aug 10, 2024): > It gives throws eros but it still removes backgrounds. yes, but it somehow remove some color of the main body too.
Author
Owner

@javaer233 commented on GitHub (Mar 2, 2026):

got the same error, turns out to be the rembg's failing to accelerate using TensorRT so Falling back to CPU mode, reinstalled onnx Runtime and its solved:
python.exe -m pip uninstall onnxruntime-gpu onnxruntime -y python.exe -m pip install onnxruntime --user

<!-- gh-comment-id:3984625556 --> @javaer233 commented on GitHub (Mar 2, 2026): got the same error, turns out to be the rembg's failing to accelerate using TensorRT so Falling back to CPU mode, reinstalled onnx Runtime and its solved: `python.exe -m pip uninstall onnxruntime-gpu onnxruntime -y python.exe -m pip install onnxruntime --user `
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
AUTOMATIC1111/stable-diffusion-webui-rembg#33
No description provided.