Model Details
Full Model IDZhengPeng7/BiRefNet-matting
Pipeline / Taskimage-segmentation
Librarybirefnet
Downloads (all-time)8.3K
Likes26
Last Modified2/4/2026
Author / OrgZhengPeng7
PrivateNo — public
⚡ Quick Usage (Python)
Using the 🤗 Transformers library. Install with pip install transformers
from transformers import pipeline
# Load the model
pipe = pipeline("image-segmentation", model="ZhengPeng7/BiRefNet-matting")
# Run inference
result = pipe("Your input here")
print(result)🏷️ Tags
birefnetsafetensorsbackground-removalmask-generationImage Mattingpytorch_model_hub_mixinmodel_hub_mixinimage-segmentationcustom_codearxiv:2401.03407endpoints_compatibleregion:us
More image-segmentation Models
See all →🚀 Use This Model
Access model files, inference API, and full documentation on Hugging Face.
Open on Hugging Face →Browse Model Files ↗← Browse All Models🤖 Task: image-segmentation
This model is designed for the image-segmentation task. Explore more models for this use case.
All image-segmentation Models →📊 Popularity
⬇ Downloads8.3K
❤️ Community Likes26
🛠️ Requirements
- →Install: pip install birefnet
- →Python 3.8+ recommended for Transformers.
- →GPU (CUDA) speeds up inference significantly.
- →Use model.half() for fp16 on limited VRAM.