- python3
- keras-gpu 2.3.1
- tensorflow 2.1.0
- numpy ...
pip install -r requiements.txt
-
download raw data from directory /WORLD H-H TRAJ
-
run /scripts/trainer.py by setting arg.preprocess_data==True for data processing.
Note: check if all of the listed directories have already been yieled; set arg.preprocess_data==False if you have already the processed data.
You can get the results as reported in the paper using our pretrained model.
- Download pretrained model from /models/best.hdf5
You also can train from sratch by /scripts/trainer.py
@inproceedings{cheng2021exploring,
title={Exploring dynamic context for multi-path trajectory prediction},
author={Cheng, Hao and Liao, Wentong and Tang, Xuejiao and Yang, Michael Ying and Sester, Monika and Rosenhahn, Bodo},
booktitle={2021 IEEE International Conference on Robotics and Automation (ICRA)},
pages={12795--12801},
year={2021},
organization={IEEE}
}
@article{cheng2021amenet,
title={Amenet: Attentive maps encoder network for trajectory prediction},
author={Cheng, Hao and Liao, Wentong and Yang, Michael Ying and Rosenhahn, Bodo and Sester, Monika},
journal={ISPRS Journal of Photogrammetry and Remote Sensing},
volume={172},
pages={253--266},
year={2021},
publisher={Elsevier}
}
First, many credits to Angelos Toytziaridis for helping me discover the evaluation error in the experiments on the inD dataset. The empirical results have been recalculated and summarized in https://github.com/haohao11/DCENet/tree/master/Extend_inD/results. The quantitative results may differ significantly from the ones reported in the original papers, but the comparison with the baselines is still valid. This error does not impact the qualitative results. If you would like to benchmark your quantitative results to AMENet or DCENet on the inD dataset, you can refer to the updated results or run the experiments (https://github.com/haohao11/DCENet/tree/master/Extend_inD) with the saved weights or train the models yourself. Please note that due to the sampling process of the latent variables, the test results using the provided weights may slighly vary from the results listed in the folder.