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

hlky
/
RealESRGAN_x4plus

Diffusers
Safetensors
Model card Files Files and versions
xet
Community
1

Instructions to use hlky/RealESRGAN_x4plus with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use hlky/RealESRGAN_x4plus with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("hlky/RealESRGAN_x4plus", 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
RealESRGAN_x4plus
Ctrl+K
Ctrl+K
  • 1 contributor
History: 3 commits
Changuo's picture
Changuo
Upload 7 files
697e01f verified 4 months ago
  • .gitattributes
    1.87 kB
    Upload 7 files 4 months ago
  • IMG_4847.png
    2.64 MB
    xet
    Upload 7 files 4 months ago
  • IMG_4849.jpeg
    230 kB
    xet
    Upload 7 files 4 months ago
  • IMG_4850.jpeg
    241 kB
    xet
    Upload 7 files 4 months ago
  • IMG_4851.jpeg
    240 kB
    xet
    Upload 7 files 4 months ago
  • IMG_4852.jpeg
    204 kB
    xet
    Upload 7 files 4 months ago
  • IMG_4853.jpeg
    102 kB
    xet
    Upload 7 files 4 months ago
  • IMG_4855.jpeg
    244 kB
    xet
    Upload 7 files 4 months ago
  • config.json
    189 Bytes
    Upload folder using huggingface_hub 5 months ago
  • diffusion_pytorch_model.fp16.safetensors
    33.5 MB
    xet
    Upload folder using huggingface_hub 5 months ago
  • diffusion_pytorch_model.safetensors
    66.9 MB
    xet
    Upload folder using huggingface_hub 5 months ago