RealESRGAN

RealESRGAN

RealESRGAN (opens in a new tab) is a library to do image Super-Resolution.

realesrgan

Install dependency package:

pip install realesrgan

Command line argument to enable RealESRGAN:

--enable-realesrgan --realesrgan-model RealESRGAN_x4plus --realesrgan-device cuda

Available models:

  1. RealESRGAN_x4plus: for general scenes
  2. RealESRGAN_x4plus_anime_6B: optimized for anime images with much smaller model size.
  3. realesr-general-x4v3: a tiny small model for general scenes

Available device:

  1. cuda
  2. cpu
  3. mps