Training Real-World Blind Super-Resolution with Pure Synthetic Data, based on https://github.com/xinntao/Real-ESRGAN.
- PyTorch 2.6.0.dev
- VapourSynth R66 or later
trt
requires additional packages:
- Torch-TensorRT 2.6.0.dev
To install the latest nightly build of PyTorch and Torch-TensorRT, run:
pip install -U packaging setuptools wheel
pip install --pre -U torch torchvision torch_tensorrt --index-url https://download.pytorch.org/whl/nightly/cu124 --extra-index-url https://pypi.nvidia.com
pip install -U vsrealesrgan
python -m vsrealesrgan
from vsrealesrgan import realesrgan
ret = realesrgan(clip)
See __init__.py
for the description of the parameters.