• Stars
    star
    107
  • Rank 314,074 (Top 7 %)
  • Language
    Python
  • License
    MIT License
  • Created 7 months ago
  • Updated 2 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

SIMPL: A Simple and Efficient Multi-agent Motion Prediction Baseline for Autonomous Driving

SIMPL: A Simple and Efficient Multi-agent Motion Prediction Baseline for Autonomous Driving

Introduction

This is the project page of the paper

  • Lu Zhang, Peiliang Li, Sikang Liu, and Shaojie Shen, "SIMPL: A Simple and Efficient Multi-agent Motion Prediction Baseline for Autonomous Driving", arXiv preprint arXiv:2402.02519 (2024), (Corresponding author: Lu ZHANG, [email protected]),

which is accepted for publication in the IEEE Robotics and Automation Letters (RA-L), 2024.

Preprint: arXiv

Video: YouTube

Qualitative Results

  • On Argoverse 1 motion forecasting dataset

  • On Argoverse 2 motion forecasting dataset


Todo List

  • Release code for Argoverse 2 dataset
  • Release training and evaluation scripts for DDP
  • First release

Gettting Started

Install dependencies

  • Create a new conda virtual env
conda create --name simpl python=3.8
conda activate simpl
  • Install PyTorch according to your CUDA version. We recommend CUDA >= 11.1, PyTorch >= 1.8.0.
conda install pytorch==1.12.0 torchvision==0.13.0 torchaudio==0.12.0 cudatoolkit=11.6 -c pytorch -c conda-forge
pip install scikit-image IPython tqdm ipdb tensorboard

Play with pretrained models (Argoverse 1)

Generate a subset of the dataset for testing using the script. It will generate 1k samples to data_argo/features/:

sh scripts/argo_preproc_small.sh

The dataset directory should be organized as follows:

data_argo
โ”œโ”€โ”€ features
โ”‚ย ย  โ”œโ”€โ”€ train
โ”‚ย ย  โ”‚ย ย  โ”œโ”€โ”€ 100001.pkl
โ”‚ย ย  โ”‚ย ย  โ”œโ”€โ”€ 100144.pkl
โ”‚ย ย  โ”‚ย ย  โ”œโ”€โ”€ 100189.pkl
...
โ”‚ย ย  โ””โ”€โ”€ val
โ”‚ย ย      โ”œโ”€โ”€ 10018.pkl
โ”‚ย ย      โ”œโ”€โ”€ 10080.pkl
โ”‚ย ย      โ”œโ”€โ”€ 10164.pkl
...

The pre-trained weights are located at saved_models/. Use the script below to visualize prediction results:

sh scripts/simpl_av1_vis.sh

Since we store each sequence as a single file, the system may raise error OSError: [Erron 24] Too many open files during evaluation and training. You may use the command below to solve this issue:

ulimit -SHn 51200
ulimit -s unlimited

To evaluate the trained models:

sh scripts/simpl_av1_eval.sh

You are supposed to get:

Validation set finish, cost 289.01 secs
-- minade_1: 1.428 minfde_1: 3.240 mr_1: 0.512 brier_fde_1: 3.240 minade_k: 0.658 minfde_k: 0.947 mr_k: 0.081 brier_fde_k: 1.558

Train from scratch

  • Preprocess full Argoverse 1 motion forecasting dataset using the script:
sh scripts/argo_preproc_all.sh

The preprocessed dataset will cost about 15 GB storage, please reserve enough space for preprocessing.

  • Launch training using the script:
# single-GPU
sh scripts/simpl_av1_train.sh

# multi-GPU based on DDP
sh scripts/simpl_av1_train_ddp.sh
  • For model evaluation, please refer to the following scripts:
# single-GPU
sh scripts/simpl_av1_eval.sh

# multi-GPU based on DDP
sh scripts/simpl_av1_eval_ddp.sh

Train/Evaluate/Visualize SIMPL using Argoverse 2

Please refer to the scripts in the directory scripts/, and the usage is similar to scripts for the Argoverse 1 dataset. If you have any questions, please feel free to raise an issue or contact us via email.

Acknowledgment

We would like to express sincere thanks to the authors of the following packages and tools:

License

This repository is licensed under MIT license.

More Repositories

1

VINS-Mono

A Robust and Versatile Monocular Visual-Inertial State Estimator
C++
4,733
star
2

VINS-Fusion

An optimization-based multi-sensor state estimator
C++
3,181
star
3

Fast-Planner

A Robust and Efficient Trajectory Planner for Quadrotors
C++
2,194
star
4

A-LOAM

Advanced implementation of LOAM
C++
1,957
star
5

VINS-Mobile

Monocular Visual-Inertial State Estimator on Mobile Phones
C++
1,242
star
6

Teach-Repeat-Replan

Teach-Repeat-Replan: A Complete and Robust System for Aggressive Flight in Complex Environments
C++
875
star
7

GVINS

Tightly coupled GNSS-Visual-Inertial system for locally smooth and globally consistent state estimation in complex environment.
C++
792
star
8

FUEL

An Efficient Framework for Fast UAV Exploration
C++
744
star
9

Stereo-RCNN

Code for 'Stereo R-CNN based 3D Object Detection for Autonomous Driving' (CVPR 2019)
Python
681
star
10

DenseSurfelMapping

This is the open-source version of ICRA 2019 submission "Real-time Scalable Dense Surfel Mapping"
C++
661
star
11

