Giter VIP home page Giter VIP logo

contrastive-future-trajectory-prediction's Introduction

Contrastive-Future-Trajectory-Prediction

This repository corresponds to the official source code of the ICCV 2021 paper:

On Exposing the Challenging Long Tail in Future Prediction of Traffic Actors

Requirements

We use the same requirements as the Trajectron++, see: https://github.com/StanfordASL/Trajectron-plus-plus

Additionally, it is essential to download the Trajectron++ code, rename it to Trajectron_plus_plus and place it next to other folders (e.g., data/, models/).

Data

ETH-UCY:

The test data files are provided under data/. These are the result of running the processing script of the Trajectron++, see: https://github.com/StanfordASL/Trajectron-plus-plus/blob/master/experiments/pedestrians/process_data.py

nuScenes (Bird's-eye view):

For the processed files, you can run the processing script of nuScenes at: https://github.com/StanfordASL/Trajectron-plus-plus/blob/master/experiments/nuScenes/process_data.py

Pre-trained Models

All pretrained models (EWTA and with contrastive learning) are provided under models/.

Testing

This is an example call of the testing script (test Trajectron++EWTA on ETH):

python test.py --model models/eth_ewta/ --checkpoint 490 --data data/eth_test.pkl --kalman kalman/eth_PEDESTRIAN_test_kalman.pkl --node_type PEDESTRIAN

Another example to test all vehicles on nuScenes dataset:

python test.py --model models/nuScenes_ewta/ --checkpoint 25 --data data/nuScenes_test_full.pkl --kalman kalman/nuScenes_VEHICLE_test_kalman.pkl --node_type VEHICLE

Training

Coming soon...

Citation

If you use our repository or find it useful in your research, please cite the following paper:

@InProceedings{MCMB21,
  author       = "O. Makansi and {\"O}. {\c{C}}i{\c{c}}ek and Y. Marrakchi and T. Brox",
  title        = "On Exposing the Challenging Long Tail in Future Prediction of Traffic Actors",
  booktitle    = "IEEE International Conference on Computer Vision (ICCV)",
  month        = " ",
  year         = "2021",
  url          = "http://lmb.informatik.uni-freiburg.de/Publications/2021/MCMB21"
}

contrastive-future-trajectory-prediction's People

Contributors

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