NAFNet Compact for darktable

An optional RGB denoiser for darktable Neural Restore. It uses the official NAFNet weights from darktable's model catalog and stores large weight tensors in FP16. It expands them to FP32 for inference. The download is 54.0 MB, versus 108.4 MB for the official NAFNet package and 55.0 MB for the default NIND package.

Install in darktable 5.6.2

  1. Download denoise-nafnet-compact.dtmodel.
  2. Open Preferences โ†’ AI, enable AI, and choose Import from fileโ€ฆ. Select the downloaded file.
  3. Select denoise nafnet small compact as the active model for the denoise task.
  4. Open Neural Restore โ†’ denoise and process an image.

Use the denoise task after demosaicing. Use darktable's raw denoise task for sensor data. darktable import documentation

What we measured

We used the released darktable 5.6.2 importer and its tiled RGB denoiser with ONNX Runtime on Apple Silicon CPU. On 15 PolyU camera-noise pairs and three clean controls, the largest compact-to-stock pixel difference was 0.053 of one 8-bit channel level before rounding. On a separate 1,152 ร— 1,152 crop processed in four tiles, the largest difference was 0.049 of one level. Both packages took about 1.42 seconds per 512 ร— 512 test crop and about six seconds for the four-tile image. These measurements cover the two NAFNet packages on one Mac.

On the 15 paired crops, stock NAFNet averaged 38.09 dB PSNR. Default NIND averaged 37.07 dB, and OpenCV non-local means averaged 38.05 dB. This small panel covers post-demosaic camera noise. Test the output on your own files and edits.

This package uses Megvii Research's NAFNet-SIDD-width32 model. It derives from the official darktable 5.6.0 model package. The release preserves the upstream preprocessing attributes and includes the original license and notices. NAFNet source and training information

Downloads last month

-

Downloads are not tracked for this model. How to track
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support