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
Add `library_name: transformers` to metadata
#4
by nielsr HF Staff - opened
This 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.
Thank you :)
tomoyukun changed pull request status to merged