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

rostrumstudios
/
birefnet-lite

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

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

  • Libraries
  • BiRefNet

    How to use rostrumstudios/birefnet-lite with BiRefNet:

    # Option 1: use with transformers
    
    from transformers import AutoModelForImageSegmentation
    birefnet = AutoModelForImageSegmentation.from_pretrained("rostrumstudios/birefnet-lite", 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("rostrumstudios/birefnet-lite")
  • Notebooks
  • Google Colab
  • Kaggle
birefnet-lite
224 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
Samx20's picture
Samx20
Remove background: the exact files Rostrum downloads, with model card and licence
cbcd528 verified 2 days ago
  • .gitattributes
    1.52 kB
    initial commit 2 days ago
  • LICENSE
    1.07 kB
    Remove background: the exact files Rostrum downloads, with model card and licence 2 days ago
  • README.md
    2.31 kB
    Remove background: the exact files Rostrum downloads, with model card and licence 2 days ago
  • model.onnx
    224 MB
    xet
    Remove background: the exact files Rostrum downloads, with model card and licence 2 days ago