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

2bidoubi
/
SPARK

Diffusers
ONNX
Safetensors
Model card Files Files and versions
xet
Community

Instructions to use 2bidoubi/SPARK with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use 2bidoubi/SPARK with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("2bidoubi/SPARK", dtype=torch.bfloat16, device_map="cuda")
    
    prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k"
    image = pipe(prompt).images[0]
  • Notebooks
  • Google Colab
  • Kaggle
SPARK / RMBG-1.4
842 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 1 commit
2bidoubi's picture
2bidoubi
Add files using upload-large-folder tool
669860b verified 2 months ago
  • onnx
    Add files using upload-large-folder tool 2 months ago
  • .gitattributes
    1.85 kB
    Add files using upload-large-folder tool 2 months ago
  • MyConfig.py
    326 Bytes
    Add files using upload-large-folder tool 2 months ago
  • MyPipe.py
    2.89 kB
    Add files using upload-large-folder tool 2 months ago
  • README.md
    6.4 kB
    Add files using upload-large-folder tool 2 months ago
  • briarmbg.py
    13.1 kB
    Add files using upload-large-folder tool 2 months ago
  • config.json
    548 Bytes
    Add files using upload-large-folder tool 2 months ago
  • example_inference.py
    1.09 kB
    Add files using upload-large-folder tool 2 months ago
  • example_input.jpg
    327 kB
    xet
    Add files using upload-large-folder tool 2 months ago
  • model.pth
    177 MB
    xet
    Add files using upload-large-folder tool 2 months ago
  • model.safetensors
    176 MB
    xet
    Add files using upload-large-folder tool 2 months ago
  • preprocessor_config.json
    345 Bytes
    Add files using upload-large-folder tool 2 months ago
  • pytorch_model.bin
    177 MB
    xet
    Add files using upload-large-folder tool 2 months ago
  • requirements.txt
    87 Bytes
    Add files using upload-large-folder tool 2 months ago
  • results.png
    1.25 MB
    xet
    Add files using upload-large-folder tool 2 months ago
  • t4.png
    2.16 MB
    xet
    Add files using upload-large-folder tool 2 months ago
  • utilities.py
    980 Bytes
    Add files using upload-large-folder tool 2 months ago