ICCV 2021: Where are you heading? Dynamic Trajectory Prediction with Expert Goal Examples
This repository contains the code for the paper Where are you heading? Dynamic Trajectory Prediction with Expert Goal Examples. Accepted to ICCV 2021
Abstract: Goal-conditioned approaches recently have been found very useful to human trajectory prediction, when adequate goal estimates are provided. Yet, goal inference is difficult in itself and often incurs extra learning effort. We propose to predict pedestrian trajectories via the guidance of goal expertise, which can be obtained with modest expense through a novel goal-search mechanism on already seen training examples. There are three key contributions in our study. First, we devise a framework that exploits nearest examples for high-quality goal position inquiry. This approach naturally considers multi-modality, physical constraints, compatibility with existing methods and is nonparametric; it therefore does not require additional learning effort typical in goal inference. Second, we present an end-to-end trajectory predictor that can efficiently associate goal retrievals to past motion information and dynamically infer possible future trajectories. Third, with these two novel techniques in hand, we conduct a series of experiments on two broadly explored datasets (SDD and ETH/UCY) and show that our approach surpasses previous state-of-the-art performance by notable margins and reduces the need for additional parameters
Model
Result
SDD | ADE | FDE |
---|---|---|
Eval-Opt1 (Reported in Paper) | 7.69 | 14.38 |
Eval-Opt2 | 7.51 | 13.21 |
Running Pre-trained Models
You can run the command for SDD:
python test_sdd.py
You can run the command for ETH/UCY:
python test_ethucy.py
To switch subsets among the ETH/UCY, change the dataset_name variable in test_ethucy.py file (e.g., eth/zara1/zara2/hotel/univ)
Citation
If you find this code useful in your work then please cite
@inproceedings{he2021where,
title={Where are you heading? Dynamic Trajectory Prediction with Expert Goal Examples},
author={He, Zhao and Richard P. Wildes},
booktitle = {Proceedings of the International Conference on Computer Vision (ICCV)},
month = {Oct.},
year={2021}
}
Acknowledgement
The dataset processing is largely from PECNET and Social-STGCNN. Many thanks to them.
Contact
Please contact He Zhao @ [email protected] if any issue.