dbis-NAFNet-64

NAFNet (Simple Baselines for Image Restoration, ECCV 2022) in plain PyTorch, our code and weight file, the same outputs as the authors' code. Made from the authors' GoPro checkpoint by python -m dbis.convert of deblurring is solved? (benchmark site); the authors' code: https://github.com/megvii-research/NAFNet.

The same method faster and lighter: Illaitar/dbisf-NAFNet-64. Every model: the dbis collection.

Use

pip install "deblurring-is-solved @ git+https://github.com/illaitar/deblurring-is-solved"
python -m dbis.run dbis-NAFNet-64 blurry.png sharp.png   # an image, a folder of frames or a video
import dbis
net = dbis.load("dbis-NAFNet-64")   # fetches the file from this repository on first use and checks its sha256
out = net.restore(frames)   # frames [T, 3, H, W], [B, T, 3, H, W] or [3, H, W]

File

File Size GoPro PSNR, dB Time per 720p frame
dbis-NAFNet-64.safetensors 271 MB 33.7103 33.5 ms
the authors' code and checkpoint 272 MB 33.7103 34.9 ms

PSNR: the 1,111 GoPro test frames, 8-bit outputs. Time: the benchmark's latency harness, one A100, batch 1 (DBIS.md has every number and option).

dbis-NAFNet-64.json here has the file's sha256, the source checkpoint and its md5, and the network's arguments. .safetensors, float32.

Terms

The file keeps the terms of the checkpoint it is made from: see LICENSE.md and licenses/. Cite the method's paper when you use its weights.

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

Collection including Illaitar/dbis-NAFNet-64