Skip to main content

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 --index-url https://download.pytorch.org/whl/nightly/cu126
pip install --no-deps --pre -U torch_tensorrt --index-url https://download.pytorch.org/whl/nightly/cu126
pip install -U tensorrt-cu12 tensorrt-cu12_bindings tensorrt-cu12_libs --extra-index-url https://pypi.nvidia.com

Installation

pip install -U vsrealesrgan

If you want to download all models at once, run python -m vsrealesrgan. If you prefer to only download the model you specified at first run, set auto_download=True in realesrgan().

Usage

from vsrealesrgan import realesrgan

ret = realesrgan(clip)

See __init__.py for the description of the parameters.

Metadata

Release files for vsrealesrgan 5.2.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for vsrealesrgan 5.2.1
File Interpreter ABI Platform
vsrealesrgan-5.2.1-py3-none-any.whl Python 3 none any Details

Release files / vsrealesrgan-5.2.1-py3-none-any.whl

Download URL vsrealesrgan-5.2.1-py3-none-any.whl
Size 17.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
51f38c5d928cf483a29cbaa3fe00c582a3d5d45e72c92f4cf0dc59f4283397d9
BLAKE2b-256 checksum
How to use checksums
3685bee01587a17c90e0d2eee764b78b86cbe19e5395c8fd020b2b55c02bae4c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.12.3

Release history Release notifications | RSS feed

This release

5.2.1 This release

1 release file

5.2.0

1 release file

5.1.0

1 release file

5.0.0

1 release file

4.1.0

1 release file

4.0.1

1 release file

4.0.0

1 release file

3.1.0

1 release file

3.0.0

1 release file

2.0.0

1 release file

1.2.0

1 release file

1.1.0

1 release file

1.0.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page