Real-ESRGAN function for VapourSynth
Project description
Real-ESRGAN
Training Real-World Blind Super-Resolution with Pure Synthetic Data, based on https://github.com/xinntao/Real-ESRGAN.
Dependencies
- PyTorch 2.4.0.dev or later
- VapourSynth R66 or later
trt
requires additional Python packages:
- TensorRT 10.0.1
- Torch-TensorRT 2.4.0.dev
To install TensorRT, run pip install tensorrt==10.0.1 tensorrt-cu12_bindings==10.0.1 tensorrt-cu12_libs==10.0.1 --extra-index-url https://pypi.nvidia.com
To install Torch-TensorRT, Windows users can pip install the whl file on Releases. Linux users can run pip install --pre torch_tensorrt --index-url https://download.pytorch.org/whl/nightly/cu124
(requires PyTorch nightly build).
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Hashes for vsrealesrgan-5.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 26d2e76a6163e5842a0298e8e1204785cbf37a8896abcbba6cc163cdca31b661 |
|
MD5 | d08b4fd029bc35c1a20f1e9e12884808 |
|
BLAKE2b-256 | 190fab877ee77fae94b8fd20006012a1253e9abfda7f0d43158c618b76d95a91 |