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 `library_name: transformers` to metadata
Verified signatureThis PR improves the model card for `cyberagent/layerd-birefnet` by adding `library_name: transformers` to the metadata. This addition is supported by the `config.json` and the existing "Usage" section, which demonstrates how to load the model using `transformers.AutoModelForImageSegmentation`. Adding this metadata enables the automated "How to use" widget on the Hugging Face Hub, making it easier for users to get started with the model. No changes were made to the paper links in the content, as the existing Arxiv links are sufficient and align with the guidelines.9a27ad5
-
Update arXiv link
Verified signature164d6ed
-
add-teaser (#3)
Verified signature- Add teaser image with Git LFS support (e364026fa0802b921734ec089ea9a9487d1efff6) - Update README with badges and project description (a1d8a383cf2461254fce05cae9fb34bb3b66cb7d)8d736ea
-
Update README (#1)
Verified signature- Add README (879603da0b77bf11aa45d7f276e615cc5e068db7) - Update (02e8c7c201dbb7da734ca1e17f8429c02cc8d2c8) - Update (e54915212640b4703cd5279ddbae0268d6555333)74b211d
-
Adapt for layerd: Change hardcoded size from 1024 to 512 (line 56) and add trained weights
Verified signaturec7a5af6 -
Initial commit: Original BiRefNet from ZhengPeng7/BiRefNet
Verified signature7293278 -
initial commit
Verified signaturea190caa