Skip to main content

DPIR

Plug-and-Play Image Restoration with Deep Denoiser Prior, based on https://github.com/cszn/DPIR.

Dependencies

git clone https://github.com/HolyWu/ncnn.git --depth 1
cd ncnn
git submodule update --init --recursive --depth 1
pip install .

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)

Table of built distributions (wheels) for vsdpir-ncnn 2.0.0
File Interpreter ABI Platform
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

Release history Release notifications | RSS feed

This release

2.0.0 This release

1 release file

1.0.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page