Image Segmentation
ONNX
BiRefNet
onnxruntime
background-removal
remove-background
image-matting
alpha-matting
matting
salient-object-detection
interactive-segmentation
interactive-image-editing
smart-brush
transparent-background
cutout
dinov3
depth-anything
computer-vision
Eval Results (legacy)
Instructions to use withoutbg/withoutbg-openweights-onnx with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- BiRefNet
How to use withoutbg/withoutbg-openweights-onnx with BiRefNet:
# Option 1: use with transformers from transformers import AutoModelForImageSegmentation birefnet = AutoModelForImageSegmentation.from_pretrained("withoutbg/withoutbg-openweights-onnx", 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("withoutbg/withoutbg-openweights-onnx") - Notebooks
- Google Colab
- Kaggle
Download sample-results/open-weights/example2.png from withoutbg/withoutbg-openweights-onnx: direct link, hf CLI and curl.
- Browser
- Download file 390 kB
-
https://huggingface.co/withoutbg/withoutbg-openweights-onnx/resolve/main/sample-results/open-weights/example2.png
- Command line
-
hf download hf://withoutbg/withoutbg-openweights-onnx/sample-results/open-weights/example2.png
-
curl -L -o example2.png https://huggingface.co/withoutbg/withoutbg-openweights-onnx/resolve/main/sample-results/open-weights/example2.png
390 kB

- Xet hash:
- af3756d0073a42b8665acf00213c8d454730229a459f65c8c74b1b7543eb071a
- Size of remote file:
- 390 kB
- SHA256:
- 1cffcf6ffc4e171576c76fc373c974780e48221116468ddd1a09646b6b0e3771
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.