All Projects → tuvovan → MIRNet-Keras

tuvovan / MIRNet-Keras

Licence: MIT License
Keras Implementation of MIRNet - SoTA in Image Denoising, Super Resolution and Image Enhancement - CVPR 2020

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to MIRNet-Keras

Restoring-Extremely-Dark-Images-In-Real-Time
The project is the official implementation of our CVPR 2021 paper, "Restoring Extremely Dark Images in Real Time"
Stars: ✭ 79 (+276.19%)
Mutual labels:  denoising, low-light-image-enhancement
Paddlegan
PaddlePaddle GAN library, including lots of interesting applications like First-Order motion transfer, wav2lip, picture repair, image editing, photo2cartoon, image style transfer, and so on.
Stars: ✭ 4,987 (+23647.62%)
Mutual labels:  resolution, super-resolution
SwinIR
SwinIR: Image Restoration Using Swin Transformer (official repository)
Stars: ✭ 1,260 (+5900%)
Mutual labels:  super-resolution, denoising
libsrcnn
Super-Resolution imaging with Convolutional Neural Network library for G++, Non-OpenCV model.
Stars: ✭ 14 (-33.33%)
Mutual labels:  resolution, super-resolution
traiNNer
traiNNer: Deep learning framework for image and video super-resolution, restoration and image-to-image translation, for training and testing.
Stars: ✭ 130 (+519.05%)
Mutual labels:  super-resolution, denoising
Psychic-CCTV
A video analysis tool built completely in python.
Stars: ✭ 21 (+0%)
Mutual labels:  resolution, super-resolution
ModelZoo.pytorch
Hands on Imagenet training. Unofficial ModelZoo project on Pytorch. MobileNetV3 Top1 75.64🌟 GhostNet1.3x 75.78🌟
Stars: ✭ 42 (+100%)
Mutual labels:  sota
SMSR
[CVPR 2021] Exploring Sparsity in Image Super-Resolution for Efficient Inference
Stars: ✭ 205 (+876.19%)
Mutual labels:  super-resolution
best AI papers 2021
A curated list of the latest breakthroughs in AI (in 2021) by release date with a clear video explanation, link to a more in-depth article, and code.
Stars: ✭ 2,740 (+12947.62%)
Mutual labels:  sota
res
Device resolution detection module
Stars: ✭ 35 (+66.67%)
Mutual labels:  resolution
HCFlow
Official PyTorch code for Hierarchical Conditional Flow: A Unified Framework for Image Super-Resolution and Image Rescaling (HCFlow, ICCV2021)
Stars: ✭ 140 (+566.67%)
Mutual labels:  super-resolution
esrgan
Enhanced SRGAN. Champion PIRM Challenge on Perceptual Super-Resolution
Stars: ✭ 48 (+128.57%)
Mutual labels:  super-resolution
deepsum
DeepSUM: Deep neural network for Super-resolution of Unregistered Multitemporal images (ESA PROBA-V challenge)
Stars: ✭ 39 (+85.71%)
Mutual labels:  super-resolution
Super-Resolution-Meta-Attention-Networks
Open source single image super-resolution toolbox containing various functionality for training a diverse number of state-of-the-art super-resolution models. Also acts as the companion code for the IEEE signal processing letters paper titled 'Improving Super-Resolution Performance using Meta-Attention Layers’.
Stars: ✭ 17 (-19.05%)
Mutual labels:  super-resolution
Trident-Dehazing-Network
NTIRE 2020 NonHomogeneous Dehazing Challenge (CVPR Workshop 2020) 1st Solution.
Stars: ✭ 42 (+100%)
Mutual labels:  super-resolution
EDVR Keras
Keras implementation of EDVR: Video Restoration with Enhanced Deformable Convolutional Networks
Stars: ✭ 35 (+66.67%)
Mutual labels:  super-resolution
PAM
[TPAMI 2020] Parallax Attention for Unsupervised Stereo Correspondence Learning
Stars: ✭ 62 (+195.24%)
Mutual labels:  super-resolution
django-js-routes
Expose and perform reverse lookups of Django URLs in the frontend world.
Stars: ✭ 20 (-4.76%)
Mutual labels:  resolution
CF-Net
Official repository of "Deep Coupled Feedback Network for Joint Exposure Fusion and Image Super-Resolution"
Stars: ✭ 55 (+161.9%)
Mutual labels:  super-resolution
srzoo
SRZoo: An integrated repository for super-resolution using deep learning
Stars: ✭ 135 (+542.86%)
Mutual labels:  super-resolution

MIRNet

Learning Enriched Features for Real Image Restoration and Enhancement teaser

Content

Getting Started

  • Clone the repository

Prerequisites

  • Tensorflow 2.2.0+
  • Python 3.6+
  • Keras 2.3.0
  • PIL
  • numpy
pip install -r requirements.txt

Running

Image Denoising

Training

  • Get the dataset
    wget https://competitions.codalab.org/my/datasets/download/a26784fe-cf33-48c2-b61f-94b299dbc0f2
    
  • Training
    python train_denoise.py
    

Testing

  • Test
    python test_denoise.py
    

Usage

usage: train_denoise.py [-h] [--lr LR] [--gpu GPU]
                        [--grad_clip_norm GRAD_CLIP_NORM]
                        [--num_epochs NUM_EPOCHS]
                        [--train_batch_size TRAIN_BATCH_SIZE]
                        [--checkpoint_ep CHECKPOINT_EP]
                        [--checkpoint_filepath CHECKPOINT_FILEPATH]
                        [--num_rrg NUM_RRG] [--num_mrb NUM_MRB]
                        [--num_channels NUM_CHANNELS]
