Code Monkey home page Code Monkey logo

snn_optimal_conversion_pipeline's Introduction

snn_optimal_conversion_pipeline

Optimal Conversion of Conventional Artificial Neural Networks to Spiking Neural Networks

Training and simulation

We suggest using file 'main_train.py' for training and file 'main_simulation.py' for simulation.

  • The training and simulation parameters are collected in 'models/settings.py'.

Files

  • 'main_train.py' : main training file.
  • 'main_simulation.py' : main simulation file.
  • 'models/settings.py' : collection of the parameters.
  • 'models/spiking_layer.py' : SPIKE_layer to replace ANN's convolution layer and linear layer.
  • 'models/new_relu.py' : threshold ReLU file

Pre-trained models

  • All the pre-trained models we used are avilable here

Issues

  • Consider the generalization, when T is large, the loss and accuracy of SNN may both decrease.

Citation

If our code is helpful to you, please cite the following paper.

@inproceedings{
deng2021optimal,
title={Optimal Conversion of Conventional Artificial Neural Networks to Spiking Neural Networks},
author={Shikuang Deng and Shi Gu},
booktitle={International Conference on Learning Representations},
year={2021},
url={https://openreview.net/forum?id=FZ1oTwcXchK}
}

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.