d6de72b14d7fd2c39ce797cf3e4b58d06197a43a
Install
- Manual
cd custom_nodes
git clone https://github.com/lldacing/ComfyUI_BiRefNet_ll.git
cd custom_nodes/ComfyUI_BiRefNet_ll
pip install -r requirements.txt
# restart ComfyUI
Models
The available models are:
- General: A pre-trained model for general use cases.
- General-Lite: A light pre-trained model for general use cases.
- Portrait: A pre-trained model for human portraits.
- DIS: A pre-trained model for dichotomous image segmentation (DIS).
- HRSOD: A pre-trained model for high-resolution salient object detection (HRSOD).
- COD: A pre-trained model for concealed object detection (COD).
- DIS-TR_TEs: A pre-trained model with massive dataset.
Model files go here (automatically downloaded if the folder is not present during first run): models/BiRefNet.
If necessary, they can be downloaded from:
- General ➔
model.safetensorsmust be renamedGeneral.safetensors - General-Lite ➔
model.safetensorsmust be renamedGeneral-Lite.safetensors - Portrait ➔
model.safetensorsmust be renamedPortrait.safetensors - DIS ➔
model.safetensorsmust be renamedDIS.safetensors - HRSOD ➔
model.safetensorsmust be renamedHRSOD.safetensors - COD ➔
model.safetensorsmust be renamedCOD.safetensors - DIS-TR_TEs ➔
model.safetensorsmust be renamedDIS-TR_TEs.safetensors
Nodes
- AutoDownloadBiRefNetModel
- Automatically download the model into models/BiRefNet
- LoadRembgByBiRefNetModel
- Can select model from "models/BiRefNet" or the path of "birefnet" configured in the extra YAML file
- You can download model from BiRefNet Releases
- RembgByBiRefNet
Thanks
Languages
Python
100%