# AnimeSR
Learning Real-World Super-Resolution Models for Animation Videos, based on https://github.com/TencentARC/AnimeSR.
Note that the SR result and hidden state of the current frame will propagate to the next frame. Hence you may not get the same result if you jump to random frames in the editor/previewer instead of rendering linearly.
## Dependencies
- [PyTorch](https://pytorch.org/get-started/) 2.5.0.dev or later
- [VapourSynth](http://www.vapoursynth.com/) R66 or later
`trt` requires additional Python packages:
- [TensorRT](https://developer.nvidia.com/tensorrt/) 10.0.1
- [Torch-TensorRT](https://pytorch.org/TensorRT/) 2.5.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, run `pip install --pre torch_tensorrt --index-url https://download.pytorch.org/whl/nightly/cu124`
## Installation
```
pip install -U vsanimesr
```
## Usage
```python
from vsanimesr import animesr
ret = animesr(clip)
```
See `__init__.py` for the description of the parameters.
Raw data
{
"_id": null,
"home_page": null,
"name": "vsanimesr",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.10",
"maintainer_email": null,
"keywords": "AnimeSR, PyTorch, TensorRT, VapourSynth",
"author": null,
"author_email": "HolyWu <holywu@gmail.com>",
"download_url": null,
"platform": null,
"description": "# AnimeSR\nLearning Real-World Super-Resolution Models for Animation Videos, based on https://github.com/TencentARC/AnimeSR.\n\nNote that the SR result and hidden state of the current frame will propagate to the next frame. Hence you may not get the same result if you jump to random frames in the editor/previewer instead of rendering linearly.\n\n\n## Dependencies\n- [PyTorch](https://pytorch.org/get-started/) 2.5.0.dev or later\n- [VapourSynth](http://www.vapoursynth.com/) R66 or later\n\n`trt` requires additional Python packages:\n- [TensorRT](https://developer.nvidia.com/tensorrt/) 10.0.1\n- [Torch-TensorRT](https://pytorch.org/TensorRT/) 2.5.0.dev\n\nTo 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`\n\nTo install Torch-TensorRT, run `pip install --pre torch_tensorrt --index-url https://download.pytorch.org/whl/nightly/cu124`\n\n\n## Installation\n```\npip install -U vsanimesr\n```\n\n\n## Usage\n```python\nfrom vsanimesr import animesr\n\nret = animesr(clip)\n```\n\nSee `__init__.py` for the description of the parameters.\n",
"bugtrack_url": null,
"license": null,
"summary": "AnimeSR function for VapourSynth",
"version": "2.0.0",
"project_urls": {
"Homepage": "https://github.com/HolyWu/vs-animesr",
"Issues": "https://github.com/HolyWu/vs-animesr/issues"
},
"split_keywords": [
"animesr",
" pytorch",
" tensorrt",
" vapoursynth"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "3e1813e4b874a9ac9d191116e67cbcab2903f9f8333cbb18c3081a7b27c293cf",
"md5": "be6fda8679c8128bee2e6e7764b52b55",
"sha256": "b18ce3cbe6f093fd8a6f22cf1501c51948349be47def0c514818a0cd35b239d1"
},
"downloads": -1,
"filename": "vsanimesr-2.0.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "be6fda8679c8128bee2e6e7764b52b55",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.10",
"size": 11141748,
"upload_time": "2024-07-06T13:03:07",
"upload_time_iso_8601": "2024-07-06T13:03:07.923098Z",
"url": "https://files.pythonhosted.org/packages/3e/18/13e4b874a9ac9d191116e67cbcab2903f9f8333cbb18c3081a7b27c293cf/vsanimesr-2.0.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-07-06 13:03:07",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "HolyWu",
"github_project": "vs-animesr",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "vsanimesr"
}