SbS Extension for PyTorch
Find a file
2023-01-15 02:59:45 +01:00
dataset_collection Add files via upload 2023-01-15 00:53:58 +01:00
network Delete network/dataset_collection directory 2023-01-15 00:54:46 +01:00
settings Add files via upload 2023-01-15 02:59:45 +01:00
clean.sh Add files via upload 2023-01-05 13:23:58 +01:00
dataset.json Add files via upload 2023-01-05 13:23:58 +01:00
def.json Add files via upload 2023-01-05 13:23:58 +01:00
def_sbs_L0.json Add files via upload 2023-01-05 13:23:58 +01:00
get_perf.py Add files via upload 2023-01-13 21:31:12 +01:00
learn_it.py Add files via upload 2023-01-13 21:31:12 +01:00
LICENSE Update LICENSE 2022-05-02 01:29:32 +02:00
make_new_previous.sh Add files via upload 2023-01-05 13:23:58 +01:00
network.json Add files via upload 2023-01-05 13:23:58 +01:00
network_sbs_L0.json Add files via upload 2023-01-05 13:23:58 +01:00
README.md Merge branch 'main' into v2 2023-01-05 13:32:32 +01:00

pytorch-sbs

SbS Extension for PyTorch

Based on these scientific papers

Back-Propagation Learning in Deep Spike-By-Spike Networks
David Rotermund and Klaus R. Pawelzik
Front. Comput. Neurosci., https://doi.org/10.3389/fncom.2019.00055
https://www.frontiersin.org/articles/10.3389/fncom.2019.00055/full

Efficient Computation Based on Stochastic Spikes
Udo Ernst, David Rotermund, and Klaus Pawelzik
Neural Computation (2007) 19 (5): 13131343. https://doi.org/10.1162/neco.2007.19.5.1313
https://direct.mit.edu/neco/article-abstract/19/5/1313/7183/Efficient-Computation-Based-on-Stochastic-Spikes

Python

It was programmed with 3.10.4. And I used some 3.10 Python expression. Thus you might get problems with older Python versions.

C++

You need to modify the Makefile in the C++ directory to your Python installation.

In addition your Python installation needs the PyBind11 package installed. You might want to perform a
pip install pybind11
The Makefile uses clang as a compiler. If you want something else then you need to change the Makefile. For CUDA I used version 12.0.