All Projects → alessiabertugli → AC-VRNN

alessiabertugli / AC-VRNN

Licence: Apache-2.0 license
PyTorch code for CVIU paper "AC-VRNN: Attentive Conditional-VRNN for Multi-Future Trajectory Prediction"

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to AC-VRNN

mtad-gat-pytorch
PyTorch implementation of MTAD-GAT (Multivariate Time-Series Anomaly Detection via Graph Attention Networks) by Zhao et. al (2020, https://arxiv.org/abs/2009.02040).
Stars: ✭ 85 (+304.76%)
Mutual labels:  time-series, graph-attention-networks, graph-neural-networks
Tensorflow Lstm Regression
Sequence prediction using recurrent neural networks(LSTM) with TensorFlow
Stars: ✭ 433 (+1961.9%)
Mutual labels:  time-series, recurrent-neural-networks
Time Series Machine Learning
Machine learning models for time series analysis
Stars: ✭ 261 (+1142.86%)
Mutual labels:  time-series, recurrent-neural-networks
Tensorflow Cnn Time Series
Feeding images of time series to Conv Nets! (Tensorflow + Keras)
Stars: ✭ 49 (+133.33%)
Mutual labels:  time-series, recurrent-neural-networks
deep-blueberry
If you've always wanted to learn about deep-learning but don't know where to start, then you might have stumbled upon the right place!
Stars: ✭ 17 (-19.05%)
Mutual labels:  recurrent-neural-networks, variational-autoencoder
dts
A Keras library for multi-step time-series forecasting.
Stars: ✭ 130 (+519.05%)
Mutual labels:  time-series, recurrent-neural-networks
Deep Learning Time Series
List of papers, code and experiments using deep learning for time series forecasting
Stars: ✭ 796 (+3690.48%)
Mutual labels:  time-series, recurrent-neural-networks
Introduction-to-Deep-Learning-and-Neural-Networks-Course
Code snippets and solutions for the Introduction to Deep Learning and Neural Networks Course hosted in educative.io
Stars: ✭ 33 (+57.14%)
Mutual labels:  recurrent-neural-networks, graph-neural-networks
Vde
Variational Autoencoder for Dimensionality Reduction of Time-Series
Stars: ✭ 148 (+604.76%)
Mutual labels:  time-series, variational-autoencoder
Lstm anomaly thesis
Anomaly detection for temporal data using LSTMs
Stars: ✭ 178 (+747.62%)
Mutual labels:  time-series, recurrent-neural-networks
how attentive are gats
Code for the paper "How Attentive are Graph Attention Networks?" (ICLR'2022)
Stars: ✭ 200 (+852.38%)
Mutual labels:  graph-attention-networks, graph-neural-networks
LSTM-Time-Series-Analysis
Using LSTM network for time series forecasting
Stars: ✭ 41 (+95.24%)
Mutual labels:  time-series, recurrent-neural-networks
unicornn
Official code for UnICORNN (ICML 2021)
Stars: ✭ 21 (+0%)
Mutual labels:  time-series, recurrent-neural-networks
svae cf
[ WSDM '19 ] Sequential Variational Autoencoders for Collaborative Filtering
Stars: ✭ 38 (+80.95%)
Mutual labels:  recurrent-neural-networks, variational-autoencoder
Variational Recurrent Autoencoder Tensorflow
A tensorflow implementation of "Generating Sentences from a Continuous Space"
Stars: ✭ 228 (+985.71%)
Mutual labels:  recurrent-neural-networks, variational-autoencoder
Rwa
Machine Learning on Sequential Data Using a Recurrent Weighted Average
Stars: ✭ 593 (+2723.81%)
Mutual labels:  time-series, recurrent-neural-networks
Vae protein function
Protein function prediction using a variational autoencoder
Stars: ✭ 57 (+171.43%)
Mutual labels:  generative-model, variational-autoencoder
Vae For Image Generation
Implemented Variational Autoencoder generative model in Keras for image generation and its latent space visualization on MNIST and CIFAR10 datasets
Stars: ✭ 87 (+314.29%)
Mutual labels:  generative-model, variational-autoencoder
Dmm
Deep Markov Models
Stars: ✭ 103 (+390.48%)
Mutual labels:  time-series, generative-model
SelfGNN
A PyTorch implementation of "SelfGNN: Self-supervised Graph Neural Networks without explicit negative sampling" paper, which appeared in The International Workshop on Self-Supervised Learning for the Web (SSL'21) @ the Web Conference 2021 (WWW'21).
Stars: ✭ 24 (+14.29%)
Mutual labels:  graph-attention-networks, graph-neural-networks

AC-VRNN: Attentive Conditional-VRNN for Multi-Future Trajectory Prediction

This repository contains the PyTorch code for paper:

AC-VRNN: Attentive Conditional-VRNN for Multi-Future Trajectory Prediction
Alessia Bertugli, Simone Calderara, Pasquale Coscia, Lamberto Ballan, Rita Cucchiara

Model architecture

AC-VRNN is new generative model for multi-future trajectory prediction based on Conditional Variational Recurrent Neural Networks (C-VRNNs). Conditioning relies on prior belief maps, representing most likely moving directions and forcing the model to consider the collective agents’ motion. Human interactions are modeled in a structured way with a graph attention mechanism, providing an online attentive hidden state refinement of the recurrent estimation.

ac-vrnn - overview

Prerequisites

  • Python >= 3.8
  • PyTorch >= 1.5
  • CUDA 10.0

Datasets

  1. ETH/UCY DATSETS

A) SGAN/STAGT dataset version.

B) SR_LSTM version (only Biwi Eth annotations are changed).

C) Social Ways version --> to obtain the dataset take Social-Ways data and use dataset_processing/process_sways.py to process the data for this code.

  1. SDD

Download TrajNet benchmark, take training data and use dataset_processing/split_sdd.py to process the data for this code.

Belief Maps

To obtain belief maps for each dataset use dataset_processing/heatmap.py. Two stages are required:

  1. Generate statistics to compute the coarse of the global grid. They are obtained calling compute_mean_displacement_[dataset_name] function.
  2. Generate belief maps for each dataset calling compute_local_heatmaps_[dataset_name].

Training the model

To train AC-VRNN use models/graph/train.py on ETH/UCY A and B giving it the correct paths. Set model='gat'.

To train AC-VRNN use models/graph/train_dsways.py on ETH/UCY C. Set model='gat'.

To train AC-VRNN use models/graph/train_sdd.py on SDD.

Evaluating the model

To evaluate the model call utils/evaluate_model.py setting the correct paths, and load the dataset you want to test.

Cite

If you have any questions, please contact [email protected] or [email protected], or open an issue on this repo.

If you find this repository useful for your research, please cite the following paper:

@article{Bertugli2021-acvrnn,
   title = {AC-VRNN: Attentive Conditional-VRNN for multi-future trajectory prediction},
   journal = {Computer Vision and Image Understanding},
   pages = {103245},
   year = {2021},
   issn = {1077-3142},
   doi = {https://doi.org/10.1016/j.cviu.2021.103245},
   url = {https://www.sciencedirect.com/science/article/pii/S1077314221000898},
   author = {Alessia Bertugli and Simone Calderara and Pasquale Coscia and Lamberto Ballan and Rita Cucchiara},
   keywords = {Trajectory forecasting, Multi-future prediction, Time series, Variational recurrent neural networks, Graph attention networks}
   }
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].