Instructions to use LibreYOLO/LibreBiRefNetl-matte with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- BiRefNet
How to use LibreYOLO/LibreBiRefNetl-matte with BiRefNet:
# Option 1: use with transformers from transformers import AutoModelForImageSegmentation birefnet = AutoModelForImageSegmentation.from_pretrained("LibreYOLO/LibreBiRefNetl-matte", 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("LibreYOLO/LibreBiRefNetl-matte") - Notebooks
- Google Colab
- Kaggle
| LibreBiRefNetl-matte weights | |
| ------------------------------------ | |
| This product contains weights derived from BiRefNet | |
| (https://github.com/ZhengPeng7/BiRefNet). | |
| Copyright (c) 2024 ZhengPeng (Peng Zheng). | |
| Licensed under the MIT License. | |
| Conversion is a state-dict metadata-wrap: learned parameters are unchanged. | |
| See weights/convert_birefnet_weights.py in the LibreYOLO source repository. | |