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", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit ·
88b7907
1
Parent(s): 0efd1ef
Update library to sapiens2 and add transformers tag (#4)
Browse files- Update library to sapiens2 and add transformers tag (9029327ca069742c0bd69aacf5c792801b968697)
Co-authored-by: guarin <guarin@users.noreply.huggingface.co>
README.md
CHANGED
|
@@ -3,13 +3,14 @@ license: other
|
|
| 3 |
license_name: sapiens2-license
|
| 4 |
license_link: https://github.com/facebookresearch/sapiens2/blob/main/LICENSE.md
|
| 5 |
pipeline_tag: image-segmentation
|
| 6 |
-
library_name:
|
| 7 |
base_model: facebook/sapiens2-pretrain-1b
|
| 8 |
tags:
|
| 9 |
- sapiens
|
| 10 |
- sapiens2
|
| 11 |
- human-centric
|
| 12 |
- matting
|
|
|
|
| 13 |
---
|
| 14 |
|
| 15 |
# Sapiens2-1B-Matting
|
|
|
|
| 3 |
license_name: sapiens2-license
|
| 4 |
license_link: https://github.com/facebookresearch/sapiens2/blob/main/LICENSE.md
|
| 5 |
pipeline_tag: image-segmentation
|
| 6 |
+
library_name: sapiens2
|
| 7 |
base_model: facebook/sapiens2-pretrain-1b
|
| 8 |
tags:
|
| 9 |
- sapiens
|
| 10 |
- sapiens2
|
| 11 |
- human-centric
|
| 12 |
- matting
|
| 13 |
+
- transformers
|
| 14 |
---
|
| 15 |
|
| 16 |
# Sapiens2-1B-Matting
|