Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 3 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 (8 months ago)
- Default Branch: master
- Last Pushed: 2024-06-16T17:16:53.000Z (7 months ago)
- Last Synced: 2024-08-01T18:31:27.242Z (6 months ago)
- Language: Python
- Homepage:
- Size: 2.07 MB
- Stars: 225
- Watchers: 5
- Forks: 18
- 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
```
![image info](results/blind_deblurring.png)## Non-uniform Deblurring
```
python non_uniform_deblurring.py
```
![image info](results/non_uniform_deblurring.png)## Inpainting
```
python inpainting.py
```![image info](results/inpainted.png)
## Denoising
```
python denoising.py
```
![image info](results/denoised.png)## Superresolution
```
python super_resolution.py
```
![image info](results/super_resolution.png)## 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}
}```