Bilateral Reference Network achieves SOTA result in multi Salient Object Segmentation dataset, this repo pack BiRefNet as ComfyUI nodes, and make this SOTA model easier use for everyone.
ComfyUI/custom_nodes/
git clone https://github.com/viperyl/ComfyUI-BiRefNet.git
pip install requirements.txt
Before using BiRefNet, download the model checkpoints with Git LFS:
git lfs
is installed. If not, install it.cd ./models/
git clone https://huggingface.co/ViperYX/BiRefNet
cd BiRefNet
git lfs install
git lfs pull
The demo workflow placed in workflow/example_workflow.json
Thanks to BiRefNet repo owner ZhengPeng7/BiRefNet: Bilateral Reference for High-Resolution Dichotomous Image Segmentation (github.com)