Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
R

RetinexNet

> 编程语言
Open source

A Tensorflow implementation of RetinexNet

793 stars0 likes2 views
WebsiteGitHub

About

A Tensorflow implementation of RetinexNet

RetinexNet

This is a Tensorflow implement of RetinexNet

Deep Retinex Decomposition for Low-Light Enhancement. In BMVC'18 (Oral Presentation)

Chen Wei*, Wenjing Wang*, Wenhan Yang, Jiaying Liu. (* indicates equal contributions)

Paper, Project Page & Dataset

Requirements

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

Testing Usage

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

bash
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/ \
    --decom=0                               # save only enhanced results or together with decomposition results

Or you can just see some demo cases by

bash
python main.py --phase=test

, the results will be saved under ./test_results/.

Training Usage

First, download training data set from our project page. Save training pairs of our LOL dataset under ./data/our485/, and synthetic pairs under ./data/syn/. Then, just run

…

Tips:

  1. The model is quite small, so it will take just minutes to finish the training procedure if you are using GPU. For people who are using CPU, it is also affordable.
  2. The enhancement performance is highly dependent on training parameters. So if you change the default parameters, you might get some weird results.

Citation

@inproceedings{Chen2018Retinex,
 title={Deep Retinex Decomposition for Low-Light Enhancement},
 author={Chen Wei, Wenjing Wang, Wenhan Yang, Jiaying Liu},
 booktitle={British Machine Vision Conference},
 year={2018},
 organization={British Machine Vision Association}
}

Issues· 23 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

Pythoncomputer-visionimage-enhancementimage-processingimage-restoration

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言