From 2615b5a486fc652f24013ad573e1c67f6cfc2219 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E9=9B=AA=E5=B3=B0?= Date: Mon, 6 Jan 2025 18:11:04 +0800 Subject: [PATCH] update README and version --- README.md | 10 ++++++++++ README_CN.md | 10 ++++++++++ pyproject.toml | 2 +- 3 files changed, 21 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 461c11d..dd90cb2 100644 --- a/README.md +++ b/README.md @@ -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) @@ -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 diff --git a/README_CN.md b/README_CN.md index dc78155..6fab574 100644 --- a/README_CN.md +++ b/README_CN.md @@ -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) @@ -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)方法预估前景图 ## 感谢 diff --git a/pyproject.toml b/pyproject.toml index ea4f987..f3bd6a1 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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"]