/vs-liif

Liif superresolution function for VapourSynth

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

Real-ESRGAN

Training Real-World Blind Super-Resolution with Pure Synthetic Data, based on https://github.com/xinntao/Real-ESRGAN.

Dependencies

  • NumPy
  • ONNX Runtime. CUDA and TensorRT require onnxruntime-gpu, while DirectML requires onnxruntime-directml. Note that only one of onnxruntime, onnxruntime-gpu and onnxruntime-directml should be installed at a time in any one environment.
  • VapourSynth R55 or newer.
  • (Optional) CUDA Toolkit
  • (Optional) cuDNN
  • (Optional) TensorRT

Installation

pip install --upgrade git+https://github.com/ViktorThink/vs-liif
python -m vsliif
pip install git+https://github.com/ViktorThink/liif

Usage

from vsrealesrgan import RealESRGAN

ret = RealESRGAN(clip)

See __init__.py for the description of the parameters.