Giter Site home page Giter Site logo

unsupflownet's Introduction

Back to Basics: Unsupervised Learning of Optical Flow via Brightness Constancy and Motion Smoothness

This repository contains a TensorFlow implementation from the original work: Back to Basics: Unsupervised Learning of Optical Flow via Brightness Constancy and Motion Smoothness (ECCV 2016 Workshops, Part 3).

Authors: Jason J. Yu, Adam W. Harley, Konstantinos G. Derpanis

Citation

@inproceedings{
    jjyu2016unsupflow,
    author = {Jason J. Yu and Adam W. Harley and Konstantinos G. Derpanis},
    title = {Back to Basics: Unsupervised Learning of Optical Flow via Brightness Constancy and Motion Smoothness},
    booktitle = {Computer Vision - ECCV 2016 Workshops, Part 3},
    year = {2016}
}

Description

The code provided has been improved beyond what was described in the original paper. The original work focused on only a loss based on photometric constancy and motion smoothness. This can be achieved by disabling additional loss terms in the hyper-parameter file. This code has only been tested on python 2.7 and TensorFlow 1.8.0.

Benchmarks

Coming soon!

Usage

Hardware

It is recommended to train using an NVIDIA GPU with minimum 8GB of VRAM.

Software and Libraries

  • Python 2.7
  • TensorFlow 1.8.0 (And its requirements)
  • Pillow
  • NumPy
  • SciPy

Scripts and Modules

train.py: Script to train network
test.py: Script for tested trained network, paths for datasets should be modified
util/TrainingData.py: handles reading, queuing, and processing of data, paths for datasets should be modified here
components: Helpers to build graph for network and losses
util: Larger components such as the network, losses, etc.
hyperparams.json: Contains all hyper-parameters, flags for different loss terms, and settings for training

Example data lists

example_data: an example of how a dataset should be structured
example_data/data: a single example image pair and its corresponding ground truth flow
example_data/datalists: example datalists for the data
example_data/datalists2 example datalists used for training with KITTI

Pre-trained Models

model_download_scripts contains scripts for downloading pre-trained models along with their corresponding hyper-parameters. Currently there is only one model available trained with photometric and smoothness loss terms. Run these scripts from their respective directories e.g. photometric_smoothness.

unsupflownet's People

Contributors

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