GGUF models for BiRefNet

BiRefNet is a model for dichotomous image segmentation (background removal). The weights in this repository are converted for lightweight inference on consumer hardware with vision.cpp.

Run

Example inference with vision.cpp:

CLI

vision-cli birefnet -m BiRefNet-F16.gguf -i input.png -o mask.png --composite comp.png

C++

image_data image      = image_load("input.png");
backend_device device = backend_init();
birefnet_model model  = birefnet_load_model("BiRefNet-F16.gguf", device);
image_data mask       = birefnet_compute(model, image);
image_save(mask, "mask.png");
Downloads last month
432
GGUF
Model size
220M params
Architecture
birefnet
Hardware compatibility
Log In to view the estimation

16-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for Acly/BiRefNet-GGUF

Quantized
(2)
this model