Training Real-World Blind Super-Resolution with Pure Synthetic Data, based on https://github.com/xinntao/Real-ESRGAN.
- NumPy
- ONNX Runtime. CUDA and TensorRT require
onnxruntime-gpu
, while DirectML requiresonnxruntime-directml
. Note that only one ofonnxruntime
,onnxruntime-gpu
andonnxruntime-directml
should be installed at a time in any one environment. - VapourSynth R55 or newer.
- (Optional) CUDA Toolkit
- (Optional) cuDNN
- (Optional) TensorRT
pip install --upgrade git+https://github.com/ViktorThink/vs-liif
python -m vsliif
pip install git+https://github.com/ViktorThink/liif
from vsrealesrgan import RealESRGAN
ret = RealESRGAN(clip)
See __init__.py
for the description of the parameters.