Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

jonathandinu
/
face-parsing

Image Segmentation
Transformers
PyTorch
ONNX
Safetensors
Transformers.js
English
segformer
vision
nvidia/mit-b5
Model card Files Files and versions
xet
Community
7

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
face-parsing
677 MB
Ctrl+K
Ctrl+K
  • 3 contributors
History: 9 commits
Xenova's picture
Xenova HF Staff
Fix labels
7f98ba7 over 2 years ago
  • .gitattributes
    1.23 kB
    Adding `safetensors` variant of this model (#1) about 3 years ago
  • README.md
    158 Bytes
    add metadata almost 4 years ago
  • config.json
    1.77 kB
    Fix labels over 2 years ago
  • model.safetensors
    339 MB
    xet
    Adding `safetensors` variant of this model (#1) about 3 years ago
  • preprocessor_config.json
    272 Bytes
    add model almost 4 years ago
  • pytorch_model.bin

    Detected Pickle imports (4)

    • "collections.OrderedDict",
    • "torch.LongStorage",
    • "torch._utils._rebuild_tensor_v2",
    • "torch.FloatStorage"

    What is a pickle import?

    339 MB
    xet
    add model almost 4 years ago