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

aldigobbler
/
ben2_30m_test

Mask Generation
BEN2
Safetensors
BEN2
Dichotomous image segmentation
background remove
background-remove
model_hub_mixin
pytorch_model_hub_mixin
Model card Files Files and versions
xet
Community

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

  • Libraries
  • BEN2

    How to use aldigobbler/ben2_30m_test 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("aldigobbler/ben2_30m_test")
    model.to("cuda").eval()
    foreground = model.inference(image)
    
  • Notebooks
  • Google Colab
  • Kaggle
ben2_30m_test
146 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 5 commits
aldigobbler's picture
aldigobbler
Upload config.json
4246fb5 verified 11 months ago
  • .gitattributes
    1.52 kB
    initial commit 11 months ago
  • README.md
    408 Bytes
    Update README.md 11 months ago
  • config.json
    532 Bytes
    Upload config.json 11 months ago
  • model.safetensors
    146 MB
    xet
    Upload 2 files 11 months ago