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
Commit ·
1d02cdc
1
Parent(s): 89b2b7c
add model
Browse files- config.json +1 -1
- pytorch_model.bin +2 -2
config.json
CHANGED
|
@@ -108,5 +108,5 @@
|
|
| 108 |
2
|
| 109 |
],
|
| 110 |
"torch_dtype": "float32",
|
| 111 |
-
"transformers_version": "4.
|
| 112 |
}
|
|
|
|
| 108 |
2
|
| 109 |
],
|
| 110 |
"torch_dtype": "float32",
|
| 111 |
+
"transformers_version": "4.20.1"
|
| 112 |
}
|
pytorch_model.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e0139f52e953a00ca01d86faf7363f067a535291a003c096dd9c56b09d8945f1
|
| 3 |
+
size 338821701
|