Skip to content

Latest commit

 

History

History
38 lines (27 loc) · 1.16 KB

README.md

File metadata and controls

38 lines (27 loc) · 1.16 KB

SCUNet

Practical Blind Denoising via Swin-Conv-UNet and Data Synthesis, based on https://github.com/cszn/SCUNet.

Dependencies

trt requires additional packages:

To install the latest nightly build of PyTorch and Torch-TensorRT, run:

pip install -U packaging setuptools wheel
pip install --pre -U torch torchvision --index-url https://download.pytorch.org/whl/nightly/cu126
pip install --no-deps --pre -U torch_tensorrt --index-url https://download.pytorch.org/whl/nightly/cu126
pip install -U tensorrt --extra-index-url https://pypi.nvidia.com

Installation

pip install -U vsscunet

If you want to download all models at once, run python -m vsscunet. If you prefer to only download the model you specified at first run, set auto_download=True in scunet().

Usage

from vsscunet import scunet

ret = scunet(clip)

See __init__.py for the description of the parameters.