/vs-realesrgan

Real-ESRGAN function for VapourSynth

Primary LanguagePythonBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

Real-ESRGAN

Real-ESRGAN function for VapourSynth, based on https://github.com/xinntao/Real-ESRGAN.

Dependencies

  • NumPy
  • PyTorch, preferably with CUDA. Note that torchaudio is not required and hence can be omitted from the command.
  • VapourSynth

Installation

pip install --upgrade vsrealesrgan
python -m vsrealesrgan

Usage

from vsrealesrgan import RealESRGAN

ret = RealESRGAN(clip)

See __init__.py for the description of the parameters.