hamkerlab / Larisch2021_PLOSComBio

Repository for the publication: Larisch, R., Gönner, L., Teichmann, M. & Hamker, F. H. (2021). Sensory coding and contrast invariance emerge from the control of plastic inhibition over emergent selectivity

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Python scripts for the V1 simple cell model from Larisch,R., Gönner,L., Teichmann,M., Hamker, F.H. (2021)

Dependencies

  • Python v3.6 (Python >v3.6 and Python v2.7 not tested)
  • Numpy >= v1.11.0
  • Matplotlib >= v1.5.1
  • ANNarchy >= v4.6.8.1 (actual master release can be found here and an installation guide is provided in the documentation )

Structure

The V1_simpleCell directory contains the python script to learn the V1 layer 4 models on natural scenes.

Start the learning with:

python ann.py

or

python ann.py -j4

to use 4 CPU cores to speed up the calculation.

The analyzes_V1Simple directory contains all the experiments to evaluate the model. Before starting the evaluation, copy the weight matrices into the Input_network directory.

Start the complete evaluation with:

python start.py

About

Repository for the publication: Larisch, R., Gönner, L., Teichmann, M. & Hamker, F. H. (2021). Sensory coding and contrast invariance emerge from the control of plastic inhibition over emergent selectivity

License:Mozilla Public License 2.0


Languages

Language:Python 100.0%