# social_lstm_keras_tf
**2019/01/22 - now Please See `renew` branch.**
Social LSTM implementation with Keras (and TensorFlow as backend)
NOTE: experimental implementation
## Requirements (show primary packages only)
* Python 3.6.0+
* Keras 2.1.5+
* TensorFlow 1.6.0+
## Usage
### 1. Preparation
Set `dataset` attribute of the config files in `configs/`.
### 2. Training
Run `train_social_model.py`.
```
python train_social_model.py --config path/to/config.json [--out_root OUT_ROOT]
```
### 3. Testing
Run `evaluate_social_model.py`
```
python train_social_model.py --trained_model_config path/to/config.json --trained_model_file path/to/trained_model.h5
```
## Restrictions
* work only on batch size = 1
* require much RAM (use almost all 16GB in my environment)
## References
* Alexandre Alahi, Kratarth Goel, Vignesh Ramanathan, Alexandre Robicquet, Li Fei-Fei, Silvio Savarese. **Social LSTM: Human Trajectory Prediction in Crowded Spaces**. The IEEE Conference on Computer Vision and Pattern Recognition (CVPR), 2016, pp. 961-971
* My implementation based on: [Social LSTM using TensorFlow](https://github.com/vvanirudh/social-lstm-tf)
没有合适的资源?快使用搜索试试~ 我知道了~
social_lstm_keras_tf-master_social_lstm轨迹预测_keras_lstm轨迹预测_行人轨迹_
共42个文件
py:18个
txt:11个
json:5个
5星 · 超过95%的资源 16 下载量 11 浏览量
2021-09-30
15:52:48
上传
评论 3
收藏 551KB ZIP 举报
温馨提示
social_lstm行人轨迹预测代码,基于keras,在Linux下运行
资源详情
资源评论
资源推荐
收起资源包目录
social_lstm_keras_tf-master.zip (42个子文件)
social_lstm_keras_tf-master
data_utils.py 229B
tf_normal_sampler.py 2KB
preprocessors
eth_dataset_preprocessor.py 2KB
preprocessors_utils.py 641B
__init__.py 0B
ucy_dataset_preprocessor.py 4KB
train_social_model.py 3KB
provide_train_test.py 2KB
grid.py 7KB
evaluate_social_model.py 3KB
my_social_model.py 10KB
__init__.py 0B
load_dataset.py 5KB
LICENSE 34KB
README.md 1KB
general_utils.py 2KB
evaluation_metrics.py 2KB
load_model_config.py 963B
vizualize_trajectories.py 2KB
data
configs
ucy.json 270B
zara1.json 272B
hotel.json 272B
zara2.json 272B
eth.json 270B
datasets
eth
README.txt 2KB
univ
H.txt 147B
destinations.txt 132B
obsmat.txt 1.1MB
map.png 2KB
info.txt 216B
groups.txt 691B
hotel
H.txt 147B
destinations.txt 792B
obsmat.txt 824KB
map.png 833B
info.txt 378B
groups.txt 360B
ucy
zara
zara02
zara02.vsp 137KB
zara01
zara01.vsp 89KB
univ
univ.vsp 335KB
np_normal_sampler.py 769B
.gitignore 1KB
共 42 条
- 1
程籽籽
- 粉丝: 67
- 资源: 4722
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
评论4