Skip to main content

A spiking deep neural network simulator, and neuromoprhic hardware emulator

Project description

PyPI - Package Documentation Status PyPI - Python Version Black - formatter PyPI - Downloads


Getting started

Sinabs Is Not A Brain Simulator

NOTE: This project is mirrored to and is managed by aiCTX AG.

sinabs (pytorch based library) is developed to design and implement Spiking Convolutional Neural Networks (SCNNs). The library implements several layers that are spiking equivalents of CNN layers. In addition it provides support to import CNN models implemented in keras conveniently to test their spiking equivalent implementation.

NOTE: The conversion of CNNs to SCNNs is still a subject of research and we strive to keep the library updated to the state-of-the art in addition to providing options to compare various approaches both at a high level abstraction to low level implementation details.

NOTE: This library is an alpha release state and is subject to API changes.


You can install sinabs with pip:

pip install sinabs

If you want to develop or have access to source code of sinabs, download the package from the git repository:

$ cd <to/your/software/folder>
$ git clone>
$ cd sinabs
$ pip install -e . --user

For developers, we recommend that you install this package as a development version so that you can update the package without reinstalling the package. Checkout our quick instructional on how to create a project based on sinabs within a virtual environment using pyenv+pipenv

Documentation and Examples

If you would like to generate documentation locally, you can do that using sphynx.

You can generate a sphynx documentation for this package by running the the following command.

Requirements: sphinx, pandoc, nbsphinx

$ cd /path/to/sinabs/docs/
$ make html
$ firefox build/html/index.html

This will build and auto generate html documentation at sinabs/docs/build/html/index.html


sinabs is published under AGPL v3.0. See the LICENSE file for details.

Contributing to sinabs


Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for sinabs, version 0.1.dev5
Filename, size File type Python version Upload date Hashes
Filename, size sinabs-0.1.dev5-py3-none-any.whl (64.2 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size sinabs-0.1.dev5.tar.gz (28.7 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page