Giter Site home page Giter Site logo

gladnet's Introduction

GLADNet

This is a Tensorflow implantation of GLADNet

GLADNet: Low-Light Enhancement Network with Global Awareness. In FG'18 Workshop FOR-LQ 2018
Wenjing Wang*, Chen Wei*, Wenhan Yang, Jiaying Liu. (* indicates equal contributions)

Paper, Project Page

Teaser Image

Requirements

  1. Python
  2. Tensorflow >= 1.3.0
  3. numpy, PIL

Testing Usage

To quickly test your own images with our model, you can just run through

python main.py 
    --use_gpu=1 \                           # use gpu or not
    --gpu_idx=0 \
    --gpu_mem=0.5 \                         # gpu memory usage
    --phase=test \
    --test_dir=/path/to/your/test/dir/ \
    --save_dir=/path/to/save/results/ \

Training Usage

First, download training data set from our project page. Save training pairs of our LOL dataset under ./data/train/low/, and synthetic pairs under ./data/train/normal/. Then, start training by

python main.py
    --use_gpu=1 \                           # use gpu or not
    --gpu_idx=0 \
    --gpu_mem=0.8 \                         # gpu memory usage
    --phase=train \
    --epoch=50 \                           # number of training epoches
    --batch_size=8 \
    --patch_size=384 \                       # size of training patches
    --base_lr=0.001 \                      # initial learning rate for adm
    --eval_every_epoch=5 \                 # evaluate and save checkpoints for every # epoches
    --checkpoint_dir=./checkpoint           # if it is not existed, automatically make dirs
    --sample_dir=./sample                   # dir for saving evaluation results during training

Experiment Results

Subjective Results

Subjective Result

Objective Results

We use the Naturalness Image Quality Evaluator (NIQE) no-reference image quality score for quantitative comparison. NIQE compares images to a default model computed from images of natural scenes. A smaller score indicates better perceptual quality.

Dataset DICM NPE MEF Average
MSRCR 3.117 3.369 4.362 3.586
LIME 3.243 3.649 4.745 3.885
DeHZ 3.608 4.258 5.071 4.338
SRIE 2.975 3.127 4.042 3.381
GLADNet 2.761 3.278 3.468 3.184

Computer Vision Application

We test several real low-light images and their corresponding enhanced results on Google Cloud Visio API. GLADNet helps it to identify the objects in this image.

APP1

APP2

Citation

@inproceedings{wang2018gladnet,
 title={GLADNet: Low-Light Enhancement Network with Global Awareness},
 author={Wang, Wenjing and Wei, Chen and Yang, Wenhan and Liu, Jiaying},
 booktitle={Automatic Face \& Gesture Recognition (FG 2018), 2018 13th IEEE International Conference},
 pages={751--755},
 year={2018},
 organization={IEEE}
}

Deep Retinex Decomposition: Deep Retinex Decomposition for Low-Light Enhancement. Chen Wei*, Wenjing Wang*, Wenhan Yang, Jiaying Liu. (* indicates equal contributions) In BMVC'18 (Oral Presentation) Website Github

gladnet's People

Contributors

weichen582 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.