🤖 image-segmentation

BiRefNet-matting

ZhengPeng7/BiRefNet-matting

Get AI Model →
8.3K
Downloads
❤️
26
Likes
🏷️
12
Tags
📦
birefnet
Library
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 →
clipseg-rd64-refined

CIDAS/clipseg-rd64-refined

973.7K❤️ 139
Get AI Model →
RMBG-1.4

briaai/RMBG-1.4

745.7K❤️ 2.0K
Get AI Model →
BiRefNet

ZhengPeng7/BiRefNet

730.1K❤️ 559
Get AI Model →
🚀 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.
👋 Need help with code?