Nodes Browser
ComfyDeploy: How ComfyUI-BiRefNet works in ComfyUI?
What is ComfyUI-BiRefNet?
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.
How to install it in ComfyDeploy?
Head over to the machine page
- Click on the "Create a new machine" button
- Select the
Edit
build steps - Add a new step -> Custom Node
- Search for
ComfyUI-BiRefNet
and select it - Close the build step dialig and then click on the "Save" button to rebuild the machine
ComfyUI-BiRefNet
Introduction
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.
Installation
- Go to comfyUI custom_nodes folder,
ComfyUI/custom_nodes/
git clone https://github.com/viperyl/ComfyUI-BiRefNet.git
pip install requirements.txt
Download Model Checkpoints
Before using BiRefNet, download the model checkpoints with Git LFS:
- Ensure
git lfs
is 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
Usage
The demo workflow placed in workflow/example_workflow.json
Sample Result
Acknowledgments
Thanks to BiRefNet repo owner ZhengPeng7/BiRefNet: Bilateral Reference for High-Resolution Dichotomous Image Segmentation (github.com)