From 78a5b7273d873fedd7f8a6b1ced2567bad6358f1 Mon Sep 17 00:00:00 2001 From: Hammouda Elbez <hammouda.elbez@univ-lille.fr> Date: Thu, 2 Mar 2023 11:11:04 +0100 Subject: [PATCH] ReadMe updated with Norse instructions --- Norse/requirements.txt | 2 ++ README.md | 10 ++++++++++ 2 files changed, 12 insertions(+) create mode 100755 Norse/requirements.txt diff --git a/Norse/requirements.txt b/Norse/requirements.txt new file mode 100755 index 0000000..bc8da77 --- /dev/null +++ b/Norse/requirements.txt @@ -0,0 +1,2 @@ +matplotlib +norse \ No newline at end of file diff --git a/README.md b/README.md index 16d4993..02cc658 100644 --- a/README.md +++ b/README.md @@ -36,6 +36,16 @@ For example: to run MNIST simulation without compression and reinforcement: In the `apps` folder, you will find the source code for each simulation, where you can change the architecture and the network parameters or activate the [layerwise compression](https://gitlab.univ-lille.fr/hammouda.elbez/progressive-layer-based-compression-for-convolutional-spiking-neural-network/-/blob/main/CSNN-Simulator/apps/Mnist.cpp#L21). +### How to use Norse +First, install the required libraries: + + python install -r requirements.txt + +To run a simulation: + + python [name_dataset].py + +Each file runs each configuration ten times. You can change the parameters at the beginning of each file. ## Going from CSNN to SpiNNaker First, run the simulation of the two dense layers using CSNN: -- GitLab