# 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 1. Go to comfyUI custom_nodes folder, `ComfyUI/custom_nodes/` 2. `git clone https://github.com/viperyl/ComfyUI-BiRefNet.git ` 3. `pip install requirements.txt` ## Checkpoints Download Make sure you have intall `git lfs` 1. go to comfyUI models folder, `ComfyUI/models/` 2. `git clone https://huggingface.co/ViperYX/BiRefNet` ## Usage ![plot](./assets/Screenshot-2024-03-21-at-19.26.21.png) ## Sample Result ![](./assets/00.jpg) ![](./assets/01.jpg) ![](./assets/02.jpg) # Acknowledgments Thanks to BiRefNet repo owner [ZhengPeng7/BiRefNet: Bilateral Reference for High-Resolution Dichotomous Image Segmentation (github.com)](https://github.com/zhengpeng7/birefnet)