Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/junweiliang/multiverse
Dataset, code and model for the CVPR'20 paper "The Garden of Forking Paths: Towards Multi-Future Trajectory Prediction". And for the ECCV'20 SimAug paper.
https://github.com/junweiliang/multiverse
3d-simulation computer-vision trajectory-prediction trajectory-prediction-benchmark video-understanding
Last synced: 4 days ago
JSON representation
Dataset, code and model for the CVPR'20 paper "The Garden of Forking Paths: Towards Multi-Future Trajectory Prediction". And for the ECCV'20 SimAug paper.
- Host: GitHub
- URL: https://github.com/junweiliang/multiverse
- Owner: JunweiLiang
- License: apache-2.0
- Created: 2019-12-22T00:27:36.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2023-02-12T03:46:17.000Z (about 2 years ago)
- Last Synced: 2025-02-07T20:06:58.142Z (14 days ago)
- Topics: 3d-simulation, computer-vision, trajectory-prediction, trajectory-prediction-benchmark, video-understanding
- Language: Python
- Homepage: https://next.cs.cmu.edu/multiverse/
- Size: 82.1 MB
- Stars: 253
- Watchers: 9
- Forks: 63
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Multiverse
This repository contains the code and models for the following CVPR'20 paper:
**[The Garden of Forking Paths: Towards Multi-Future Trajectory Prediction](https://arxiv.org/abs/1912.06445)** \
[Junwei Liang](https://www.cs.cmu.edu/~junweil/),
[Lu Jiang](http://www.lujiang.info/),
[Kevin Murphy](https://www.cs.ubc.ca/~murphyk/),
[Ting Yu](https://scholar.google.com/citations?user=_lswGcYAAAAJ&hl=en),
[Alexander Hauptmann](https://www.cs.cmu.edu/~alex/)You can find more information at our [Project Page](https://precognition.team/next/multiverse/) and the [blog](https://medium.com/@junweil/cvpr20-the-garden-of-forking-paths-towards-multi-future-trajectory-prediction-df23221dc9f8).
The **SimAug** (ECCV'20) project is [here](SimAug/README.md).
+ *[11/2022] CMU server is down. You can replace all `https://next.cs.cmu.edu` with `https://precognition.team/next/` to download necessary resources (I did not back up the pretrained models. Please open an issue and share with me the model tgzs if you have downloaded them from the CMU server before).*
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
![]()
This paper proposes the first multi-future pedestrian trajectory prediction dataset and a multi-future prediction method called Multiverse.
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
+ Current dataset version: v1
+ Download links: [Google Drive](https://drive.google.com/file/d/1yESCQuIdiDNanUSX0qDyzbBRe_AeZB5a/view?usp=sharing) ([sha256sum](https://precognition.team/next/multiverse/dataset/ForkingPaths_dataset_v1.sha256sum.txt))
/
[Baidu Pan](https://pan.baidu.com/s/1nuc726hX8bUBXmMRj6UBJw) (提取码: tpd7)+ The dataset includes 3000 1920x1080 videos (750 human-annotated trajectory samples in 4 camera views) with bounding boxes and scene semantic segmentation ground truth. More notes and instructions about the dataset can be found [here](forking_paths_dataset/README.md#annotations).
+ Instructions of how to add more human annotations, edit the scenes, recreate from real-world videos, or **just simply to play with 3D simulator**, can be found [here](forking_paths_dataset/README.md#record-more-annotations).
+ Instructions of how to semi-automatically **re-create real-world videos' scenarios** with homography matrices into 3D simulation can be found [here](forking_paths_dataset/README.md#recreate-scenarios-from-real-world-videos).
# The Multiverse Model
![]()
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
+ Python 2/3; TensorFlow-GPU >= 1.15.0## 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](TESTING.md).
![]()
![]()
Qualitative analysis between Social-GAN (left) and our model.
## Training new models
Instructions for training new models can be [found here](TRAINING.md).## Acknowledgments
The Forking Paths Dataset is created based on the [CARLA Simulator](https://carla.org) and [Unreal Engine 4](https://www.unrealengine.com/en-US/).