Instructions to use Azim78692/onetapai-birefnet-lite with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- BiRefNet
How to use Azim78692/onetapai-birefnet-lite with BiRefNet:
# Option 1: use with transformers from transformers import AutoModelForImageSegmentation birefnet = AutoModelForImageSegmentation.from_pretrained("Azim78692/onetapai-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("Azim78692/onetapai-birefnet-lite") - Notebooks
- Google Colab
- Kaggle
One Tap AI - BiRefNet Lite INT8 Tiled ONNX
This repository hosts the quantized, deform-tiled BiRefNet Lite INT8 ONNX model for high-resolution (1024x1024) on-device background removal in One Tap AI.
- Model file:
birefnet_lite_int8_tiled.onnx - Precision: INT8 (QDQ per-channel, Swin backbone kept fp32)
- Size: ~167.4 MB (175,517,293 bytes)
- Input:
[1, 3, 1024, 1024] - Output:
[1, 1, 1024, 1024] - License: MIT