Skip to main content

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

trt requires additional Python packages:

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

vsanimesr-2.0.0-py3-none-any.whl (11.1 MB view details)

Uploaded Python 3

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

Hashes for vsanimesr-2.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b18ce3cbe6f093fd8a6f22cf1501c51948349be47def0c514818a0cd35b239d1
MD5 be6fda8679c8128bee2e6e7764b52b55
BLAKE2b-256 3e1813e4b874a9ac9d191116e67cbcab2903f9f8333cbb18c3081a7b27c293cf

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page