From e5854558d589945c562203e5844c2207ae14ddfb Mon Sep 17 00:00:00 2001 From: chflame163 Date: Wed, 5 Feb 2025 12:00:39 +0800 Subject: [PATCH] BenUltra node support BEN2_Base --- README.md | 7 +++---- README_CN.MD | 4 ++-- pyproject.toml | 2 +- 3 files changed, 6 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index daffe87..2a9b70c 100644 --- a/README.md +++ b/README.md @@ -733,15 +733,14 @@ Node Options: ### BenUltra -It is the implementation of [PramaLLC/BEN](https://huggingface.co/PramaLLC/BEN) project in ComfyUI. Thank you to the original author. - -Download the ```BEN_Base.pth``` and ```config.json``` from [huggingface](https://huggingface.co/PramaLLC/BEN/tree/main) or [BaiduNetdisk](https://pan.baidu.com/s/17mdBxfBl_R97mtNHuiHsxQ?pwd=2jn3) and copy to ```ComfyUI/models/BEN``` folder. +It is the implementation of [PramaLLC/BEN](https://huggingface.co/PramaLLC/BEN) project in ComfyUI. Thank you to the original author. +Download all files from [huggingface](https://huggingface.co/chflame163/ComfyUI_LayerStyle/tree/main/ComfyUI/models/BEN) or [BaiduNetdisk](https://pan.baidu.com/s/17mdBxfBl_R97mtNHuiHsxQ?pwd=2jn3) and copy to ```ComfyUI/models/BEN``` folder. ![image](image/ben_ultra_example.jpg) Node Options: ![image](image/ben_ultra_node.jpg) -* ben_model: Ben model input. +* ben_model: Ben model input. There are two models to choose: BEN_Base and BEN2_base. * image: Image input. * detail_method: Edge processing methods. provides VITMatte, VITMatte(local), PyMatting, GuidedFilter. If the model has been downloaded after the first use of VITMatte, you can use VITMatte (local) afterwards. * detail_erode: Mask the erosion range inward from the edge. the larger the value, the larger the range of inward repair. diff --git a/README_CN.MD b/README_CN.MD index cec87b7..856b316 100644 --- a/README_CN.MD +++ b/README_CN.MD @@ -673,13 +673,13 @@ all_layers: 包含全部图层的批量图片。 ### BenUltra 是[PramaLLC/BEN](https://huggingface.co/PramaLLC/BEN) 项目在ComfyUI中的实现。感谢原作者。 -从 [huggingface](https://huggingface.co/PramaLLC/BEN/tree/main) 或 [百度网盘](https://pan.baidu.com/s/17mdBxfBl_R97mtNHuiHsxQ?pwd=2jn3)下载```BEN_Base.pth``` 和 ```config.json``` 两个文件并复制到 ```ComfyUI/models/BEN```文件夹。 +从 [huggingface](https://huggingface.co/chflame163/ComfyUI_LayerStyle/tree/main/ComfyUI/models/BEN) 或 [百度网盘](https://pan.baidu.com/s/17mdBxfBl_R97mtNHuiHsxQ?pwd=2jn3)下载全部文件并复制到 ```ComfyUI/models/BEN```文件夹。 ![image](image/ben_ultra_example.jpg) 节点选项说明: ![image](image/ben_ultra_node.jpg) -* ben_model: Ben模型输入。 +* ben_model: Ben模型输入,有BEN_Base和BEN2_base两种模型可选。 * image: 图片输入。 * detail_method: 边缘处理方法。提供了VITMatte, VITMatte(local), PyMatting, GuidedFilter。如果首次使用VITMatte后模型已经下载,之后可以使用VITMatte(local)。 * detail_erode: 遮罩边缘向内侵蚀范围。数值越大,向内修复的范围越大。 diff --git a/pyproject.toml b/pyproject.toml index 9836167..fa80a50 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,7 +1,7 @@ [project] name = "comfyui_layerstyle_advance" description = "The nodes detached from ComfyUI Layer Style are mainly those with complex requirements for dependency packages." -version = "2.0.11" +version = "2.0.12" license = "MIT" dependencies = ["numpy", "matplotlib", "scikit_image", "scikit_learn", "opencv-contrib-python", "pymatting", "timm", "blend_modes", "transformers", "diffusers", "loguru", "colour-science", "huggingface_hub", "segment_anything", "addict", "omegaconf", "yapf", "wget", "iopath", "mediapipe", "typer_config", "fastapi", "rich", "google-generativeai", "ultralytics", "transparent-background", "accelerate", "onnxruntime", "bitsandbytes", "peft", "protobuf", "hydra-core", "blind-watermark", "qrcode", "pyzbar", "psd-tools", "wandb", "zhipuai", "openai"]