GithubHelp home page GithubHelp logo

kexianshen / trajectory-prediction Goto Github PK

View Code? Open in Web Editor NEW
3.0 1.0 0.0 174 KB

A simple, lightweight, and efficient solution for multi-object trajectory prediction

Python 95.10% Jupyter Notebook 4.90%

trajectory-prediction's Introduction

Trajectory Prediction

Highlight

  • Simple and Lightweight: Requires no additional CUDA libraries, ensuring simplicity and ease of use.
  • Efficient on Embedded Devices: Designed to be friendly and effective on embedded devices.


Masked road model


Masked trajectory model


Trajectory prediction

Getting Started

Environment

pip install -r requirements.txt

Preprocess

# Prepare data
# Download from: https://www.argoverse.org/av2.html#download-link
data_root
├── train
│   ├── 0000b0f9-99f9-4a1f-a231-5be9e4c523f7
│   ├── 0000b6ab-e100-4f6b-aee8-b520b57c0530
│   ├── ...
├── val
│   ├── 00010486-9a07-48ae-b493-cf4545855937
│   ├── 00062a32-8d6d-4449-9948-6fedac67bfcd
│   ├── ...
├── test
│   ├── 0000b329-f890-4c2b-93f2-7e2413d4ca5b
│   ├── 0008c251-e9b0-4708-b762-b15cb6effc27
│   ├── ...
# Set data_root in conf/config.yaml
python preprocess.py

Train

# Train mrm and mtm models
python train.py model=model_mrm epochs=20

python train.py model=model_mtm epochs=20

# Set mrm_checkpoint, mtm_checkpoint in conf/config.yaml for combined training
python train.py monitor=val_AvgMinFDE

Eval

# Set checkpoint in conf/config.yaml for evaluation
python eval.py test=true

Credits

forecast-mae, sept

trajectory-prediction's People

Contributors

kexianshen avatar

Stargazers

 avatar  avatar  avatar

Watchers

 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.