Skip to content

Commit

Permalink
update README and version
Browse files Browse the repository at this point in the history
  • Loading branch information
lldacing committed Jan 6, 2025
1 parent 5eb1f25 commit 2615b5a
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 1 deletion.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@

Support the use of new and old versions of BiRefNet models

## Important
Due to the standardization of naming in [PR-14](https://github.com/lldacing/ComfyUI_BiRefNet_ll/pull/14), the old workflow needs to add nodes again, which has no impact on the API JSON format workflow

## Preview
![save api extended](doc/base.png)
![save api extended](doc/video.gif)
Expand Down Expand Up @@ -67,6 +70,13 @@ Some models on GitHub:
- When param use_weight is True, need download weight model [swin_large_patch4_window12_384_22kto1k.pth](https://huggingface.co/ViperYX/BiRefNet/resolve/main/swin_large_patch4_window12_384_22kto1k.pth)
model General-Lite must use weight model [swin_tiny_patch4_window7_224_22kto1k_finetune.pth](https://drive.google.com/drive/folders/1cmce_emsS8A5ha5XT2c_CZiJzlLM81ms)
- RembgByBiRefNet
- Output transparent foreground image and mask
- RembgByBiRefNetAdvanced
- Output foreground image and mask, provide some fine-tuning parameters
- GetMaskByBiRefNet
- Only output mask
- BlurFusionForegroundEstimation
- Use the [fast-foreground-estimation method](https://github.com/Photoroom/fast-foreground-estimation) to estimate the foreground image

## Thanks

Expand Down
10 changes: 10 additions & 0 deletions README_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@

支持使用新老版本BiRefNet模型进行抠图

## 重要
[PR-14](https://github.com/lldacing/ComfyUI_BiRefNet_ll/pull/14)对命名进行了规范化,旧工作流需要重新添加节点,对api json格式工作流无影响

## 预览
![save api extended](doc/base.png)
![save api extended](doc/video.gif)
Expand Down Expand Up @@ -68,6 +71,13 @@ GitHub上的模型:
- 支持 [BiRefNet Releases](https://github.com/ZhengPeng7/BiRefNet/releases) 中的新模型 和 老的模型[BiRefNet-DIS_ep580.pth](https://huggingface.co/ViperYX/BiRefNet/resolve/main/BiRefNet-DIS_ep580.pth)[BiRefNet-ep480.pth](https://huggingface.co/ViperYX/BiRefNet/resolve/main/BiRefNet-ep480.pth)
- 参数use_weight设为True时, 需要下载权重模型,General-Lite模型使用[swin_tiny_patch4_window7_224_22kto1k_finetune.pth](https://drive.google.com/drive/folders/1cmce_emsS8A5ha5XT2c_CZiJzlLM81ms),其它模型使用 [swin_large_patch4_window12_384_22kto1k.pth](https://huggingface.co/ViperYX/BiRefNet/resolve/main/swin_large_patch4_window12_384_22kto1k.pth)
- RembgByBiRefNet
- 输出透明前景图和遮罩
- RembgByBiRefNetAdvanced
- 输出前景图和遮罩,提供一些微调参数
- GetMaskByBiRefNet
- 仅输出遮罩
- BlurFusionForegroundEstimation
- 使用[fast-foreground-estimation](https://github.com/Photoroom/fast-foreground-estimation)方法预估前景图

## 感谢

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[project]
name = "comfyui_birefnet_ll"
description = "Sync with version of BiRefNet. NODES:AutoDownloadBiRefNetModel, LoadRembgByBiRefNetModel, RembgByBiRefNet, RembgByBiRefNetAdvanced, GetMaskByBiRefNet, BlurFusionForegroundEstimation."
version = "1.0.8"
version = "1.0.9"
license = {file = "LICENSE"}
dependencies = ["numpy", "opencv-python", "timm"]

Expand Down

0 comments on commit 2615b5a

Please sign in to comment.