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

CoderViking
/
birefnet-lite-onnx

Image Segmentation
ONNX
BiRefNet
background-removal
Model card Files Files and versions
xet
Community

Instructions to use CoderViking/birefnet-lite-onnx with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • BiRefNet

    How to use CoderViking/birefnet-lite-onnx with BiRefNet:

    # Option 1: use with transformers
    
    from transformers import AutoModelForImageSegmentation
    birefnet = AutoModelForImageSegmentation.from_pretrained("CoderViking/birefnet-lite-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("CoderViking/birefnet-lite-onnx")
  • Notebooks
  • Google Colab
  • Kaggle
birefnet-lite-onnx
200 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 4 commits
CoderViking's picture
CoderViking
Upload birefnet-lite-1024.onnx with huggingface_hub
dc06453 verified 5 days ago
  • .gitattributes
    1.52 kB
    initial commit 5 days ago
  • README.md
    3.66 kB
    Upload README.md with huggingface_hub 5 days ago
  • birefnet-lite-1024.onnx
    200 MB
    xet
    Upload birefnet-lite-1024.onnx with huggingface_hub 5 days ago
  • export_birefnet_lite.py
    8.73 kB
    Upload export_birefnet_lite.py with huggingface_hub 5 days ago