Git Product home page Git Product logo

csnn-vdsp's Introduction

CSNN & VDSP

This is the code for the paper Unsupervised and efficient learning in sparsely activated convolutional spiking neural networks enabled by voltage-dependent synaptic plasticity, available here.

Getting started

The code was written in Python 3.9.

Dependencies

  • tqdm (4.64.0)
  • numpy (1.20.1)
  • librosa (0.9.2)
  • scikit_learn (1.1.2)
  • torch (1.12.1)
  • python-mnist (0.7)

Installation

Dependencies for each subdirectory can be installed with :

pip3 install -r requirements.txt

Also, the library libsndfile must be installed. (dnf install libsndfile on fedora, apt install libsndfile1 on ubuntu).

Usage

To train and evaluate the CSNN on the MNIST or the TIDIGITS task, run the following command in the desired subdirectory :

python3 snn.py

Several other functions are available in the file snn.py (and also snn_analysis.py for MNIST) to reproduce experiments presented in the paper.

Acknowledgements

  • Institut Interdisciplinaire d'Innovation Technologique (3IT), Université de Sherbrooke.
  • Laboratoire Nanotechnologies Nanosystèmes (LN2) – CNRS UMI-3463, Université de Sherbrooke, Sherbrooke, Canada
  • Institute of Electronics, Microelectronics and Nanotechnology (IEMN), Université de Lille, Villeneuve d’Ascq, France.
  • NECOTIS Research Lab, Electrical and Computer Engineering Dep., Université de Sherbrooke, Sherbrooke, Canada.

csnn-vdsp's People

Contributors

ggoupy avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.