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 requiresonnxruntime-directml
. Note that only one ofonnxruntime
,onnxruntime-gpu
andonnxruntime-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
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
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
vsdpir-2.2.0-py3-none-any.whl
(7.2 kB
view hashes)