AnimeSR function for VapourSynth
Project description
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 2.5.0.dev or later
- VapourSynth R66 or later
trt requires additional Python packages:
- TensorRT 10.0.1
- Torch-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
from vsanimesr import animesr
ret = animesr(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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file vsanimesr-2.0.0-py3-none-any.whl.
File metadata
- Download URL: vsanimesr-2.0.0-py3-none-any.whl
- Upload date:
- Size: 11.1 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b18ce3cbe6f093fd8a6f22cf1501c51948349be47def0c514818a0cd35b239d1
|
|
| MD5 |
be6fda8679c8128bee2e6e7764b52b55
|
|
| BLAKE2b-256 |
3e1813e4b874a9ac9d191116e67cbcab2903f9f8333cbb18c3081a7b27c293cf
|