Skip to main content

DPIR function for VapourSynth

Project description

DPIR

Plug-and-Play Image Restoration with Deep Denoiser Prior, based on https://github.com/cszn/DPIR.

Dependencies

  • NumPy
  • ONNX Runtime. CUDA and TensorRT require onnxruntime-gpu, while DirectML requires onnxruntime-directml. Note that only one of onnxruntime, onnxruntime-gpu and onnxruntime-directml should be installed at a time in any one environment.
  • VapourSynth R55 or newer.
  • (Optional) CUDA Toolkit
  • (Optional) cuDNN
  • (Optional) TensorRT

Installation

pip install --upgrade vsdpir
python -m vsdpir

Usage

from vsdpir import DPIR

ret = DPIR(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

vsdpir-2.1.0-py3-none-any.whl (7.0 kB view details)

Uploaded Python 3

File details

Details for the file vsdpir-2.1.0-py3-none-any.whl.

File metadata

  • Download URL: vsdpir-2.1.0-py3-none-any.whl
  • Upload date:
  • Size: 7.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.1 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for vsdpir-2.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5518e161c3960becd71e67429e5fb4d81df77aa8b0e59671c1c5951f25c23a51
MD5 e6a0b345b2dab8cb6b5ba16ca10aabf7
BLAKE2b-256 2730d771622ef930496e1ae38a77f54c094851f10225f7ff8b7eef95b5ef4f51

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