dbisf-Turtle
Turtle (Learning Truncated Causal History Model for Video Restoration, NeurIPS 2024) in plain PyTorch, our fast and light version: a shorter run time and a smaller file, at most 0.05 dB below the authors' mean PSNR on every test set of the benchmark. Made from the authors' GoPro checkpoint by python -m dbis.convert of deblurring is solved? (benchmark site); the authors' code: https://github.com/Ascend-Research/Turtle.
The same method with the authors' outputs: Illaitar/dbis-Turtle. Every model: the dbis collection.
Use
pip install "deblurring-is-solved @ git+https://github.com/illaitar/deblurring-is-solved"
python -m dbis.run dbisf-Turtle blurry_frames/ sharp_frames/ # a folder of frames (one clip) or a video file
import dbis
net = dbis.load("dbisf-Turtle") # 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 |
|---|---|---|---|
dbisf-Turtle.wpk |
68 MB | 34.5316 | 198.7 ms |
| the authors' code and checkpoint | 237 MB | 34.5598 | 760.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).
dbisf-Turtle.json here has the file's sha256, the source checkpoint and its md5, and the network's arguments. .wpk is the repository's wpack format (dbis/wpack.py, needs zstandard).
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.