GithubHelp home page GithubHelp logo

mac-jie / ruas Goto Github PK

View Code? Open in Web Editor NEW

This project forked from karelzhang/ruas

0.0 0.0 0.0 147 KB

[CVPR 2021] This is the official code for the paper "Retinex-inspired Unrolling with Cooperative Prior Architecture Search for Low-light Image Enhancement"

Python 100.00%

ruas's Introduction

RUAS

this is the official code for the paper "Retinex-inspired Unrolling with Cooperative Prior Architecture Search for Low-light Image Enhancement"

Environment Preparing

python 3.6
pytorch 0.4.1

Testing

We provide different models which are trained from different datasets. lol is trained from LOL dataset. upe is trained from MIT5K dataset. dark is trained from DarkFace dataset. Finally, run test.py, the results will be saved in ./result/

python test.py 
--data_path           #The folder path of the picture you want to test
E:/test/
--model               #The checkpoint name
lol or upe or dark
--save_path            #The save path of the picture processed
./result/

Training

If you want to train your own model on a new dataset, run train.py. Only low light images are needed. The model will be saved in ./EXP/train/weights.pt

python train.py 

Searching

Please get train set and valid set ready, and run train_search.py. Due to the data you used is different from ours, it is reasonable that the searched architecture is different from ours.

python train_search.py 

Reference

If you find our work useful in your research please consider citing our paper:

@inproceedings{liu2021ruas,
title = {Retinex-inspired Unrolling with Cooperative Prior Architecture Search for Low-light Image Enhancement},
author = {Risheng, Liu and Long, Ma and Jiaao, Zhang and Xin, Fan and Zhongxuan, Luo},
booktitle = {Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition},
year = {2021}
}

A great thanks to DARTS for providing the basis for this code.

ruas's People

Contributors

karelzhang 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.