Image Segmentation
BiRefNet
Safetensors
background-removal
mask-generation
Dichotomous Image Segmentation
pytorch_model_hub_mixin
model_hub_mixin
custom_code
Instructions to use ZhengPeng7/BiRefNet-legacy with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- BiRefNet
How to use ZhengPeng7/BiRefNet-legacy with BiRefNet:
# Option 1: use with transformers from transformers import AutoModelForImageSegmentation birefnet = AutoModelForImageSegmentation.from_pretrained("ZhengPeng7/BiRefNet-legacy", 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("ZhengPeng7/BiRefNet-legacy") - Notebooks
- Google Colab
- Kaggle
Complete the MIT license in the model card.
Browse files
README.md
CHANGED
|
@@ -8,6 +8,7 @@ tags:
|
|
| 8 |
- model_hub_mixin
|
| 9 |
repo_url: https://github.com/ZhengPeng7/BiRefNet-legacy
|
| 10 |
pipeline_tag: image-segmentation
|
|
|
|
| 11 |
---
|
| 12 |
<h1 align="center">Bilateral Reference for High-Resolution Dichotomous Image Segmentation</h1>
|
| 13 |
|
|
@@ -57,4 +58,4 @@ https://github.com/ZhengPeng7/BiRefNet
|
|
| 57 |
pages = {9150038},
|
| 58 |
year={2024}
|
| 59 |
}
|
| 60 |
-
```
|
|
|
|
| 8 |
- model_hub_mixin
|
| 9 |
repo_url: https://github.com/ZhengPeng7/BiRefNet-legacy
|
| 10 |
pipeline_tag: image-segmentation
|
| 11 |
+
license: mit
|
| 12 |
---
|
| 13 |
<h1 align="center">Bilateral Reference for High-Resolution Dichotomous Image Segmentation</h1>
|
| 14 |
|
|
|
|
| 58 |
pages = {9150038},
|
| 59 |
year={2024}
|
| 60 |
}
|
| 61 |
+
```
|