Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing

  • 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
1.11 GB
Ctrl+K
Ctrl+K
  • 3 contributors
History: 18 commits
jonathandinu's picture
jonathandinu
Update README.md
758b82e verified 3 months ago
  • onnx
    add onnx weights for transformers.js over 2 years ago
  • .gitattributes
    1.23 kB
    Adding `safetensors` variant of this model (#1) about 3 years ago
  • README.md
    5.62 kB
    Update README.md 3 months ago
  • config.json
    1.69 kB
    add onnx weights for transformers.js over 2 years ago
  • demo.png
    645 kB
    Upload folder using huggingface_hub over 2 years ago
  • model.safetensors
    339 MB
    xet
    Adding `safetensors` variant of this model (#1) about 3 years ago
  • preprocessor_config.json
    374 Bytes
    add onnx weights for transformers.js over 2 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
  • quantize_config.json
    749 Bytes
    add onnx weights for transformers.js over 2 years ago