https://github.com/hamadichihaoui/BIRD
This is the official implementation of "Blind Image Restoration via Fast Diffusion Inversion"
https://github.com/hamadichihaoui/BIRD
Last synced: 7 months ago
JSON representation
This is the official implementation of "Blind Image Restoration via Fast Diffusion Inversion"
- Host: GitHub
- URL: https://github.com/hamadichihaoui/BIRD
- Owner: hamadichihaoui
- Created: 2024-05-28T11:26:15.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2024-12-11T15:11:17.000Z (10 months ago)
- Last Synced: 2024-12-11T16:24:11.529Z (10 months ago)
- Language: Python
- Homepage:
- Size: 50.3 MB
- Stars: 246
- Watchers: 5
- Forks: 19
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-diffusion-categorized - [Code
README
# Blind Image Restoration via Fast Diffusion Inversion (BIRD)
This is the official implementation of "Blind Image Restoration via Fast Diffusion Inversion
". [arxiv](https://arxiv.org/abs/2405.19572)## Environment
```
pip install numpy torch blobfile tqdm pyYaml pillow diffusers
```## Pre-Trained Models
For face restoration, download the pretrained [model](https://drive.google.com/file/d/1qMs7tNGV3tkOZNKH5L130dkwsmobEJdh/view?usp=sharing) from and put it into ```checkpoints/```.
## Blind Deblurring
```
python blind_deblurring.py
```
## Non-uniform Deblurring
```
python non_uniform_deblurring.py
```
## Inpainting
```
python inpainting.py
```
## Denoising
```
python denoising.py
```
## Superresolution
```
python super_resolution.py
```
## References
If you find this repository useful for your research, please cite the following work.
```
@article{chihaoui2024blind,
title={Blind Image Restoration via Fast Diffusion Inversion},
author={Chihaoui, Hamadi and Lemkhenter, Abdelhak and Favaro, Paolo},
journal={arXiv preprint arXiv:2405.19572},
year={2024}
}```