Skip to content

AI-bot-easy/SNN-lab

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SNN-lab

Experiments of SNN (Spiking Neural Network), focusing on several metrics, e.g. sparsity, accuracy. Most workflows show 80 to 90 percent of sparsity (10% ~ 20% neurons are activated on average)

You can directly run any scripts and do tweaks, once the env is setup.

This repo is only tested on Ubuntu 24.04, CPU + GPU, for simulation only. For real efficiency experiment like throughput and power-efficiency, SNNs need to run on neuromorphic hardware.

🚀 welcome to open issues and discussions in "Issue"

Quick start

Setup env, and run

python snn-torch/mnist_linear_sparsity.py # or any other path to the script

Descriptions

  • snn-torch: experiments using snnTorch library, some code are adapted from snnTorch tutorial

Env setup

sudo apt-get install python3-tk  # for matplotlib backend
pip install snntorch

About

Performance experiments of SNN

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages