Instructions to use moonbox-dev/BiRefNet-ONNX with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- BiRefNet
How to use moonbox-dev/BiRefNet-ONNX with BiRefNet:
# Option 1: use with transformers from transformers import AutoModelForImageSegmentation birefnet = AutoModelForImageSegmentation.from_pretrained("moonbox-dev/BiRefNet-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("moonbox-dev/BiRefNet-ONNX") - Notebooks
- Google Colab
- Kaggle
Download int4/model.onnx from moonbox-dev/BiRefNet-ONNX: direct link, hf CLI and curl.
- Browser
- Download file 244 MB
-
https://huggingface.co/moonbox-dev/BiRefNet-ONNX/resolve/main/int4/model.onnx
- Command line
-
hf download hf://moonbox-dev/BiRefNet-ONNX/int4/model.onnx
-
curl -L -o model.onnx https://huggingface.co/moonbox-dev/BiRefNet-ONNX/resolve/main/int4/model.onnx
244 MB
- Xet hash:
- f07c4c84fc19cd49bf9556b00396d70a1f9af47f6641278bfc123b43850692d5
- Size of remote file:
- 244 MB
- SHA256:
- d0c5185c9de853a84af90fd5fbe54fa2ee95519077fadf69096607cd772cd4cc
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.