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
- NumPy
- PyTorch 1.13
- VapourSynth R55+
trt
requires additional runtime libraries:
- CUDA Toolkit 11.7
- cuDNN 8.6
- TensorRT 8.5
For ease of installation on Windows, you can download the 7z file on Releases which contains required runtime libraries and Python wheel file. Either add the unzipped directory to your system PATH
or copy the DLL files to a directory which is already in your system PATH
. Finally pip install the Python wheel file.
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
File details
Details for the file vsanimesr-1.0.0-py3-none-any.whl
.
File metadata
- Download URL: vsanimesr-1.0.0-py3-none-any.whl
- Upload date:
- Size: 11.1 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3f952573f908f3c3c7ef2a22c1483e37e5d16a77981f0f96d3a0ef1ce7edb38f |
|
MD5 | 5df42ab9731e64c505a897690a748ef5 |
|
BLAKE2b-256 | 9357a263ece86dc3ff9f45922ec4d36af85054448de12da155d72934c8d67f71 |