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)# pip install -U transformers accelerate # Load model directly from transformers import AutoModelForImageSegmentation model = AutoModelForImageSegmentation.from_pretrained("cyberagent/layerd-birefnet", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Add teaser.png with Git LFS
Tomoyuki Suzuki9d4db94 -
Add teaser.png with Git LFS support
Tomoyuki Suzukia9a81bf -
Add teaser image
Tomoyuki Suzukife17805
-
Update README (#1)
- Add README (879603da0b77bf11aa45d7f276e615cc5e068db7) - Update (02e8c7c201dbb7da734ca1e17f8429c02cc8d2c8) - Update (e54915212640b4703cd5279ddbae0268d6555333)47b38e4
-
Adapt for layerd: Change hardcoded size from 1024 to 512 (line 56) and add trained weights
535c8fc -
Initial commit: Original BiRefNet from ZhengPeng7/BiRefNet
0836dc7 -
initial commit
0773a4a