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

israellaguan
/
birefnet-portrait-tensorrt

Image Segmentation
TensorRT
BiRefNet
portrait-matting
background-removal
computer-vision
Model card Files Files and versions
xet
Community

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

  • Libraries
  • TensorRT

    How to use israellaguan/birefnet-portrait-tensorrt with TensorRT:

    # No code snippets available yet for this library.
    
    # To use this model, check the repository files and the library's documentation.
    
    # Want to help? PRs adding snippets are welcome at:
    # https://github.com/huggingface/huggingface.js
  • BiRefNet

    How to use israellaguan/birefnet-portrait-tensorrt with BiRefNet:

    # Option 1: use with transformers
    
    from transformers import AutoModelForImageSegmentation
    birefnet = AutoModelForImageSegmentation.from_pretrained("israellaguan/birefnet-portrait-tensorrt", 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("israellaguan/birefnet-portrait-tensorrt")
  • Notebooks
  • Google Colab
  • Kaggle
birefnet-portrait-tensorrt
645 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 4 commits
israellaguan's picture
israellaguan
Create README.md
cdd0ff3 verified 5 months ago
  • rmbg
    Create README.md 5 months ago
  • .gitattributes
    1.58 kB
    init 5 months ago
  • README.md
    8.15 kB
    Update README.md 5 months ago
  • birefnet_portrait.trt
    645 MB
    xet
    init 5 months ago
  • requirements.txt
    308 Bytes
    init 5 months ago