Model Details
Full Model IDZhengPeng7/BiRefNet
Pipeline / Taskimage-segmentation
Librarybirefnet
Downloads (all-time)730.1K
Likes559
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")
# Run inference
result = pipe("Your input here")
print(result)🏷️ Tags
birefnetsafetensorsimage-segmentationbackground-removalmask-generationDichotomous Image SegmentationCamouflaged Object DetectionSalient Object Detectionpytorch_model_hub_mixinmodel_hub_mixintransformerscustom_codearxiv:2401.03407license:mitendpoints_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
⬇ Downloads730.1K
❤️ Community Likes559
🛠️ 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.