Instructions to use facebook/sapiens2-matting-1b with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sapiens2
How to use facebook/sapiens2-matting-1b with sapiens2:
# No code snippets available yet for this library. # To use this model, check the repository files and the library's documentation. # Want to help? PRs adding snippets are welcome at: # https://github.com/huggingface/huggingface.js
- sapiens
How to use facebook/sapiens2-matting-1b with sapiens:
# No code snippets available yet for this library. # To use this model, check the repository files and the library's documentation. # Want to help? PRs adding snippets are welcome at: # https://github.com/huggingface/huggingface.js
- Transformers
How to use facebook/sapiens2-matting-1b with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-segmentation", model="facebook/sapiens2-matting-1b")# Load model directly from transformers import AutoImageProcessor, Sapiens2ForImageMatting processor = AutoImageProcessor.from_pretrained("facebook/sapiens2-matting-1b") model = Sapiens2ForImageMatting.from_pretrained("facebook/sapiens2-matting-1b") - Notebooks
- Google Colab
- Kaggle
Update library to sapiens2 and add transformers tag
#4
by guarin HF Staff - opened
No description provided.
rawalkhirodkar changed pull request status to merged