|
Download dbis-DSTNet/README.md from Illaitar/dbis: direct link, hf CLI and curl.
- Browser
- Download file 1.84 kB
-
https://huggingface.co/Illaitar/dbis/resolve/main/dbis-DSTNet/README.md
- Command line
-
hf download hf://Illaitar/dbis/dbis-DSTNet/README.md
-
curl -L -o README.md https://huggingface.co/Illaitar/dbis/resolve/main/dbis-DSTNet/README.md
1.84 kB
| license: mit | |
| library_name: pytorch | |
| pipeline_tag: image-to-image | |
| tags: | |
| - deblurring | |
| - motion-deblurring | |
| - video-deblurring | |
| - image-restoration | |
| - dbis | |
| # dbis-DSTNet | |
| DSTNet (Deep Discriminative Spatial and Temporal Network for Efficient Video Deblurring, CVPR 2023) in plain PyTorch, our code and weight file, the same outputs as the authors' code. Made from the authors' checkpoint (trained on GoPro) by the conversion of [deblurring is solved](https://github.com/illaitar/deblurring-is-solved) ([benchmark site](https://illaitar.github.io/deblurring-is-solved/)); the authors' code: https://github.com/xuboming8/DSTNet. | |
| The same checkpoint in other versions: [dbisf-DSTNet](https://huggingface.co/Illaitar/dbis/tree/main/dbisf-DSTNet). | |
| Every model: [the index of Illaitar/dbis](https://huggingface.co/Illaitar/dbis). | |
| ## Use | |
| ```bash | |
| pip install "deblurring-is-solved @ git+https://github.com/illaitar/deblurring-is-solved" | |
| python -m dbis.run dbis-DSTNet blurry_frames/ sharp_frames/ # a folder of frames (one clip) or a video file | |
| hf download Illaitar/dbis dbis-DSTNet/dbis-DSTNet.safetensors # this file alone, without the package | |
| ``` | |
| ```python | |
| import dbis | |
| net = dbis.load("dbis-DSTNet") # fetches only this folder's file 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 | | |
| |---|---:| | |
| | `dbis-DSTNet.safetensors` | 30 MB | | |
| The outputs equal those of the authors' code on the GoPro frames of the equality check of its port (DBIS.md). | |
| `dbis-DSTNet.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: MIT. See `LICENSE.md` and `licenses/`. Cite the method's paper when you use its weights. | |