# socialways **Repository Path**: wen_fan/socialways ## Basic Information - **Project Name**: socialways - **Description**: 代码分流 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 0 - **Created**: 2020-05-16 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Social Ways The pytorch implementation for the paper **Social Ways: Learning Multi-Modal Distributions of Pedestrian Trajectories with GANs** *Javad Amirian, Jean-Bernard Hayet, Julien Pettre* Presented at [CVPR 2019](http://cvpr2019.thecvf.com) in [*Precognition Workshop*](https://sites.google.com/view/ieeecvf-cvpr2019-precognition) ( [[arxiv](https://arxiv.org/abs/1904.09507)], [[slides](https://drive.google.com/file/d/1-2UU9l8jjrX65Taqe00NEXp_oYv3JMO5/view?usp=sharing)], [[poster](https://drive.google.com/file/d/1RNfZEKypbYabAdKpjKej5qlAG5RBR0zn/view?usp=sharing)] ) This work is, theoretically, an improvement of [Social-GAN](https://arxiv.org/abs/1803.10892) by applying the following changes: 1. Implementing Attention Pooling, instead of Max-Pooling 2. Introducing to use new social features between pair of agents: - Bearing angle - Euclidean Distance - Distance to Closest Approach (DCA) 3. Replacing L2 loss function with Information loss, an idea inspired by [info-GAN](https://arxiv.org/abs/1606.03657) ## System Architecture The system is composed of two main components: Trajectory Generator and Trajectory Discriminator. For generating a prediction sample for Pedestrian of Interest (POI), the generator needs the following inputs: - the observed trajectory of POI, - the observed trajectory of surrounding agents, - the noise signal (z), - and the latent codes (c) The Discriminator takes a pair of observation and prediction samples and decides, if the given prediction sample is real or fake.