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

Xenova
/
modnet

Image Segmentation
Transformers.js
ONNX
modnet
vision
background-removal
portrait-matting
Model card Files Files and versions
xet
Community
7

Instructions to use Xenova/modnet with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers.js

    How to use Xenova/modnet with Transformers.js:

    // npm i @huggingface/transformers
    import { pipeline } from '@huggingface/transformers';
    
    // Allocate pipeline
    const pipe = await pipeline('image-segmentation', 'Xenova/modnet');
modnet / onnx
110 MB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 5 commits
Xenova's picture
Xenova HF Staff
Add/update the quantized ONNX model files and README.md for Transformers.js v3 (#6)
7aaa8a2 verified 11 months ago
  • model.onnx
    25.9 MB
    xet
    Upload model.onnx over 2 years ago
  • model_bnb4.onnx
    23.1 MB
    xet
    Add/update the quantized ONNX model files and README.md for Transformers.js v3 (#6) 11 months ago
  • model_fp16.onnx
    13 MB
    xet
    Upload fp16 ONNX weights about 2 years ago
  • model_q4.onnx
    23.1 MB
    xet
    Add/update the quantized ONNX model files and README.md for Transformers.js v3 (#6) 11 months ago
  • model_q4f16.onnx
    11.8 MB
    xet
    Add/update the quantized ONNX model files and README.md for Transformers.js v3 (#6) 11 months ago
  • model_quantized.onnx
    6.63 MB
    xet
    Upload model_quantized.onnx over 2 years ago
  • model_uint8.onnx
    6.63 MB
    xet
    Add/update the quantized ONNX model files and README.md for Transformers.js v3 (#6) 11 months ago