Image Segmentation
Transformers
PyTorch
ONNX
Safetensors
Transformers.js
English
segformer
vision
nvidia/mit-b5
Instructions to use jonathandinu/face-parsing with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use jonathandinu/face-parsing with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-segmentation", model="jonathandinu/face-parsing")# Load model directly from transformers import AutoImageProcessor, SegformerForSemanticSegmentation processor = AutoImageProcessor.from_pretrained("jonathandinu/face-parsing") model = SegformerForSemanticSegmentation.from_pretrained("jonathandinu/face-parsing") - Transformers.js
How to use jonathandinu/face-parsing with Transformers.js:
// npm i @huggingface/transformers import { pipeline } from '@huggingface/transformers'; // Allocate pipeline const pipe = await pipeline('image-segmentation', 'jonathandinu/face-parsing'); - Inference
- Notebooks
- Google Colab
- Kaggle
Fix transformers.js tag (for discoverability)
#4
by Xenova HF Staff - opened
README.md
CHANGED
|
@@ -6,7 +6,7 @@ tags:
|
|
| 6 |
- vision
|
| 7 |
- image-segmentation
|
| 8 |
- nvidia/mit-b5
|
| 9 |
-
-
|
| 10 |
- onnx
|
| 11 |
datasets:
|
| 12 |
- celebamaskhq
|
|
|
|
| 6 |
- vision
|
| 7 |
- image-segmentation
|
| 8 |
- nvidia/mit-b5
|
| 9 |
+
- transformers.js
|
| 10 |
- onnx
|
| 11 |
datasets:
|
| 12 |
- celebamaskhq
|