Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets
  • 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

anudit
/
BiRefNet_lite-2K-ONNX

Image Segmentation
ONNX
BiRefNet
background-removal
dichotomous-image-segmentation
webgpu
Model card Files Files and versions
xet
Community

Instructions to use anudit/BiRefNet_lite-2K-ONNX with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • BiRefNet

    How to use anudit/BiRefNet_lite-2K-ONNX with BiRefNet:

    # Option 1: use with transformers
    
    from transformers import AutoModelForImageSegmentation
    birefnet = AutoModelForImageSegmentation.from_pretrained("anudit/BiRefNet_lite-2K-ONNX", trust_remote_code=True)
    
    # Option 2: use with BiRefNet
    
    # Install from https://github.com/ZhengPeng7/BiRefNet
    
    from models.birefnet import BiRefNet
    model = BiRefNet.from_pretrained("anudit/BiRefNet_lite-2K-ONNX")
  • Notebooks
  • Google Colab
  • Kaggle
BiRefNet_lite-2K-ONNX
91.4 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 4 commits
anudit's picture
anudit
Dynamic H×W export (multiples of 64); remove 1024 variant
fddd2c2 verified 2 days ago
  • onnx
    Dynamic H×W export (multiples of 64); remove 1024 variant 2 days ago
  • .gitattributes
    1.52 kB
    initial commit 2 days ago
  • README.md
    2.72 kB
    Dynamic H×W export (multiples of 64); remove 1024 variant 2 days ago