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

PramaLLC
/
BEN2

Image Segmentation
BEN2
ONNX
Safetensors
PyTorch
BEN2
background-remove
mask-generation
Dichotomous image segmentation
background remove
foreground
background
remove background
model_hub_mixin
pytorch_model_hub_mixin
background removal
background-removal
Model card Files Files and versions
xet
Community
7

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

  • Libraries
  • BEN2

    How to use PramaLLC/BEN2 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("PramaLLC/BEN2")
    model.to("cuda").eval()
    foreground = model.inference(image)
    
  • Notebooks
  • Google Colab
  • Kaggle
BEN2 / BEN2_demo_pictures
Ctrl+K
Ctrl+K
  • 2 contributors
History: 2 commits
MaxwellMeyer's picture
MaxwellMeyer
integrate with huggingface (#3)
19d0d22 verified over 1 year ago
  • grid_example1.png
    1.51 MB
    xet
    Upload 12 files over 1 year ago
  • grid_example2.png
    1.76 MB
    xet
    Upload 12 files over 1 year ago
  • grid_example3.png
    8.59 MB
    xet
    Upload 12 files over 1 year ago
  • grid_example6.png
    2.37 MB
    xet
    Upload 12 files over 1 year ago
  • grid_example7.png
    5.27 MB
    xet
    Upload 12 files over 1 year ago
  • model_comparison.png
    328 kB
    xet
    integrate with huggingface (#3) over 1 year ago