Home

Awesome

Multiverse

This repository contains the code and models for the following CVPR'20 paper:

The Garden of Forking Paths: Towards Multi-Future Trajectory Prediction
Junwei Liang, Lu Jiang, Kevin Murphy, Ting Yu, Alexander Hauptmann

You can find more information at our Project Page and the blog.

The SimAug (ECCV'20) project is here.

If you find this code useful in your research then please cite

@inproceedings{liang2020garden,
  title={The Garden of Forking Paths: Towards Multi-Future Trajectory Prediction},
  author={Liang, Junwei and Jiang, Lu and Murphy, Kevin and Yu, Ting and Hauptmann, Alexander},
  booktitle={The IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR)},
  month = {June},
  year={2020}
}
@inproceedings{liang2020simaug,
  title={SimAug: Learning Robust Representations from Simulation for Trajectory Prediction},
  author={Liang, Junwei and Jiang, Lu and Hauptmann, Alexander},
  booktitle={Proceedings of the European Conference on Computer Vision (ECCV)},
  month = {August},
  year={2020}
}

Introduction

<div align="center"> <div style=""> <img src="images/prob.gif" height="300px" /> </div> <p style="font-weight:bold;font-size:1.2em;"> This paper proposes the first multi-future pedestrian trajectory prediction dataset and a multi-future prediction method called Multiverse. </p> </div>

This paper studies the problem of predicting the distribution over multiple possible future paths of people as they move through various visual scenes. We make two main contributions. The first contribution is a new dataset called the Forking Paths Dataset, created in a realistic 3D simulator, which is based on real world trajectory data, and then extrapolated by human annotators to achieve different latent goals. This provides the first benchmark for quantitative evaluation of the models to predict multi-future trajectories.

The Forking Paths Dataset

<div align="center"> <div style=""> <img src="images/multi_view_v2.gif" height="210px" /> <img src="images/multi_view2_v2.gif" height="210px" /> </div> <p style="font-weight:bold;font-size:1.2em;"> <a href="http://www.youtube.com/watch?feature=player_embedded&v=RW45YQHxIhk" target="_blank">Demo Video</a> </p> </div>

The Multiverse Model

<div align="center"> <div style=""> <img src="images/cvpr2020_model.png" height="300px" /> </div> <br/> </div>

Our second contribution is a new model to generate multiple plausible future trajectories, which contains novel designs of using multi-scale location encodings and convolutional RNNs over graphs. We refer to our model as Multiverse.

Dependencies

Pretrained Models

You can download pretrained models by running the script bash scripts/download_single_models.sh.

Testing and Visualization

Instructions for testing pretrained models can be found here.

<div align="center"> <div style=""> <img src="images/0400_40_256_cam2_sgan.gif" height="255px" /> <img src="images/0400_40_256_cam2_ours.gif" height="255px" /> </div> <p style="font-weight:bold;font-size:1.2em;"> Qualitative analysis between Social-GAN (left) and our model. </p> </div>

Training new models

Instructions for training new models can be found here.

Acknowledgments

The Forking Paths Dataset is created based on the CARLA Simulator and Unreal Engine 4.