Skip to content

thuml/transferable-memory

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TMU (ICML 2020)

A PyTorch implementation of TMU [paper], a differentiable framework named transferable memory, which adaptively distills knowledge from a bank of memory states of multiple pretrained RNNs, and applies it to the target network via a novel recurrent structure called the Transferable Memory Unit (TMU).

Video prediction networks have been used for precipitation nowcasting, early activity recognition, physical scene understanding, model-based visual planning, and unsupervised representation learning of video data.

Get Started

  1. Install Python 3.7, PyTorch 1.3, and OpenCV 3.4.

  2. Download data. This repo contains code for two datasets: the Moving Mnist dataset and the KTH action dataset.

  3. Train the model. You can use the following bash script to train the model. The learned model will be saved in the --save_dir folder. The generated future frames will be saved in the --gen_frm_dir folder.

cd script/
sh tmu.sh

Related Publication

PredRNN++: Towards A Resolution of the Deep-in-Time Dilemma in Spatiotemporal Predictive Learning.
Yunbo Wang, Zhifeng Gao, Mingsheng Long, Jianmin Wang, and Philip S. Yu.
ICML 2018 [paper] [code]

Contact

You may send email to yaozy19@mails.tsinghua.edu.cn, yunbo.thu@gmail.com or longmingsheng@gmail.com.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published