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
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

Duplicated from  wefttechnologies/BiRefNet2

akshay2124
/
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 akshay2124/BiRefNet2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • BiRefNet

    How to use akshay2124/BiRefNet2 with BiRefNet:

    # Option 1: use with transformers
    
    from transformers import AutoModelForImageSegmentation
    birefnet = AutoModelForImageSegmentation.from_pretrained("akshay2124/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("akshay2124/BiRefNet2")
  • Notebooks
  • Google Colab
  • Kaggle
BiRefNet2
885 MB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 1 commit
akshay2124's picture
akshay2124
wefttechnologies's picture
wefttechnologies
Duplicate from wefttechnologies/BiRefNet2
5911647 about 2 months ago
  • .gitattributes
    1.52 kB
    Duplicate from wefttechnologies/BiRefNet2 about 2 months ago
  • .gitignore
    1.91 kB
    Duplicate from wefttechnologies/BiRefNet2 about 2 months ago
  • BiRefNet_config.py
    298 Bytes
    Duplicate from wefttechnologies/BiRefNet2 about 2 months ago
  • README.md
    8.43 kB
    Duplicate from wefttechnologies/BiRefNet2 about 2 months ago
  • birefnet.py
    91.4 kB
    Duplicate from wefttechnologies/BiRefNet2 about 2 months ago
  • config.json
    413 Bytes
    Duplicate from wefttechnologies/BiRefNet2 about 2 months ago
  • model.safetensors
    885 MB
    xet
    Duplicate from wefttechnologies/BiRefNet2 about 2 months ago