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

TurboGhoster
/
FLUX2-KLEIN-4B-BIREFNET-RUNTIME

BiRefNet
comfyui
flux2
ghoststack
Model card Files Files and versions
xet
Community

Instructions to use TurboGhoster/FLUX2-KLEIN-4B-BIREFNET-RUNTIME with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • BiRefNet

    How to use TurboGhoster/FLUX2-KLEIN-4B-BIREFNET-RUNTIME with BiRefNet:

    # Option 1: use with transformers
    
    from transformers import AutoModelForImageSegmentation
    birefnet = AutoModelForImageSegmentation.from_pretrained("TurboGhoster/FLUX2-KLEIN-4B-BIREFNET-RUNTIME", 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("TurboGhoster/FLUX2-KLEIN-4B-BIREFNET-RUNTIME")
  • Notebooks
  • Google Colab
  • Kaggle
FLUX2-KLEIN-4B-BIREFNET-RUNTIME
12.9 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
TurboGhoster's picture
TurboGhoster
Initial WF-02 public deployment bundle with complete attribution
8ce37f8 verified about 2 months ago
  • background_removal
    Initial WF-02 public deployment bundle with complete attribution about 2 months ago
  • diffusion_models
    Initial WF-02 public deployment bundle with complete attribution about 2 months ago
  • text_encoders
    Initial WF-02 public deployment bundle with complete attribution about 2 months ago
  • vae
    Initial WF-02 public deployment bundle with complete attribution about 2 months ago
  • .gitattributes
    50 Bytes
    Initial WF-02 public deployment bundle with complete attribution about 2 months ago
  • LICENSE
    11.4 kB
    Initial WF-02 public deployment bundle with complete attribution about 2 months ago
  • NOTICE
    2.89 kB
    Initial WF-02 public deployment bundle with complete attribution about 2 months ago
  • README.md
    2.37 kB
    Initial WF-02 public deployment bundle with complete attribution about 2 months ago