Skip to content
/ NRNM Public

Official codes for two papers , `Non-local recurrent neural memory for supervised sequence modeling' and `Learning Sequence Representations by Non-local Recurrent Neural Memory'.

Notifications You must be signed in to change notification settings

F-Frida/NRNM

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NRNM: Non-local-Recurrent-Neural-Memory

Official pytorch codes for the paper:

Cover

Installation

The model is built in PyTorch 1.2.0 and tested on Ubuntu 16.04 environment (Python3.7, CUDA9.0, cuDNN7.5). You can installa the environment via the following:

pip install -r requirements.txt

Example

Training NRNM on NTU-Skeleton dataset Download the NTU skeleton dataset from link, and put it into ./datasets/Skeleton/.

Run CUDA_VISIBLE_DEVICES=0 python action_mylstm_cv.py --nlayers=2 --data_mode=CV --lr=0.001 --cell_type=ORG_MEMO --nhid=512 --sb=cv_MEMO_512_2layer to train and test LSTM-NRNM for skeleton-based action recognition.

Results

Cover

Citation

If you find this work useful for your research, please cite:

@inproceedings{fu2019non,
  title={Non-local recurrent neural memory for supervised sequence modeling},
  author={Fu, Canmiao and Pei, Wenjie and Cao, Qiong and Zhang, Chaopeng and Zhao, Yong and Shen, Xiaoyong and Tai, Yu-Wing},
  booktitle={Proceedings of the IEEE/CVF International Conference on Computer Vision},
  pages={6311--6320},
  year={2019}
}

@article{pei2022learning,
  title={Learning Sequence Representations by Non-local Recurrent Neural Memory},
  author={Pei, Wenjie and Feng, Xin and Fu, Canmiao and Cao, Qiong and Lu, Guangming and Tai, Yu-Wing},
  journal={International Journal of Computer Vision},
  pages={1--21},
  year={2022},
  publisher={Springer}
}

About

Official codes for two papers , `Non-local recurrent neural memory for supervised sequence modeling' and `Learning Sequence Representations by Non-local Recurrent Neural Memory'.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages