Coder Social home page Coder Social logo

tml_llie's Introduction

TML

Code for the paper: "Troublemaker Learning for Low-Light Image Enhancement"


The main figure

Environments


torch == 1.7.1
torchvision == 0.8.2
timm == 0.6.13

We use python 3.7. Higher version is possible, but ensure that the above environment dependency versions match. For example, a higher version of timm may require a higher version of python.

Download Pretrained Weights


We provide pretrained Predicting Model (PM) and Enhancing Model (EM) weights (i.e. Pred.pth.tar and Enhance.pth.tar). You can download here.

Evaluation


  • Download the pretrained PM and EM model parameters (i.e. Pred.pth.tar and Enhance.pth.tar) and place them in the ckpt folder.

  • Put some low-light images in the test folder and run:

python evaluate.py --save_dir ./output/ --resume-Pred ./ckpt/Pred.pth.tar --resume-Enhance ./ckpt/Enhance.pth.tar ./test/

The results will be saved in the output folder.

tml_llie's People

Contributors

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