Skip to content

Brain-Cog-Lab/ETC

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Improving Stability and Performance of Spiking Neural Networks through Enhancing Temporal Consistency

This repository contains code form our paper Improving Stability and Performance of Spiking Neural Networks through Enhancing Temporal Consistency. If you use our code or refer to this project, please cite

@article{zhao2024improving,
  title={Improving stability and performance of spiking neural networks through enhancing temporal consistency},
  author={Zhao, Dongcheng and Shen, Guobin and Dong, Yiting and Li, Yang and Zeng, Yi},
  journal={Pattern Recognition},
  pages={111094},
  year={2024},
  publisher={Elsevier}
}

Install the corresponding package

pip install -e .

You can run the corresponding code to get the result in the paper.

python main.py --batch-size 128  --model VGG_SNN --node-type LIFNode --dataset dvsc10 --step 10 --act-fun QGateGrad --num-classes 10 --thresh 0.5  --output-with-step --distil-loss 1.  --device 6
python main.py --batch-size 128  --model sew_resnet18 --node-type LIFNode --dataset cifar10 --step 4 --act-fun QGateGrad --num-classes 10 --thresh 0.5 --output-with-step --distil-loss 1. --device 6

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages