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

  • Log In
  • Sign Up

ModelsLab
/
RMBG

Image Segmentation
Transformers
Safetensors
SegformerForSemanticSegmentation
custom_code
Model card Files Files and versions
xet
Community

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

  • Libraries
  • Transformers

    How to use ModelsLab/RMBG with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("image-segmentation", model="ModelsLab/RMBG", trust_remote_code=True)
    # Load model directly
    from transformers import AutoModelForImageSegmentation
    model = AutoModelForImageSegmentation.from_pretrained("ModelsLab/RMBG", trust_remote_code=True, dtype="auto")
  • Notebooks
  • Google Colab
  • Kaggle
RMBG
176 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 3 commits
shauray's picture
shauray
Upload config.json
24fad5e verified almost 2 years ago
  • .gitattributes
    1.52 kB
    initial commit almost 2 years ago
  • README.md
    31 Bytes
    initial commit almost 2 years ago
  • config.json
    548 Bytes
    Upload config.json almost 2 years ago
  • model.safetensors
    176 MB
    xet
    Upload model.safetensors almost 2 years ago