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

senty-au
/
BiRefNet_lite-ONNX-dynamic

Image Segmentation
ONNX
BiRefNet
background-removal
mask-generation
onnxruntime
cpu
Model card Files Files and versions
xet
Community

Instructions to use senty-au/BiRefNet_lite-ONNX-dynamic with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • BiRefNet

    How to use senty-au/BiRefNet_lite-ONNX-dynamic with BiRefNet:

    # Option 1: use with transformers
    
    from transformers import AutoModelForImageSegmentation
    birefnet = AutoModelForImageSegmentation.from_pretrained("senty-au/BiRefNet_lite-ONNX-dynamic", 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("senty-au/BiRefNet_lite-ONNX-dynamic")
  • Notebooks
  • Google Colab
  • Kaggle
BiRefNet_lite-ONNX-dynamic
181 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
senty-au's picture
senty-au
BiRefNet_lite re-exported with native DeformConv and dynamic input
173d635 verified 16 days ago
  • onnx
    BiRefNet_lite re-exported with native DeformConv and dynamic input 16 days ago
  • .gitattributes
    1.52 kB
    initial commit 16 days ago
  • README.md
    4 kB
    BiRefNet_lite re-exported with native DeformConv and dynamic input 16 days ago
  • export_birefnet.py
    4.71 kB
    BiRefNet_lite re-exported with native DeformConv and dynamic input 16 days ago