The official implementation of "PiP: Planning-informed Trajectory Prediction for Autonomous Driving" (ECCV 2020),
by Haoran Song, Wenchao Ding, Yuxuan Chen, Shaojie Shen, Michael Yu Wang and Qifeng Chen.
Inform the multi-agent future prediction with ego vehicle's planning in a novel planning-prediction-coupled pipeline.
For more details, please refer to our project website / paper / arxiv.
conda create -n PIPrediction python=3.7
source activate PIPrediction
conda install pytorch==1.2.0 torchvision==0.4.0 cudatoolkit=10.0 -c pytorch
conda install tensorboard=1.14.0
conda install numpy=1.16 scipy=1.4 h5py=2.10 future
-
model.py : It contains the concrete details of the proposed PiP architecture.
-
train.py : It contains the detailed approach for training PiP model. All the network parameters are provided by the default values.
-
evaluate.py : It contains the approach for evaluating a trained model. The prediction precision is reported by RMSE & NLL values at future time frames.
-
utils.py : It contains the customized dataset class for handling and batching trajectory data. And some other helper functions for retrieving information from pre-processed dataset.
-
preprocess/ : It contains Matlab code for preprocessing the raw data from NGSIM or HighD into the required format.
If you find our work useful in your research, please citing:
@InProceedings{song2020pip,
author = {Song, Haoran and Ding, Wenchao and Chen, Yuxuan and Shen, Shaojie and Wang, Michael Yu and Chen, Qifeng},
title = {PiP: Planning-informed Trajectory Prediction for Autonomous Driving},
booktitle = {The European Conference on Computer Vision (ECCV)},
month = {August},
year = {2020}
}