Instructions to use moonbox-dev/BiRefNet_lite-ONNX with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- BiRefNet
How to use moonbox-dev/BiRefNet_lite-ONNX with BiRefNet:
# Option 1: use with transformers from transformers import AutoModelForImageSegmentation birefnet = AutoModelForImageSegmentation.from_pretrained("moonbox-dev/BiRefNet_lite-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_lite-ONNX") - Notebooks
- Google Colab
- Kaggle
int4 build of BiRefNet-lite
Browse files- int4/model.onnx +3 -0
int4/model.onnx
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f1569d7629559f3a4045cdc7189d1b6f0f170b070ff566596075c339e4178101
|
| 3 |
+
size 81683371
|