This repository is a Keras implementation of Deblur GAN. You can find a tutorial on how it works on Medium.
virtualenv venv -p python3
. venv/bin/activate
pip install -r requirements.txt
Get the GOPRO dataset, and extract it in the deblur-gan
directory. The directory name should be GOPRO_Large
.
Use:
python organize_gopro_dataset.py --dir_in=GOPRO_Large --dir_out=images
python train.py --n_images=512 --batch_size=16
Use python train.py --help
for all options
python test.py
Use python test.py --help
for all options
python deblur_image.py --image_path=path/to/image
And here is one demo, but full of grids, which is so called 'checkerboard artifacts'. Result link