mohamedhassanmus / SAMP

Stochastic Scene-Aware Motion Prediction https://samp.is.tue.mpg.de/
133 stars 15 forks source link

Stochastic Scene-Aware Motion Prediction

[Project Page] [Paper]

SAMP Examples

Description

This repository contains the runtime Unity code for SAMP. For the training code; please see Training Code. The runtime Unity code is largly based on the code of Neural State Machine by Sebastian Starke.

Running SAMP

We provide several demo scenes for testing SAMP.

Main_Demo

GoalNet

GoalNet_MotioNet

PathPlanning

You can turn GoalNet and the path planning module on or off from the inspector of the character. Please note that using the path planning module assumes that a NavMesh has already been computed.

Exporting Training Data

MotionNet Data

You can download MotionNet Data and the raw fbx files from SAMP website. However, in case you want to export the data from Unity:

GoalNet Data

You can download GoalNet Data from SAMP website. However, in case you want to export the data from Unity:

Note

In the demo, there will be many corner cases where the system may fail due to the exponential combinatorial amount of possible actions and interactions of the character with the environment.

License

By using this code, you agree to adhere with the liscense of AI4Animation. In addition:

  1. You may use, reproduce, modify, and display the research materials provided under this license (the “Research Materials”) solely for noncommercial purposes. Noncommercial purposes include academic research, teaching, and testing, but do not include commercial licensing or distribution, development of commercial products, or any other activity which results in commercial gain. You may not redistribute the Research Materials.
  2. You agree to (a) comply with all laws and regulations applicable to your use of the Research Materials under this license, including but not limited to any import or export laws; (b) preserve any copyright or other notices from the Research Materials; and (c) for any Research Materials in object code, not attempt to modify, reverse engineer, or decompile such Research Materials except as permitted by applicable law.
  3. THE RESEARCH MATERIALS ARE PROVIDED “AS IS,” WITHOUT WARRANTY OF ANY KIND, AND YOU ASSUME ALL RISKS ASSOCIATED WITH THEIR USE. IN NO EVENT WILL ANYONE BE LIABLE TO YOU FOR ANY ACTUAL, INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES ARISING OUT OF OR IN CONNECTION WITH USE OF THE RESEARCH MATERIALS.

Citation

If you find this Model & Software useful in your research we would kindly ask you to cite:


@inproceedings{hassan_samp_2021,
  title = {Stochastic Scene-Aware Motion Prediction},
  author = {Hassan, Mohamed and Ceylan, Duygu and Villegas, Ruben and Saito, Jun and Yang, Jimei and Zhou, Yi and Black, Michael},
  booktitle = {Proceedings of the International Conference on Computer Vision 2021},
  month = oct,
  year = {2021},
  event_name = {International Conference on Computer Vision 2021},
  event_place = {virtual (originally Montreal, Canada)},
  month_numeric = {10}
}