optional arguments:
                        -h, --help show this help message and exit
                        --lr LR
                        --gpu GPU
                        --grad_clip_norm GRAD_CLIP_NORM
                        --num_epochs NUM_EPOCHS
                        --train_batch_size TRAIN_BATCH_SIZE
                        --checkpoint_ep CHECKPOINT_EP
                        --checkpoint_filepath CHECKPOINT_FILEPATH
                        --num_rrg NUM_RRG
                        --num_mrb NUM_MRB
                        --num_channels NUM_CHANNELS

Download the weight here and put it to the weights/denoise folder.

usage: test_denoise.py [-h] [--test_path TEST_PATH] [--gpu GPU]
                       [--checkpoint_filepath CHECKPOINT_FILEPATH]
                       [--num_rrg NUM_RRG] [--num_mrb NUM_MRB]
                       [--num_channels NUM_CHANNELS]
optional arguments:
                        -h, --help  show this help message and exit
                        --test_path TEST_PATH
                        --gpu GPU
                        --checkpoint_filepath CHECKPOINT_FILEPATH
                        --num_rrg NUM_RRG
                        --num_mrb NUM_MRB
                        --num_channels NUM_CHANNELS

Image Super Resolution

Training

  • Get the dataset here
  • Training
    python train_super.py
    

Testing

  • Test
    python test_super.py
    

Usage

usage: train_super.py [-h] [--lr LR] [--gpu GPU]
                      [--grad_clip_norm GRAD_CLIP_NORM]
                      [--num_epochs NUM_EPOCHS]
                      [--train_batch_size TRAIN_BATCH_SIZE]
                      [--checkpoint_ep CHECKPOINT_EP]
                      [--checkpoint_filepath CHECKPOINT_FILEPATH]
                      [--num_rrg NUM_RRG] [--num_mrb NUM_MRB] [--mode MODE]
                      [--scale_factor SCALE_FACTOR]
optional arguments:
                    -h, --help            show this help message and exit
                    --lr LR
                    --gpu GPU
                    --grad_clip_norm GRAD_CLIP_NORM
                    --num_epochs NUM_EPOCHS
                    --train_batch_size TRAIN_BATCH_SIZE
                    --checkpoint_ep CHECKPOINT_EP
                    --checkpoint_filepath CHECKPOINT_FILEPATH
                    --num_rrg NUM_RRG
                    --num_mrb NUM_MRB
                    --mode MODE
                    --scale_factor SCALE_FACTOR

Download the weight here and put it to the weights/super folder.

usage: test_super.py [-h] [--test_path TEST_PATH] [--gpu GPU]
                     [--checkpoint_filepath CHECKPOINT_FILEPATH]
                     [--num_rrg NUM_RRG] [--num_mrb NUM_MRB]
                     [--num_channels NUM_CHANNELS]
                     [--scale_factor SCALE_FACTOR]
optional arguments:
                    -h, --help            show this help message and exit
                    --test_path TEST_PATH
                    --gpu GPU
                    --checkpoint_filepath CHECKPOINT_FILEPATH
                    --num_rrg NUM_RRG
                    --num_mrb NUM_MRB
                    --num_channels NUM_CHANNELS
                    --scale_factor SCALE_FACTOR

Image Enhancement

Training

  • Get the dataset here
  • Training
    python train_delight.py
    

Testing

  • Test
    python test_delight.py
    

Usage

usage: train_delight.py [-h] [--lr LR] [--gpu GPU]
                        [--grad_clip_norm GRAD_CLIP_NORM]
                        [--num_epochs NUM_EPOCHS]
                        [--train_batch_size TRAIN_BATCH_SIZE]
                        [--checkpoint_ep CHECKPOINT_EP]
                        [--checkpoint_filepath CHECKPOINT_FILEPATH]
                        [--num_rrg NUM_RRG] [--num_mrb NUM_MRB] [--mode MODE]
optional arguments:
                        -h, --help            show this help message and exit
                        --lr LR
                        --gpu GPU
                        --grad_clip_norm GRAD_CLIP_NORM
                        --num_epochs NUM_EPOCHS
                        --train_batch_size TRAIN_BATCH_SIZE
                        --checkpoint_ep CHECKPOINT_EP
                        --checkpoint_filepath CHECKPOINT_FILEPATH
                        --num_rrg NUM_RRG
                        --num_mrb NUM_MRB
                        --mode MODE

Download the weight here and put it to the weights/delight folder.

usage: test_delight.py [-h] [--test_path TEST_PATH] [--gpu GPU]
                       [--checkpoint_filepath CHECKPOINT_FILEPATH]
                       [--num_rrg NUM_RRG] [--num_mrb NUM_MRB]
                       [--num_channels NUM_CHANNELS]
optional arguments:
                        -h, --help            show this help message and exit
                        --test_path TEST_PATH
                        --gpu GPU
                        --checkpoint_filepath CHECKPOINT_FILEPATH
                        --num_rrg NUM_RRG
                        --num_mrb NUM_MRB

Result

Image Denoising

Input - Noisy Output Denoised

Image Enhancement

Input - Lowlight Output Delighted

Image Super Resolution

Input - LowRes Output Bicubic Output HighRes

License

This project is licensed under the MIT License - see the LICENSE file for details

References

Citation

@misc{zamir2020learning,
      title={Learning Enriched Features for Real Image Restoration and Enhancement}, 
      author={Syed Waqas Zamir and Aditya Arora and Salman Khan and Munawar Hayat and Fahad Shahbaz Khan and Ming-Hsuan Yang and Ling Shao},
      year={2020},
      eprint={2003.06792},
      archivePrefix={arXiv},
      primaryClass={cs.CV}
}

Acknowledgments

  • Any ideas on updating or misunderstanding, please send me an email: [email protected]
  • If you find this repo helpful, kindly give me a star.
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].