Skip to main content

DPIR function for VapourSynth

Project description

DPIR

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

Dependencies

trt requires additional packages:

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

vsdpir-4.3.0-py3-none-any.whl (13.4 kB view details)

Uploaded Python 3

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

Hashes for vsdpir-4.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5df8d1db39a195135975a9b55132116b47ba43b37964f9f6e3635b2c02654770
MD5 fd806d0b1745e0460d5c3d8e845965f0
BLAKE2b-256 78daeb7382d984e7b909069895a2967ee5153bdba5d88e75ba544a989865ac06

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page