Giter Club home page Giter Club logo

tf_flownet2's Introduction

FlowNet2 (TensorFlow)

This repo includes the code for running FlowNet 2 on Tensorflow. It does NOT support training. The goal of this code is just to be able to quickly run and use FlowNet 2 using pure Tensorflow, WITHOUT any custom ops. The code here is derived from this repo, which in turn is derived from this. It can deal with inputs of arbitrary sizes.

The main differences between the code here and the one in the repos above are:

  • No dependencies on custom ops. All the code here is pure Python code + Tensorflow code. Just install the requirements, download the checkpoints and you should be good to go.
  • No training code. The code in this repo is only meant for running the model. If you are interested in training a FlowNet 2 model, it should be relatively simple to add the training code from the repos above back.

Environment

This code has been tested with Python 3.7.5 and TensorFlow 2.1.0.

Installation

Clone the repo, install the requirements, and download the weights:

git clone https://github.com/vt-vl-lab/tf_flownet2.git
cd tf_flownet2
pip install -r requirements.txt
checkpoints/download.sh

Running the model should be easy, just check the available demo:

python demo.py

Reference

[1] E. Ilg, N. Mayer, T. Saikia, M. Keuper, A. Dosovitskiy, T. Brox FlowNet 2.0: Evolution of Optical Flow Estimation with Deep Networks, IEEE Conference in Computer Vision and Pattern Recognition (CVPR), 2017.

Acknowledgments

As noted above, this code is based on vt-vl-lab/tf_flownet2 and sampepose/flownet2-tf.

tf_flownet2's People

Contributors

telmop avatar yuliang-zou avatar

Watchers

James Cloos 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.