FIESTA

Fast Incremental Euclidean Distance Fields for Online Motion Planning of Aerial Robots
C++
552
star
12

EPSILON

C++
493
star
13

ESVO

This repository maintains the implementation of "Event-based Stereo Visual Odometry".
C++
408
star
14

Btraj

Bezier Trajectory Generation for Autonomous Quadrotor, ICRA 2018
C++
388
star
15

grad_traj_optimization

Gradient-Based Online Safe Trajectory Generator
C++
349
star
16

open_quadtree_mapping

This is a monocular dense mapping system corresponding to IROS 2018 "Quadtree-accelerated Real-time Monocular Dense Mapping"
Cuda
347
star
17

MVDepthNet

This repository provides PyTorch implementation for 3DV 2018 paper "MVDepthNet: real-time multiview depth estimation neural network"
Python
305
star
18

MonoLaneMapping

Online Monocular Lane Mapping Using Catmull-Rom Spline (IROS 2023)
Python
277
star
19

D2SLAM

$D^2$SLAM: Decentralized and Distributed Collaborative Visual-inertial SLAM System for Aerial Swarm
Jupyter Notebook
218
star
20

Omni-swarm

A Decentralized Omnidirectional Visual-Inertial-UWB State Estimation System for Aerial Swar.
Jupyter Notebook
179
star
21

GVINS-Dataset

A dataset containing synchronized visual, inertial and GNSS raw measurements.
C++
173
star
22

spatiotemporal_semantic_corridor

Implementation of the paper "Safe Trajectory Generation For Complex Urban Environments Using Spatio-temporal Semantic Corridor".
C++
160
star
23

Nxt-FC

Mini PX4 for UAV Group
Shell
146
star
24

PredRecon

A Prediction-boosted Planner for Fast and High-quality Autonomous Aerial Reconstruction
C++
142
star
25

eudm_planner

Implementation of the paper "Efficient Uncertainty-aware Decision-making for Automated Driving Using Guided Branching".
C++
139
star
26

DSP

Trajectory Prediction with Graph-based Dual-scale Context Fusion
Python
132
star
27

mockamap

a simple map generator based on ROS
C++
120
star
28

pointcloudTraj

Trajectory generation on point clouds
C++
117
star
29

Flow-Motion-Depth

This is the project page of the paper "Flow-Motion and Depth Network for Monocular Stereo and Beyond''
Python
114
star
30

Pagor

Pyramid Semantic Graph-based Global Point Cloud Registration with Low Overlap (IROS 2023)
C++
113
star
31

VINS-kidnap

a place recognition system for VINS-fusion
105
star
32

gnss_comm

Basic definitions and utility functions for GNSS raw measurement processing
C++
97
star
33

G3Reg

G3Reg: Pyramid Graph-based Global Registration using Gaussian Ellipsoid Model
87
star
34

ublox_driver

A driver for u-blox receiver (ZED-F9P) with ros support
C++
81
star
35

TopoTraj

A robust UAV local planner based on the ICRA2020 paper: Robust Real-time UAV Replanning Using Guided Gradient-based Optimization and Topological Paths
80
star
36

TimeOptimizer

Optimal Time Allocation for Quadrotor Trajectory Generation
C++
77
star
37

Pinhole-Fisheye-Mapping

70
star
38

FC-Planner

An Efficient Planner for Fast Aerial Coverage
54
star
39

AutoTrans

AutoTrans: A Complete Planning and Control Framework for Autonomous UAV Payload Transportation.
C++
54
star
40

EMSGC

This repository maintains the implementation of the paper "Event-based Motion Segmentation withSpatio-Temporal Graph Cuts".
C++
54
star
41

LiDAR-Registration-Benchmark

LiDAR-based 3D global registration benchmark.
Python
53
star
42

VINS-Fisheye

Fisheye version of VINS-Fusion
C++
52
star
43

GeometricPretraining

This is the code base for paper ``Geometric Pretraining for Monocular Depth Estimation``, the paper is currently under review. The preprint will be available when it is ready.
49
star
44

HKUST-ELEC5660-Introduction-to-Aerial-Robotics

Repo for HKUST ELEC5660 Course Notes & Lab Tutorial & Project Docker
C++
44
star
45

OmniNxt

A Fully Open-source and Compact Aerial Robot with Omnidirectional Visual Perception
32
star
46

IMPACTOR

Impact-Aware Planning and Control for Aerial Robots with Suspended Payloads
31
star
47

plan_utils

Some useful pkgs for running planning simulation.
Makefile
28
star
48

edge_alignment

Clone of https://github.com/mpkuse/edge_alignment
C++
26
star
49

mockasimulator

C++
19
star
50

probabilistic_mapping

Probabilistic Dense Mapping
C++
19
star
51

swarm_gcs

Ground Station Software for aerial robots.
JavaScript
18
star
52

stTraj

Spatial-temporal Trajectory Planning for UAV Teach-and-Repeat
15
star
53

APACE

APACE: Agile and Perception-aware Trajectory Generation for Quadrotor Flights (ICRA2024)
10
star
54

MASSTAR

A Multi-modal Large-scale Scene Dataset and A Versatile Toolchain for Scene Prediction
8
star
55

mockacam

Camera package of mocka WFB
C++
3
star
56

RI_Mocap

Mocap device driver of RI
C++
1
star