Giter Site home page Giter Site logo

newtonian's Introduction

N3: Newtonian Image Understanding: Unfolding the Dynamics of Objects in Statis Images

This is the source code for Newtonian Neural Networks N3, which predicts the dynamics of objects in scenes.

Citation

If you find N3 useful in your research, please consider citing:

@inproceedings{mottaghiCVPR16N3,
    Author = {Roozbeh Mottaghi and Hessam Bagherinezhad and Mohammad Rastegari and Ali Farhadi},
    Title = {Newtonian Image Understanding: Unfolding the Dynamics of Objects in Static Images},
    Booktitle = {CVPR},
    Year = {2016}
}

Requirements

This code is written in Lua, based on Torch. If you are on Ubuntu 14.04+, you can follow this instruction to install torch.

You need the VIND dataset. Extract it in the current directory, and rename it to VIND. Or you can put it somewhere else and change the config.DataRootPath in setting_options.lua.

Training

To run the training:

th main.lua train

This trains the model on training data, and once in every 10 iterations, evalutates on one val_images batch. If you want to validate on val_videos go to setting_options.lua and change the line valmeta = imvalmeta to valmeta = vidvalmeta.

Test

You need to get the weights. Extract the weights in the current directory and rename it weights. To run the test:

th main.lua test

License

This code is released under MIT License.

newtonian's People

Contributors

hessamb avatar

Watchers

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