Git Product home page Git Product logo

s2tnet-trajectory-prediction's Introduction

s2tnet

  • This is the official implementation of the paper: S2TNet: Spatio-Temporal Transformer Networks for Trajectory Prediction in Autonomous Driving (ACML 2021).

Quick Start

Requires:

  • adamod==0.0.3
  • ConfigArgParse==1.5.2
  • numpy==1.19.0
  • PyYAML==6.0
  • scipy==1.7.1
  • tensorboardX==2.5.1
  • torch==1.9.0
  • tqdm==4.31.1

1) Install Packages

 pip install -r requirements.txt

2) Dataset

We use Apollo Scape Trajectory dataset

Performance

Results on Apollo Scape:

WSADE ADEv ADEp ADEb WSFDE FDEv FDEp FDEb
1.1679 1.9874 0.6834 1.7000 2.1798 3.5783 1.3048 3.2151

S2TNet

Training & Evaluation

You can train our model by below command:

python3 main.py --config ./config/apolloscape/train.yaml

Testing & Uploading to Leaderboard

You can test our model by below command:

python3 main.py --config ./config/apolloscape/test.yaml

The result file, named as prediction_result.zip, is generated after testing phase. Then, you can directly upload the file to (http://apolloscape.auto/trajectory.html) to obtain the official results.

Citation

If you find our work useful for your research, please consider citing the paper:

@inproceedings{pmlr-v157-chen21a,
  title = 	 {S2TNet: Spatio-Temporal Transformer Networks for Trajectory Prediction in Autonomous Driving},
  author =       {Chen, Weihuang and Wang, Fangfang and Sun, Hongbin},
  booktitle = 	 {Proceedings of The 13th Asian Conference on Machine Learning},
  pages = 	 {454--469},
  year = 	 {2021},
  volume = 	 {157},
  month = 	 {17--19 Nov}
}

s2tnet-trajectory-prediction's People

Contributors

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