DPIR
Plug-and-Play Image Restoration with Deep Denoiser Prior, based on https://github.com/cszn/DPIR.
Dependencies
- ncnn. Note that the official Python package is not built with Vulkan compute support. Windows users can install the wheel from https://github.com/HolyWu/ncnn/releases/latest. Non-windows users have to build from source using my fork (requires Vulkan SDK):
git clone https://github.com/HolyWu/ncnn.git --depth 1
cd ncnn
git submodule update --init --recursive --depth 1
pip install .
- VapourSynth R55 or later.
Installation
pip install -U vsdpir_ncnn
python -m vsdpir_ncnn
Usage
from vsdpir_ncnn import DPIR
dpir = DPIR(task='deblock')
ret = dpir.run(clip, strength=25)
See __init__.py for the description of the parameters.
Metadata
Release files for vsdpir-ncnn 2.0.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_ncnn-2.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Release files / vsdpir_ncnn-2.0.0-py3-none-any.whl
| Download URL | vsdpir_ncnn-2.0.0-py3-none-any.whl |
|---|---|
| Size | 14.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e12e69a3249101ebf541d9abc83971d2d956a8fdec4433a5750490164184a3e8
|
|
BLAKE2b-256 checksum How to use checksums |
96bbadcde47890e94a7143aaab715cd072980a413bb6bfb0fef2fd00b098a6c3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.7
|