Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/holywu/vs-realesrgan
Real-ESRGAN function for VapourSynth
https://github.com/holywu/vs-realesrgan
pytorch real-esrgan tensorrt vapoursynth
Last synced: about 1 month ago
JSON representation
Real-ESRGAN function for VapourSynth
- Host: GitHub
- URL: https://github.com/holywu/vs-realesrgan
- Owner: HolyWu
- License: bsd-3-clause
- Created: 2021-08-16T02:09:12.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2024-07-21T08:48:24.000Z (7 months ago)
- Last Synced: 2024-10-06T12:44:55.797Z (5 months ago)
- Topics: pytorch, real-esrgan, tensorrt, vapoursynth
- Language: Python
- Homepage:
- Size: 43 KB
- Stars: 76
- Watchers: 5
- Forks: 9
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Real-ESRGAN
Training Real-World Blind Super-Resolution with Pure Synthetic Data, based on https://github.com/xinntao/Real-ESRGAN.## Dependencies
- [PyTorch](https://pytorch.org/get-started/) 2.6.0.dev or later
- [VapourSynth](http://www.vapoursynth.com/) R66 or later`trt` requires additional packages:
- [Torch-TensorRT](https://pytorch.org/TensorRT/) 2.6.0.dev or laterTo 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
```python
from vsrealesrgan import realesrganret = realesrgan(clip)
```See `__init__.py` for the description of the parameters.