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 | Actions Reset |
|---|---|---|---|---|
| vsdpir-4.3.0-py3-none-any.whl | Python 3 | none | any | Details for vsdpir-4.3.0-py3-none-any.whl |
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
|
Security for vsdpir 4.3.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.