This repository is the official implementation of Backpropagated Neighborhood Aggregation for Accurate Training of Spiking Neural Networks
@inproceedings{yang2021backpropagated,
title={Backpropagated Neighborhood Aggregation for Accurate Training of Spiking Neural Networks},
author={Yang, Yukun and Zhang, Wenrui and Li, Peng},
booktitle={International Conference on Machine Learning},
pages={11852--11862},
year={2021},
organization={PMLR}
}
- python 3.7
- pytorch
- torchvision
To install requirements:
pip install -r requirements.txt
NMNIST: dataset, preprocessing
Modify the data path and network settings in the config files.
Select the index of GPU in the main.py (0 by default)
$ python main.py -config Networks/config_file.yaml
$ python main.py -config Networks/config_file.yaml -checkpoint checkpoint/ckpt.pth // load the checkpoint