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.
- Go to comfyUI custom_nodes folder,
ComfyUI/custom_nodes/ git clone https://github.com/viperyl/ComfyUI-BiRefNet.gitpip install requirements.txt
Before using BiRefNet, download the model checkpoints with Git LFS:
- Ensure
git lfsis installed. If not, install it. - Download the checkpoints to the ComfyUI models directory by pulling the large model files using git lfs:
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)



