Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing

  • Log In
  • Sign Up

wefttechnologies
/
BiRefNet2

Image Segmentation
BiRefNet
Safetensors
background-removal
mask-generation
Dichotomous Image Segmentation
Camouflaged Object Detection
Salient Object Detection
pytorch_model_hub_mixin
model_hub_mixin
custom_code
Model card Files Files and versions
xet
Community

Instructions to use wefttechnologies/BiRefNet2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • BiRefNet

    How to use wefttechnologies/BiRefNet2 with BiRefNet:

    # Option 1: use with transformers
    
    from transformers import AutoModelForImageSegmentation
    birefnet = AutoModelForImageSegmentation.from_pretrained("wefttechnologies/BiRefNet2", 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("wefttechnologies/BiRefNet2")
  • Notebooks
  • Google Colab
  • Kaggle
BiRefNet2
885 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 3 commits
wefttechnologies's picture
wefttechnologies
Update birefnet.py
1379df8 verified 11 months ago
  • .gitattributes
    1.52 kB
    initial commit over 1 year ago
  • .gitignore
    1.91 kB
    Initial commit: Migrated from abhinandvk41/BiRefNet2 over 1 year ago
  • BiRefNet_config.py
    298 Bytes
    Initial commit: Migrated from abhinandvk41/BiRefNet2 over 1 year ago
  • README.md
    8.43 kB
    Initial commit: Migrated from abhinandvk41/BiRefNet2 over 1 year ago
  • birefnet.py
    91.4 kB
    Update birefnet.py 11 months ago
  • config.json
    413 Bytes
    Initial commit: Migrated from abhinandvk41/BiRefNet2 over 1 year ago
  • model.safetensors
    885 MB
    xet
    Initial commit: Migrated from abhinandvk41/BiRefNet2 over 1 year ago