Image Segmentation
BiRefNet
Safetensors
background-removal
mask-generation
Dichotomous Image Segmentation
Camouflaged Object Detection
Salient Object Detection
pytorch_model_hub_mixin
model_hub_mixin
custom_code
Instructions to use ZhengPeng7/BiRefNet_512x512 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- BiRefNet
How to use ZhengPeng7/BiRefNet_512x512 with BiRefNet:
# Option 1: use with transformers from transformers import AutoModelForImageSegmentation birefnet = AutoModelForImageSegmentation.from_pretrained("ZhengPeng7/BiRefNet_512x512", trust_remote_code=True)# Option 2: use with BiRefNet # Install from https://github.com/ZhengPeng7/BiRefNet from models.birefnet import BiRefNet model = BiRefNet.from_pretrained("ZhengPeng7/BiRefNet_512x512") - Notebooks
- Google Colab
- Kaggle
Download model.safetensors from ZhengPeng7/BiRefNet_512x512: direct link, hf CLI and curl.
- Browser
- Download file 444 MB
-
https://huggingface.co/ZhengPeng7/BiRefNet_512x512/resolve/main/model.safetensors
- Command line
-
hf download hf://ZhengPeng7/BiRefNet_512x512/model.safetensors
-
curl -L -o model.safetensors https://huggingface.co/ZhengPeng7/BiRefNet_512x512/resolve/main/model.safetensors
444 MB
- Xet hash:
- 4865fc6fb5281fa8a7a621b2da73d3a4095d7d8b637aa011e40a89f71607ea09
- Size of remote file:
- 444 MB
- SHA256:
- d94ae0eefb2d2020192001e984ecd6b367478118257a3132e6a484bbf18b0f41
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.