Image Segmentation
MLX
Safetensors
BiRefNet
moonbox
background-removal
dichotomous-image-segmentation
Instructions to use moonbox-ai/BiRefNet-MLX with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use moonbox-ai/BiRefNet-MLX with MLX:
# Download the model from the Hub pip install huggingface_hub[hf_xet] hf download moonbox-ai/BiRefNet-MLX --local-dir BiRefNet-MLX
- BiRefNet
How to use moonbox-ai/BiRefNet-MLX with BiRefNet:
# Option 1: use with transformers from transformers import AutoModelForImageSegmentation birefnet = AutoModelForImageSegmentation.from_pretrained("moonbox-ai/BiRefNet-MLX", 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-ai/BiRefNet-MLX") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- LM Studio
- Atomic Chat
Welcome to the community
The community tab is the place to discuss and collaborate with the HF community!