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.
Metadata
Release files for vsdpir 4.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| vsdpir-4.3.0-py3-none-any.whl | Python 3 | none | any | Details |
Release files / vsdpir-4.3.0-py3-none-any.whl
| Download URL | vsdpir-4.3.0-py3-none-any.whl |
|---|---|
| Size | 13.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5df8d1db39a195135975a9b55132116b47ba43b37964f9f6e3635b2c02654770
|
|
BLAKE2b-256 checksum How to use checksums |
78daeb7382d984e7b909069895a2967ee5153bdba5d88e75ba544a989865ac06
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.3
|