プロジェクト
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
関連プロジェクトを探す
読み込み中…