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