-
-
Notifications
You must be signed in to change notification settings - Fork 427
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
[Issue]: Remove background failures due to onnxruntime #711
Comments
D:\xxx is the original location of the source code of the file which generated the error when anyhow, issue is with |
Sure. Process Image > Drop image into box > Set resize to "1" > Upscaler "None" > Remove background "u2net" -> Return mask and Alpha matting set to "unchecked" The process animation is shown on the right box, fails, and the error pops up in the log. |
Doing a fresh install fixed the problem. Maybe recent updates broke something. |
Nope. Worked for a moment and then giving errors again: imgur |
can you check: danielgatis/rembg#312 and AUTOMATIC1111/stable-diffusion-webui-rembg#3 it seems that |
I tried following the steps, but still getting errors. The strange thing is that this is working just fine on auto1111 with the extension bolted on. |
what's your onnxruntime version both here and original a1111 repo?
|
Scratch that. Fresh installation of 1111 also failing now. I'm unable to say if it was a change to my system or a PR that was merged into both projects. Any idea on how to move forward with troubleshooting? Might be useful to other users who experience this problem now or in the future. Maybe there's also something that can be enforced from the webui side? Library info: Name: onnxruntime |
two questions
|
AUTOMATIC1111/stable-diffusion-webui-rembg#14 |
Any chance that you could merge the above, @vladmandic? |
if i merge, then copy gets out-of-sync with original and if there are any future upgrades, they wouldn't be applicable. |
Makes sense. Will wait and watch. |
Brief update: manually "pip install onnxruntime==1.14.0" really does fix the problem. The whole issue is that ".1" version bump. |
done. hope it fixes it, if not post here and i'll reopen. |
Issue Description
As of the latest version, attempting to remove backgrounds with any of the u2net variants is giving me the error below, with or without an upsacling operation involved. I recently turned xformers on, no idea if it is related in any way.
Towards the bottom It also seems to be returning an error in the "D" drive, but well... I don't have a D drive.
Version Platform Description
2023-05-02 hash: eb03fce
The text was updated successfully, but these errors were encountered: