ComfyUI-BiRefNet

ComfyUI-BiRefNet
★ 5

显著性分割BiRefNetComfyUI插件模型部署
将BiRefNet封装为ComfyUI节点,提供多目标显著性分割的SOTA模型易用接口,便于在工作流中快速集成与推理。
💡 在ComfyUI流程中快速部署并运行BiRefNet显著性分割模型。
🍴 1 Forks💻 Python🔄 2024-12-04
📦
网盘下载
复制链接后前往夸克网盘下载
https://pan.quark.cn/s/b6135d9bd930
📦 requirements.txt
kornia
loguru
opencv-python
timm
prettytable
scipy
plot
📄 README

ComfyUI-BiRefNet-Fix-BiRefNet-utils

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/hieuck/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:
  • “`bash

    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)