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.6.0 or later
- VapourSynth R66 or later
trt requires additional packages:
- TensorRT 10.7.0.post1 or later
- Torch-TensorRT 2.6.0 or later
To install the latest stable version of PyTorch and Torch-TensorRT, run:
pip install -U packaging setuptools wheel
pip install -U torch torchvision torch_tensorrt --index-url https://download.pytorch.org/whl/cu126 --extra-index-url https://pypi.nvidia.com
Installation
pip install -U vsdpir
If you want to download all models at once, run python -m vsdpir. If you prefer to only download the model you
specified at first run, set auto_download=True in dpir().
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file vsdpir-4.3.0-py3-none-any.whl.
File metadata
- Download URL: vsdpir-4.3.0-py3-none-any.whl
- Upload date:
- Size: 13.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5df8d1db39a195135975a9b55132116b47ba43b37964f9f6e3635b2c02654770
|
|
| MD5 |
fd806d0b1745e0460d5c3d8e845965f0
|
|
| BLAKE2b-256 |
78daeb7382d984e7b909069895a2967ee5153bdba5d88e75ba544a989865ac06
|