Skip to content

SNNalgo/snntorch-LSM

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

snntorch-LSM

This is an snntorch implementation of Liquid State Machine (LSM) networks. The parameters of the example network implemented in main.py are derived from the paper "MAdapter: A Multimodal Adapter for Liquid State Machines configures the Input Layer for the same Reservoir to enable Vision and Speech Classification" link

Requirements

Pytorch, Tonic, numpy, sklearn and snntorch

Description

  1. lsm_weight_definitions.py - contains definitions of connectivity (Input->Reservoir and Recurrent Reservoir weights)
  2. lsm_models.py - contains the LSM model definition.
  3. main.py - contains an example implementation with the N-MNIST dataset. Network execution must be run with torch.no_grad() for LSM operation
  4. main.ipynb - same as main.py but for running in Google Colab. (Make sure to upload this repository folder to in Google Drive and modify the path in the 3rd cell accordingly to run)

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published