.. _pretrained-weights: Pretrained Weights ------------------ The following denoisers have **pretrained weights** available; we next briefly summarize the origin of the weights, associated reference and relevant details. All pretrained weights are hosted on `HuggingFace `_. .. list-table:: Summary of pretrained weights :widths: 25 25 :header-rows: 1 * - Model - Weight * - :meth:`deepinv.models.DnCNN` - from `Learning Maximally Monotone Operators `_ trained on noise level 2.0/255. `DnCNN grayscale weights `_, `DnCNN color weights `_. * - - from `Learning Maximally Monotone Operators `_ with Lipschitz constraint to ensure approximate firm nonexpansiveness, trained on noise level 2.0/255. `Non-expansive DnCNN grayscale weights `_, `Non-expansive DnCNN color weights `_. * - :meth:`deepinv.models.DRUNet` - Default: trained with deepinv `(logs) `_, trained on noise levels in [0, 20]/255 and on the same dataset as DPIR `DRUNet grayscale weights `_, `DRUNet color weights `_. * - - from `DPIR `_, trained on noise levels in [0, 50]/255. `DRUNet original grayscale weights `_, `DRUNET original color weights `_. * - :meth:`deepinv.models.GSDRUNet` - weights from `Gradient-Step PnP `_, trained on noise levels in [0, 50]/255. `GSDRUNet color weights `_. * - :meth:`deepinv.models.SCUNet` - from `SCUNet `_, trained on images degraded with synthetic realistic noise and camera artefacts. `SCUNet color weights `_. * - :meth:`deepinv.models.SwinIR` - from `SwinIR `_, trained on various noise levels levels in {15, 25, 50}/255, in color and grayscale. The weights are automatically downloaded from the authors' `project page `_. * - :meth:`deepinv.models.DiffUNet` - Default: from `Ho et al. `_ trained on FFHQ (128 hidden channels per layer). `DiffUNet weights `_. * - - from `Dhariwal and Nichol `_ trained on ImageNet128 (256 hidden channels per layer). `weights `_. * - :meth:`deepinv.models.EPLLDenoiser` - Default: parameters estimated with deepinv on 50 mio patches from the training/validation images from BSDS500 for grayscale and color images. * - - Code for generating the weights for the example :ref:`patch-prior-demo` is contained within the demo * - :meth:`deepinv.models.Restormer` - from `Restormer: Efficient Transformer for High-Resolution Image Restoration `_. Pretrained parameters from `swz30 github `_. * - - Also available on the `deepinverse Restormer HugginfaceHub `_.