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

  • Log In
  • Sign Up

Duplicated from  BritishWerewolf/U-2-Net-Human-Seg

sunseeker001
/
U-2-Net-Human-Seg

Image Segmentation
Transformers
ONNX
Transformers.js
English
u2net
mask-generation
vision
background-removal
portrait-matting
Model card Files Files and versions
xet
Community

Instructions to use sunseeker001/U-2-Net-Human-Seg with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use sunseeker001/U-2-Net-Human-Seg with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("image-segmentation", model="sunseeker001/U-2-Net-Human-Seg")
    # Load model directly
    from transformers import AutoModel
    model = AutoModel.from_pretrained("sunseeker001/U-2-Net-Human-Seg", dtype="auto")
  • Transformers.js

    How to use sunseeker001/U-2-Net-Human-Seg with Transformers.js:

    // npm i @huggingface/transformers
    import { pipeline } from '@huggingface/transformers';
    
    // Allocate pipeline
    const pipe = await pipeline('image-segmentation', 'sunseeker001/U-2-Net-Human-Seg');
  • Notebooks
  • Google Colab
  • Kaggle
U-2-Net-Human-Seg
Ctrl+K
Ctrl+K
  • 2 contributors
History: 1 commit
sunseeker001's picture
sunseeker001
BritishWerewolf's picture
BritishWerewolf
Duplicate from BritishWerewolf/U-2-Net-Human-Seg
4523316 about 2 months ago
  • onnx
    Duplicate from BritishWerewolf/U-2-Net-Human-Seg about 2 months ago
  • .gitattributes
    1.52 kB
    Duplicate from BritishWerewolf/U-2-Net-Human-Seg about 2 months ago
  • README.md
    2.52 kB
    Duplicate from BritishWerewolf/U-2-Net-Human-Seg about 2 months ago
  • config.json
    397 Bytes
    Duplicate from BritishWerewolf/U-2-Net-Human-Seg about 2 months ago
  • preprocessor_config.json
    438 Bytes
    Duplicate from BritishWerewolf/U-2-Net-Human-Seg about 2 months ago