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
      • Hardware
      • 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
6

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", 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
face-parsing / onnx
430 MB
Ctrl+K
Ctrl+K
  • 3 contributors
History: 1 commit
jonathandinu's picture
jonathandinu
add onnx weights for transformers.js
1f7e152 over 2 years ago
  • model.onnx
    340 MB
    xet
    add onnx weights for transformers.js over 2 years ago
  • model_quantized.onnx
    89.4 MB
    xet
    add onnx weights for transformers.js over 2 years ago