Skip to content

Public code (julia) for Illing, Gerstner & Brea 2019: Biologically plausible deep learning - but how far can we go with shallow networks?

License

Notifications You must be signed in to change notification settings

EPFL-LCN/pub-illing2019-nnetworks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DOI

This is a (julia) code collection for the publication:

B. Illing, W. Gerstner & J. Brea, Biologically plausible deep learning - but how far can we go with shallow networks?, Neural Networks 118 (2019) 90-101

Contact: [email protected]

Installation

Dependencies:

  • Mac or Linux
  • Julia (1.1 or higher)

All other (julia) dependencies and packages will be installed or updated automatically.

Usage

The main simulations of the publication can be replicated with the scripts collected in "scripts". The naming convention is the same as in the paper. E.g. to run the Sparse Coding simulation, cd to the "scripts" directory and run:

$ julia SC.jl

(Note: at first execution all dependencies will be installed and the dataset(s) will be downloaded which could take a few minutes)

To access or change parameters of the simulations please have a look at the respective script. Parameters in the scripts are not the same as in the publication (because simulations would take very long), however, the actual parameters are given in the appendix of the paper. Especially for the spiking LIF simulations runtime can be very long. Even though quite some effort was spent on optimising for speed, certain scripts run up to a week (single thread on an Intel Xeon E5-2680 v3 2.5 GHz) for the parameters given in the paper.

Core source code

You can find the core source code used by the above mentioned scripts in "core". This code is collected from three different frameworks,

  • autoencoders
  • lifintegrator
  • ratenets

that were developed for different purposes. For that reason different the scripts have different syntax. The julia project environment (core/, activated automatically in every script) should take care of all dependencies.

About

Public code (julia) for Illing, Gerstner & Brea 2019: Biologically plausible deep learning - but how far can we go with shallow networks?

Resources

License

Stars

Watchers

Forks

Packages

No packages published