# 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 later
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
```python
from vsrealesrgan import realesrgan
ret = realesrgan(clip)
```
See `__init__.py` for the description of the parameters.
Raw data
{
"_id": null,
"home_page": null,
"name": "vsrealesrgan",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.10",
"maintainer_email": null,
"keywords": "PyTorch, Real-ESRGAN, TensorRT, VapourSynth",
"author": null,
"author_email": "HolyWu <holywu@gmail.com>",
"download_url": null,
"platform": null,
"description": "# Real-ESRGAN\nTraining Real-World Blind Super-Resolution with Pure Synthetic Data, based on https://github.com/xinntao/Real-ESRGAN.\n\n\n## Dependencies\n- [PyTorch](https://pytorch.org/get-started/) 2.6.0.dev or later\n- [VapourSynth](http://www.vapoursynth.com/) R66 or later\n\n`trt` requires additional packages:\n- [Torch-TensorRT](https://pytorch.org/TensorRT/) 2.6.0.dev or later\n\nTo install the latest nightly build of PyTorch and Torch-TensorRT, run:\n```\npip install -U packaging setuptools wheel\npip install --pre -U torch torchvision --index-url https://download.pytorch.org/whl/nightly/cu126\npip install --no-deps --pre -U torch_tensorrt --index-url https://download.pytorch.org/whl/nightly/cu126\npip install -U tensorrt-cu12 tensorrt-cu12_bindings tensorrt-cu12_libs --extra-index-url https://pypi.nvidia.com\n```\n\n\n## Installation\n```\npip install -U vsrealesrgan\n```\n\nIf you want to download all models at once, run `python -m vsrealesrgan`. If you prefer to only download the model you\nspecified at first run, set `auto_download=True` in `realesrgan()`.\n\n\n## Usage\n```python\nfrom vsrealesrgan import realesrgan\n\nret = realesrgan(clip)\n```\n\nSee `__init__.py` for the description of the parameters.\n",
"bugtrack_url": null,
"license": null,
"summary": "Real-ESRGAN function for VapourSynth",
"version": "5.2.1",
"project_urls": {
"Homepage": "https://github.com/HolyWu/vs-realesrgan",
"Issues": "https://github.com/HolyWu/vs-realesrgan/issues"
},
"split_keywords": [
"pytorch",
" real-esrgan",
" tensorrt",
" vapoursynth"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "3685bee01587a17c90e0d2eee764b78b86cbe19e5395c8fd020b2b55c02bae4c",
"md5": "899935816aa0b6a60ceeae9e273f33bd",
"sha256": "51f38c5d928cf483a29cbaa3fe00c582a3d5d45e72c92f4cf0dc59f4283397d9"
},
"downloads": -1,
"filename": "vsrealesrgan-5.2.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "899935816aa0b6a60ceeae9e273f33bd",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.10",
"size": 17229,
"upload_time": "2025-01-04T14:43:24",
"upload_time_iso_8601": "2025-01-04T14:43:24.038396Z",
"url": "https://files.pythonhosted.org/packages/36/85/bee01587a17c90e0d2eee764b78b86cbe19e5395c8fd020b2b55c02bae4c/vsrealesrgan-5.2.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-01-04 14:43:24",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "HolyWu",
"github_project": "vs-realesrgan",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "vsrealesrgan"
}