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
- PyTorch 1.13
- VapourSynth R55+
trt
requires additional runtime libraries:
- CUDA Toolkit 11.7
- cuDNN 8.6
- TensorRT 8.5.3.1
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 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-3.0.1-py3-none-any.whl
(13.5 kB
view details)
File details
Details for the file vsdpir-3.0.1-py3-none-any.whl
.
File metadata
- Download URL: vsdpir-3.0.1-py3-none-any.whl
- Upload date:
- Size: 13.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 36fcab82ddaa3d0191858060d059e7f42727b7f54fcd6fc2fa427ad7dedc4002 |
|
MD5 | 6442baabaee18c49dd4f21405a6abc63 |
|
BLAKE2b-256 | 16b27b430a53144a4f9be4a7294f4642c281db6f77640b326a4a6aff10177702 |