All Projects → KupynOrest → Deblurgan

KupynOrest / Deblurgan

Licence: other
Image Deblurring using Generative Adversarial Networks

Programming Languages

python
139335 projects - #7 most used programming language
HTML
75241 projects

Projects that are alternatives of or similar to Deblurgan

Starnet
StarNet
Stars: ✭ 141 (-93.06%)
Mutual labels:  gan, pix2pix, image-processing, image-manipulation
Pix2pix
Image-to-image translation with conditional adversarial nets
Stars: ✭ 8,765 (+331.14%)
Mutual labels:  gan, pix2pix, image-manipulation, image-to-image-translation
Cyclegan
Software that can generate photos from paintings, turn horses into zebras, perform style transfer, and more.
Stars: ✭ 10,933 (+437.78%)
Mutual labels:  gan, pix2pix, image-manipulation
Pytorch Cyclegan And Pix2pix
Image-to-Image Translation in PyTorch
Stars: ✭ 16,477 (+710.48%)
Mutual labels:  gan, pix2pix, image-manipulation
Awesome-ICCV2021-Low-Level-Vision
A Collection of Papers and Codes for ICCV2021 Low Level Vision and Image Generation
Stars: ✭ 163 (-91.98%)
Mutual labels:  gan, image-manipulation, image-to-image-translation
Igan
Interactive Image Generation via Generative Adversarial Networks
Stars: ✭ 3,845 (+89.13%)
Mutual labels:  gan, pix2pix, image-manipulation
Focal Frequency Loss
Focal Frequency Loss for Generative Models
Stars: ✭ 141 (-93.06%)
Mutual labels:  gan, pix2pix, image-manipulation
Deep learning projects
Stars: ✭ 28 (-98.62%)
Mutual labels:  convolutional-neural-networks, gan, image-processing
Pix2pixhd
Synthesizing and manipulating 2048x1024 images with conditional GANs
Stars: ✭ 5,553 (+173.14%)
Mutual labels:  gan, pix2pix, image-to-image-translation
Neuralnetworkpostprocessing
Unity Post Processing with Convolution Neural Network
Stars: ✭ 81 (-96.02%)
Mutual labels:  convolutional-neural-networks, gan, pix2pix
Dped
Software and pre-trained models for automatic photo quality enhancement using Deep Convolutional Networks
Stars: ✭ 1,315 (-35.32%)
Mutual labels:  convolutional-neural-networks, gan, image-processing
Bitmap
C++ Bitmap Library
Stars: ✭ 125 (-93.85%)
Mutual labels:  image-processing, image-manipulation
Mgan
Masking GAN - Image attribute mask generation
Stars: ✭ 120 (-94.1%)
Mutual labels:  image-processing, image-manipulation
Keras transfer cifar10
Object classification with CIFAR-10 using transfer learning
Stars: ✭ 120 (-94.1%)
Mutual labels:  convolutional-neural-networks, convolutional-networks
Combogan
Stars: ✭ 134 (-93.41%)
Mutual labels:  gan, image-manipulation
Gandissect
Pytorch-based tools for visualizing and understanding the neurons of a GAN. https://gandissect.csail.mit.edu/
Stars: ✭ 1,700 (-16.38%)
Mutual labels:  gan, image-manipulation
Nuxt Image Loader Module
An image loader module for nuxt.js that allows you to configure image style derivatives.
Stars: ✭ 135 (-93.36%)
Mutual labels:  image-processing, image-manipulation
Avir
High-quality pro image resizing / scaling C++ library, image resize
Stars: ✭ 135 (-93.36%)
Mutual labels:  image-processing, image-manipulation
Pi Rec
🔥 PI-REC: Progressive Image Reconstruction Network With Edge and Color Domain. 🔥 图像翻译,条件GAN,AI绘画
Stars: ✭ 1,619 (-20.36%)
Mutual labels:  gan, image-to-image-translation
Oneshottranslation
Pytorch implementation of "One-Shot Unsupervised Cross Domain Translation" NIPS 2018
Stars: ✭ 135 (-93.36%)
Mutual labels:  gan, image-manipulation

DeblurGAN

arXiv Paper Version

Pytorch implementation of the paper DeblurGAN: Blind Motion Deblurring Using Conditional Adversarial Networks.

Our network takes blurry image as an input and procude the corresponding sharp estimate, as in the example:

The model we use is Conditional Wasserstein GAN with Gradient Penalty + Perceptual loss based on VGG-19 activations. Such architecture also gives good results on other image-to-image translation problems (super resolution, colorization, inpainting, dehazing etc.)

How to run

Prerequisites

  • NVIDIA GPU + CUDA CuDNN (CPU untested, feedback appreciated)
  • Pytorch

Download weights from Google Drive . Note that during the inference you need to keep only Generator weights.

Put the weights into

/.checkpoints/experiment_name

To test a model put your blurry images into a folder and run:

python test.py --dataroot /.path_to_your_data --model test --dataset_mode single --learn_residual

Data

Download dataset for Object Detection benchmark from Google Drive

Train

If you want to train the model on your data run the following command to create image pairs:

python datasets/combine_A_and_B.py --fold_A /path/to/data/A --fold_B /path/to/data/B --fold_AB /path/to/data

And then the following command to train the model

python train.py --dataroot /.path_to_your_data --learn_residual --resize_or_crop crop --fineSize CROP_SIZE (we used 256)

Other Implementations

Keras Blog

Keras Repository

Citation

If you find our code helpful in your research or work please cite our paper.

@article{DeblurGAN,
  title = {DeblurGAN: Blind Motion Deblurring Using Conditional Adversarial Networks},
  author = {Kupyn, Orest and Budzan, Volodymyr and Mykhailych, Mykola and Mishkin, Dmytro and Matas, Jiri},
  journal = {ArXiv e-prints},
  eprint = {1711.07064},
  year = 2017
}

Acknowledgments

Code borrows heavily from pix2pix. The images were taken from GoPRO test dataset - DeepDeblur

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].