🤖 image-segmentation

BiRefNet

ZhengPeng7/BiRefNet

Get AI Model →
730.1K
Downloads
❤️
559
Likes
🏷️
16
Tags
📦
birefnet
Library
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 →
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 →
segformer-b0-finetuned-ade-512-512

Xenova/segformer-b0-finetuned-ade-512-512

671.0K❤️ 1
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
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.
👋 Need help with code?