Image Segmentation
Transformers
Safetensors
English
layer decomposition
image segmentation
image matting
design
custom_code
Instructions to use cyberagent/layerd-birefnet with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use cyberagent/layerd-birefnet with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-segmentation", model="cyberagent/layerd-birefnet", trust_remote_code=True)# Load model directly from transformers import AutoModelForImageSegmentation model = AutoModelForImageSegmentation.from_pretrained("cyberagent/layerd-birefnet", trust_remote_code=True, dtype="auto") - Notebooks
- Google Colab
- Kaggle
Tomoyuki Suzuki commited on
Commit ·
e549152
1
Parent(s): 02e8c7c
Update
Browse files
README.md
CHANGED
|
@@ -15,7 +15,7 @@ This repository contains the code and model weights for the matting module in [L
|
|
| 15 |
The model in this repository is intended to be used as a part of the original [LayerD github repository](https://github.com/CyberAgentAILab/LayerD).
|
| 16 |
Please visit https://github.com/CyberAgentAILab/LayerD for more information.
|
| 17 |
|
| 18 |
-
The model architecture code is based on the [BiRefNet repository](https://huggingface.co/ZhengPeng7/BiRefNet)
|
| 19 |
|
| 20 |
### Usage
|
| 21 |
|
|
|
|
| 15 |
The model in this repository is intended to be used as a part of the original [LayerD github repository](https://github.com/CyberAgentAILab/LayerD).
|
| 16 |
Please visit https://github.com/CyberAgentAILab/LayerD for more information.
|
| 17 |
|
| 18 |
+
The model architecture code is based on the [BiRefNet repository](https://huggingface.co/ZhengPeng7/BiRefNet). We thank the authors for releasing their high-quality matting model.
|
| 19 |
|
| 20 |
### Usage
|
| 21 |
|