项目作者: ethanwharris

项目描述 :
Code for the paper 'A Biologically Inspired Visual Working Memory for Deep Networks'
高级语言: Python
项目地址: git://github.com/ethanwharris/STAWM.git
创建时间: 2018-09-27T13:11:28Z
项目社区:https://github.com/ethanwharris/STAWM

开源协议:

下载


STAWM

Code for the paper ‘A Biologically Inspired Visual Working Memory for Deep Networks’, originally submitted to ICLR2019, reviews can be found here.
The memory module can be found in memory.py and each experiment has its own file.

Examples

MNIST

Reconstruction (sketch) sequences for 36 glimpses / sketches of size 4, memory size: 128, latent size: 4. Note that this is significantly more glimpses than used in the paper in order to obtain a reasonable animation, but also shows that the memory can learn a useful representation over very long sequences.

mnist gif

CelebA

Segmentation over time for the model from the paper. Here we plot the masked images according to the alpha channel of the final sketch. As the model trains this alpha channel moves from a uniform representation, to a segmented facial region.

celeb gif