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

Duplicated from  AST-1320/RealESRGAN_x2plus

wolf1280
/
RealESRGAN_x2plus

Diffusers
Safetensors
Model card Files Files and versions
xet
Community

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

  • Libraries
  • Diffusers

    How to use wolf1280/RealESRGAN_x2plus with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("wolf1280/RealESRGAN_x2plus", 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_x2plus
100 MB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 1 commit
wolf1280's picture
wolf1280
AST-1320's picture
AST-1320
Duplicate from AST-1320/RealESRGAN_x2plus
ff6f23b about 6 hours ago
  • .gitattributes
    1.52 kB
    Duplicate from AST-1320/RealESRGAN_x2plus about 6 hours ago
  • config.json
    189 Bytes
    Duplicate from AST-1320/RealESRGAN_x2plus about 6 hours ago
  • diffusion_pytorch_model.fp16.safetensors
    33.5 MB
    xet
    Duplicate from AST-1320/RealESRGAN_x2plus about 6 hours ago
  • diffusion_pytorch_model.safetensors
    66.9 MB
    xet
    Duplicate from AST-1320/RealESRGAN_x2plus about 6 hours ago