Coder Social home page Coder Social logo

zeroscatter's Introduction

ZeroScatter: Domain Transfer for Long Distance Imaging and Vision through Scattering Media

Zheng Shi, Ethan Tseng, Mario Bijelic, Werner Ritter, Felix Heide

If you find our work useful in your research, please cite:

@article{shi2021zeroscatter,
title={ZeroScatter: Domain Transfer for Long Distance Imaging and Vision through Scattering Media},
author={Shi, Zheng and Tseng, Ethan and Bijelic, Mario and Ritter, Werner and Heide, Felix},
journal={The IEEE Conference on Computer Vision and Pattern Recognition (CVPR)},
year={2021}
}

Requirements

This code is developed using TesnorFlow 2.2.0 on Linux machine. Full frozen environment can be found in 'environment.yml', note some of these libraries are not necessary to run this code.

Data

This code requires data in TFRecord format. If you are not familiar with it, you may find this Tensorflow tutorial helpful. Please refer to the paper and the data loading functions in 'utils.py' for more detailed requirements for each training step.

Testing

To perform inference on real-world captures, please first download the pre-trained model from here to 'ckpts/' folder, then you can run the 'inference.ipynb' notebook in Jupyter Notebook. The notebook will load the checkpoint and process captured sensor measurements located in 'tfrecord_example/'. The reconstructed images will be displayed within the notebook.

Training

We include 3 bash scripts for training purpose:

  • train_0.sh: performs training of RGB2Gated model, which is later used for indirect supervision based on gated captures.
  • train_1.sh: performs training of the ZeroScatter translation block.
  • train_2.sh: performs training of the ZeroScatter consistency block.

License

Our code is licensed under BSL-1. By downloading the software, you agree to the terms of this License. The data in the folder 'tfrecord_example/' based on the DENSE Dataset.

Questions

If there is anything unclear, please feel free to reach out to me at zhengshi[at]princeton[dot]edu.

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.