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

AnasHXH
/
stable-diffusion-x4-upscaler

Diffusers
TensorBoard
DDPMPipeline
Model card Files Files and versions
xet
Metrics Training metrics Community
2

Instructions to use AnasHXH/stable-diffusion-x4-upscaler with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use AnasHXH/stable-diffusion-x4-upscaler with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("AnasHXH/stable-diffusion-x4-upscaler", 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
stable-diffusion-x4-upscaler / samples
1.96 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 12 commits
AnasHXH's picture
AnasHXH
Epoch 5
9e63a25 over 3 years ago
  • 0000.png
    316 kB
    xet
    Epoch 0 over 3 years ago
  • 0002.png
    278 kB
    xet
    Epoch 2 over 3 years ago
  • 0003.png
    65.2 kB
    xet
    Epoch 3 over 3 years ago
  • 0005.png
    298 kB
    xet
    Epoch 5 over 3 years ago
  • 0006.png
    195 kB
    xet
    Epoch 6 over 3 years ago
  • 0009.png
    207 kB
    xet
    Epoch 29 over 3 years ago
  • 0019.png
    201 kB
    xet
    Epoch 29 over 3 years ago
  • 0029.png
    200 kB
    xet
    Epoch 29 over 3 years ago
  • 0031.png
    195 kB
    xet
    Epoch 31 over 3 years ago