ethanwharris / STAWM

Code for the paper 'A Biologically Inspired Visual Working Memory for Deep Networks'

Home Page:https://arxiv.org/abs/1901.03665

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Code for the paper 'A Biologically Inspired Visual Working Memory for Deep Networks'

https://arxiv.org/abs/1901.03665


Languages

Language:Python 100.0%