DPIR function for VapourSynth
Project description
DPIR
Plug-and-Play Image Restoration with Deep Denoiser Prior, based on https://github.com/cszn/DPIR.
Dependencies
- PyTorch 2.3 or later
- VapourSynth R66 or later
trt
requires additional Python packages:
- TensorRT 10.0.1
- Torch-TensorRT
To install TensorRT, simply run pip install tensorrt==10.0.1
To install Torch-TensorRT, Windows users can pip install the whl file on Releases. Linux users can run pip install --pre torch-tensorrt --index-url https://download.pytorch.org/whl/nightly/cu121
(requires PyTorch nightly build).
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-4.0.0-py3-none-any.whl
(13.3 kB
view details)
File details
Details for the file vsdpir-4.0.0-py3-none-any.whl
.
File metadata
- Download URL: vsdpir-4.0.0-py3-none-any.whl
- Upload date:
- Size: 13.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 18cf8ad867d6bf211e352ec4c8f8da483655c0d1d850f85d880dad85909067bb |
|
MD5 | 6cfa68bad1c29c056e26ff34422f082c |
|
BLAKE2b-256 | b0e714b9ebddbadd92df3ddf27882a2a18df768802b222948f1515126f3d2683 |