Skip to content

HolyWu/vs-realesrgan

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

61 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Real-ESRGAN

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

Dependencies

trt requires additional packages:

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

Installation

pip install -U vsrealesrgan
python -m vsrealesrgan

Usage

from vsrealesrgan import realesrgan

ret = realesrgan(clip)

See __init__.py for the description of the parameters.