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
      • Hardware
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

LibreYOLO
/
LibreBEN2b-matte

Image Segmentation
BEN2
libreyolo
background-removal
matte
dichotomous-image-segmentation
Model card Files Files and versions
xet
Community

Instructions to use LibreYOLO/LibreBEN2b-matte with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • BEN2

    How to use LibreYOLO/LibreBEN2b-matte with BEN2:

    import requests
    from PIL import Image
    from ben2 import AutoModel
    
    url = "https://huggingface.co/datasets/mishig/sample_images/resolve/main/teapot.jpg"
    image = Image.open(requests.get(url, stream=True).raw)
    
    model = AutoModel.from_pretrained("LibreYOLO/LibreBEN2b-matte")
    model.to("cuda").eval()
    foreground = model.inference(image)
    
  • Notebooks
  • Google Colab
  • Kaggle
LibreBEN2b-matte
381 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 4 commits
Xuban's picture
Xuban
Document BEN2 training data provenance
6286f62 verified 2 days ago
  • .gitattributes
    41 Bytes
    Initial upload: LibreBEN2b-matte (BEN2, MIT) 2 days ago
  • LICENSE
    1.09 kB
    Initial upload: LibreBEN2b-matte (BEN2, MIT) 2 days ago
  • LibreBEN2b-matte.pt
    381 MB
    xet
    Initial upload: LibreBEN2b-matte (BEN2, MIT) 2 days ago
  • NOTICE
    406 Bytes
    Initial upload: LibreBEN2b-matte (BEN2, MIT) 2 days ago
  • README.md
    1.68 kB
    Document BEN2 training data provenance 2 days ago