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

  • 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
1.76 GB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 20 commits
MaxwellMeyer's picture
MaxwellMeyer
updated readme
e48a207 verified 4 months ago
  • BEN2_demo_pictures
    integrate with huggingface (#3) over 1 year ago
  • .gitattributes
    1.96 kB
    integrate with huggingface (#3) over 1 year ago
  • BEN2.py
    53.5 kB
    Update BEN2.py over 1 year ago
  • BEN2_Base.onnx
    223 MB
    xet
    Upload 2 files about 1 year ago
  • BEN2_Base.pth

    Detected Pickle imports (4)

    • "torch.FloatStorage",
    • "torch._utils._rebuild_tensor_v2",
    • "collections.OrderedDict",
    • "torch.LongStorage"

    What is a pickle import?

    1.13 GB
    xet
    Upload 12 files over 1 year ago
  • README.md
    5.13 kB
    updated readme 4 months ago
  • config.json
    124 Bytes
    Upload 12 files over 1 year ago
  • inference.py
    353 Bytes
    Update inference.py over 1 year ago
  • model.safetensors
    381 MB
    xet
    integrate with huggingface (#3) over 1 year ago
  • onnx_run.py
    1.68 kB
    Update onnx_run.py about 1 year ago
  • requirements.txt
    102 Bytes
    Update requirements.txt about 1 year ago