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

  • 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
45.5 MB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 14 commits
Xenova's picture
Xenova HF Staff
Add fp16 ONNX weights
7e0f55f verified about 2 years ago
  • onnx
    Add fp16 ONNX weights about 2 years ago
  • .gitattributes
    1.52 kB
    initial commit over 2 years ago
  • README.md
    2.17 kB
    Update README.md over 2 years ago
  • config.json
    28 Bytes
    Update config.json over 2 years ago
  • preprocessor_config.json
    365 Bytes
    Update preprocessor_config.json over 2 years ago
  • quantize_config.json
    718 Bytes
    Upload quantize_config.json over 2 years ago