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

Azng0
/
autoshade-mirror-birefnet

Image Segmentation
BiRefNet
Safetensors
Transformers
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 Azng0/autoshade-mirror-birefnet with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • BiRefNet

    How to use Azng0/autoshade-mirror-birefnet with BiRefNet:

    # Option 1: use with transformers
    
    from transformers import AutoModelForImageSegmentation
    birefnet = AutoModelForImageSegmentation.from_pretrained("Azng0/autoshade-mirror-birefnet", 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("Azng0/autoshade-mirror-birefnet")
  • Transformers

    How to use Azng0/autoshade-mirror-birefnet with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("image-segmentation", model="Azng0/autoshade-mirror-birefnet", trust_remote_code=True)
    # pip install -U transformers accelerate
    # Load model directly
    from transformers import AutoModelForImageSegmentation
    model = AutoModelForImageSegmentation.from_pretrained("Azng0/autoshade-mirror-birefnet", trust_remote_code=True, device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
autoshade-mirror-birefnet
445 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 8 commits
Azng0's picture
Azng0
mirror provenance and licence: LICENSE
af15351 verified 30 days ago
  • .gitattributes
    1.52 kB
    initial commit 30 days ago
  • BiRefNet_config.py
    298 Bytes
    mirror ZhengPeng7/BiRefNet@e2bf8e4460fc :: BiRefNet_config.py 30 days ago
  • LICENSE
    1.07 kB
    mirror provenance and licence: LICENSE 30 days ago
  • MIRROR.md
    890 Bytes
    mirror provenance and licence: MIRROR.md 30 days ago
  • README.md
    9.97 kB
    mirror ZhengPeng7/BiRefNet@e2bf8e4460fc :: README.md 30 days ago
  • birefnet.py
    91.9 kB
    mirror ZhengPeng7/BiRefNet@e2bf8e4460fc :: birefnet.py 30 days ago
  • config.json
    405 Bytes
    mirror ZhengPeng7/BiRefNet@e2bf8e4460fc :: config.json 30 days ago
  • model.safetensors
    444 MB
    xet
    mirror ZhengPeng7/BiRefNet@e2bf8e4460fc :: model.safetensors 30 days ago