GithubHelp home page GithubHelp logo

apcc-geoslegend / attentionaugmentedconvlstm Goto Github PK

View Code? Open in Web Editor NEW

This project forked from sisl/attentionaugmentedconvlstm

0.0 0.0 0.0 188.53 MB

Implementation of TAAConvLSTM and SAAConvLSTM used in "Attention Augmented ConvLSTM for Environment Prediction"

License: MIT License

Python 99.63% Shell 0.37%

attentionaugmentedconvlstm's Introduction

Attention Augmented ConvLSTM for Environment Prediction

Implementation of TAAConvLSTM and SAAConvLSTM used in "Attention Augmented ConvLSTM for Environment Prediction" by Bernard Lange, Masha Itkina, and Mykel J.Kochenderfer.

TAAConvLSTM and SAAConvLSTM are attention augmented ConvLSTM mechanisms motivated by the limited long-range dependencies between hidden representations resulting in the vanishing of moving objects and poor spatial dependcies in the hidden representations. We test it as part of the PredNet architecture (Lotter W, Kreiman G, Cox D., 2016). The comparison of the predictions is shown below.

Setup

  • Python 3.7
  • Libraries: PyTorch (1.4.1/cudatoolkit=10.1) + tensorboard + numpy + scikit-image + math + yaml + argparser + hickle.\
  • Tested in Ubuntu + Nvidia RTX 2080Ti with CUDA (10.1).

Datasets

We run experiments on: KITTI, Waymo.
Dataset processing according to: https://github.com/mitkina/EnvironmentPrediction. Modify the config in the configs file with a path to the preprocessed dataset.

Training

Run the following script with appropriate config file from the configs folder.

train.sh

References

  • Lotter, W., Kreiman, G. and Cox, D., 2016. Deep predictive coding networks for video prediction and unsupervised learning.

  • Bello, I., Zoph, B., Vaswani, A., Shlens, J. and Le, Q.V., 2019. Attention augmented convolutional networks. In Proceedings of the IEEE International Conference on Computer Vision (pp. 3286-3295).

  • Itkina, Masha, Katherine Driggs-Campbell, and Mykel J. Kochenderfer. Tensorflow implementation of "Dynamic Environment Prediction in Urban Scenes using Recurrent Representation Learning." https://github.com/mitkina/EnvironmentPrediction

  • Myeongjun Kim Attention Augmented Conv2d Pytorch implementation (AAConv2d.py): https://github.com/leaderj1001/Attention-Augmented-Conv2d

attentionaugmentedconvlstm's People

Contributors

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