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 hashes)

Uploaded Python 3

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