项目
在 GitHub 查看
RaphaelMeudec/deblur-gan
关于
《DeblurGAN: Blind Motion Deblurring Using Conditional Adversarial Networks》的 Keras 实现
系统与基础设施实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- -1
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文What is this repo ?
This repository is a Keras implementation of Deblur GAN. You can find a tutorial on how it works on Medium. Below is a sample result (from left to right: sharp image, blurred image, deblurred image)

Installation
virtualenv venv -p python3
. venv/bin/activate
pip install -r requirements/requirements.txt
pip install -e .
Dataset
Get the GOPRO dataset, and extract it in the deblur-gan directory. The directory name should be GOPRO_Large.
Use:
python scripts/organize_gopro_dataset.py --dir_in=GOPRO_Large --dir_out=images
Training
python scripts/train.py --n_images=512 --batch_size=16 --log_dir /path/to/log/dir
Use python scripts/train.py --help for all options
Testing
python scripts/test.py
Use python scripts/test.py --help for all options
Deblur your own image
python scripts/deblur_image.py --weight_path=/path/to/generator.h5 --input_dir=/path/to/image/dir --output_dir=/path/to/deblurred/dir
探索相关项目
加载中…