mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui-rembg.git
synced 2026-11-04 23:27:26 +00:00
[PR #47] Update rembg dependency and add BiRefNet models in the list of available RemBG models #55
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#55
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?
📋 Pull Request Information
Original PR: https://github.com/AUTOMATIC1111/stable-diffusion-webui-rembg/pull/47
Author: @dimitribarbot
Created: 8/27/2024
Status: 🔄 Open
Base:
master← Head:add-birefnet-models📝 Commits (1)
28f2469Update rembg dependency and add BiRefNet models in the list of available RemBG models📊 Changes
5 files changed (+50 additions, -7 deletions)
View changed files
📝
.gitignore(+1 -0)📝
README.md(+4 -0)📝
install.py(+14 -2)📝
scripts/api.py(+10 -2)📝
scripts/postprocessing_rembg.py(+21 -3)📄 Description
Hi,
The goal of this PR is to add BiRefNet models to the list of available remove background models. It follows discussion here and merged PR in rembg here.
The following modifications have been made:
rembgeven if a previous one was already installed.isnet-general-useentry from the list of classic models.providerswhen callingrembgfrom UI or API with onlyCUDAExecutionProviderandCPUExecutionProvideras by default all available providers may be used, for instanceTensorrtExecutionProviderorAzureExecutionProvider, even if no external dependency is installed with this extension, leading to an error message in the console. Internally,rembgwill removeCUDAExecutionProviderfrom its list of providers if it's not an available provider (cf. here).Please let me know if I need to make any changes.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.