Code Monkey home page Code Monkey logo

deep_battery_saver's Introduction

Deep Battery Saver: End-to-end Learning for Power Constrained Contrast Enhancement

License: CC BY-NC-SA 4.0

The details about our deep battery saver can be found in our paper.

License + Attribution

This code is licensed under CC BY-NC-SA 4.0. Commercial usage is not permitted. If you use this code in a scientific publication, please cite the following paper:

@ARTICLE{yin_tmm20_pcce,
author={J. -L. {Yin} and B. -H. {Chen} and Y. -T. {Peng} and C. -C. {Tsai}},
journal={IEEE Transactions on Multimedia}, 
title={Deep Battery Saver: End-to-End Learning for Power Constrained Contrast Enhancement}, 
year={2021},
volume={23},
number={},
pages={1049-1059},
doi={10.1109/TMM.2020.2992962}}

Dependencies

  • Python 3
  • Anaconda 3
  • Tensorflow >= 2.0.0 (CUDA version >= 10.0 if installing with CUDA. More details)
  • Python packages: You can install the required libraries by the command conda DeepBatterySaver -n recreated_env --file requirements.txt. We checked this code on cuda-10.0 and cudnn-7.6.5.

It was tested and runs under the following OSs:

  • Windows 10
  • Ubuntu 16.04/18.04

Might work under others, but didn't get to test any other OSs just yet.

Usage

  1. Clone this github repo.
git clone https://github.com/bigmms/deep_battery_saver
  1. Place your testing images in ./test folder. (There are several sample images).
  2. Then, cd to deep_battery_saver and run following command for evaluation:
python main.py --source_path ./test/pills.jpg
  1. To run with different settings, add --num_epochs, --power_level, --learning_rate, --source_path, --target_path as you need.
  2. The results are in ./results folder.

Results

deep_battery_saver's People

Contributors

bigmms avatar lily001ying avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

deep_battery_saver's Issues

Paper architecture and github architecture

Hi,
My Name Is Emmanuel Sampaio.

I am contacting you because I am currently comparing different approaches to perform power-constrained contrast enhancement (PCCE). Among the different models I tested, yours proved to be really interesting and innovative, and for this reason I would like to check its performance in comparison with other deep and non-deep approaches.

Given this context, I would like to ask you if the implementation presented in this GitHub corresponds to the implementation discussed in this paper:
https://ieeexplore.ieee.org/document/9089316/citations#citations

I'm asking this because I noticed some differences:

  1. Residual blocks: the code uses a function to add block's input and output, while the paper mentioned a simple concatenation.
  2. The output function: the paper not mentioned the use of a Tanh.
  3. The parameter $\lambda$ from the power loss is constantly set equal to 30.

Thank you for your attention,
Emmanuel Sampaio

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.