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")# pip install -U transformers accelerate # Load model directly from transformers import AutoImageProcessor, SegformerForSemanticSegmentation processor = AutoImageProcessor.from_pretrained("jonathandinu/face-parsing") model = SegformerForSemanticSegmentation.from_pretrained("jonathandinu/face-parsing", device_map="auto") - 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 History
-
Update README.md
Verified signature758b82e -
Update README.md
Verified signature63be684
-
Upload folder using huggingface_hub
Verified signature13e2694 -
Upload folder using huggingface_hub
Verified signatureb6e0b89 -
Upload folder using huggingface_hub
Verified signature65972ac -
Upload folder using huggingface_hub
Verified signature92cb9d5
-
Fix transformers.js tag (for discoverability) (#4)
Verified signature- Fix transformers.js tag (for discoverability) (6470d31c421242c048070fa7c32e2aef77898684) Co-authored-by: Joshua <Xenova@users.noreply.huggingface.co>b2b06c3
-
Update README.md
Verified signaturea2bf62f -
add onnx weights for transformers.js
1f7e152
-
Fix labels (#3)
Verified signature- Fix labels (7f98ba7defe069a418f377f6f6cf7476daac614d) Co-authored-by: Joshua <Xenova@users.noreply.huggingface.co>373bfce
-
Adding `safetensors` variant of this model (#1)
- Adding `safetensors` variant of this model (047ef79bb00be32b78387b41bf0ab130e6438afc) Co-authored-by: Safetensors convertbot <SFconvertbot@users.noreply.huggingface.co>8ee285c
-
add model
1d02cdc -
add model
89b2b7c -
Update preprocessor_config.json
da0f6f3 -
add preprocessing instructions
184cbad -
add metadata
2b4c28f -
add model
31209d4 -
initial commit
d5b8759