Giter Club home page Giter Club logo

deep-high-dynamic-range's Introduction

deep-high-dynamic-range

Tensorflow implementation of SIGGRAPH 17 paper: Deep High Dynamic Range Imaging of Dynamic Scenes

Update 2021-05-26: This implementation is out of date and I do not intend to maintain it as it's only a course project during my undergrad, so I've archived it.

Installation

This implementation requires python3, tensorflow 2.0 and opencv. Please install dependencies via:

pip install tensorflow==2.0
pip install opencv-python
pip install opencv-contrib-python

Tested on MacOS 10.15 and CentOS 7.0

Training

First download the dataset

cd data/
./download.sh

Then run preprocess.py. This file accepts train or test as optional argument to generate only train/test set. The raw data will be transformed into tfrecords format and stored in tf-data folder.

python preprocess.py

Finally, run train.py, this file accepts a argument specifying model type: direct, we or wie

python train.py [model_type]

Testing

Use pretrained weights for testing, run test.py. This file again accepts a model type string and an additional argument specifying checkpoint path.

python test.py [model_type] [checkpoint_path]

Example:

python test.py direct saved-checkpoints/deepflow-direct/model.ckpt-100

Reference

  1. Kalantari, N.K., Ramamoorthi, R.: Deep High Dynamic Range Imaging of Dynamic Scenes. ACM TOG 36(4) (2017)

deep-high-dynamic-range's People

Contributors

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