/grid-pattern-formation

repository for Neurips 2019 publication code

Primary LanguageJupyter NotebookApache License 2.0Apache-2.0

Grid cells in RNNs trained to path integrate

Code to reproduce the trained RNN in a unified theory for the origin of grid cells through the lens of pattern formation (NeurIPS '19).

Quick start:

Includes:

$ virtualenv env
$ source env/bin/activate
$ pip install --upgrade numpy==1.17.2
$ pip install --upgrade tensorflow==2.0.0rc2
$ pip install --upgrade scipy==1.4.1
$ pip install --upgrade matplotlib==3.0.3
$ pip install --upgrade imageio==2.5.0
$ pip install --upgrade opencv-python==4.1.1.26
$ pip install --upgrade tqdm==4.36.0

Result

grid visualization