|
|
|

|
|
|
|
|
|
|
|
VS2N (Visualization tool for Spiking Neural Networks) is an interactive web-based tool. It is designed to analyze and visualize collected information from SNN simulations.
|
|
|
|
VS2N (**V**isualization tool for **S**piking **N**eural **N**etworks) is an interactive web-based tool. It is designed to analyze and visualize collected information from SNN simulations.
|
|
|
|
|
|
|
|
We can use VS2N to:
|
|
|
|
- Follow the development of our network during training.
|
| ... | ... | @@ -27,6 +27,12 @@ We can use VS2N to: |
|
|
|
|
|
|
|
## Installation
|
|
|
|
|
|
|
|
### 1- Install MongoDB
|
|
|
|
|
|
|
|
Use the following [link](https://docs.mongodb.com/manual/administration/install-community/) to install MongoDB.
|
|
|
|
|
|
|
|
### 2- Install Apache Spark and other dependencies
|
|
|
|
|
|
|
|
Execute this command to install the needed libraries
|
|
|
|
|
|
|
|
```console
|
| ... | ... | @@ -34,11 +40,13 @@ pip install -r requirements.txt |
|
|
|
```
|
|
|
|
## Execution
|
|
|
|
|
|
|
|
1- Add MongoDB credentials in `default.config.py` and rename it to `config.py`
|
|
|
|
If you want to add authentication to VS2N (optional):
|
|
|
|
|
|
|
|
1. Add MongoDB credentials in `default.config.py` and rename it to `config.py`
|
|
|
|
|
|
|
|
2- Generate users credentials (Email/Password) using `python addUser.py`
|
|
|
|
2. Generate users credentials (Email/Password) using `python addUser.py`
|
|
|
|
|
|
|
|
3- Using Python >= 3.0 (**make sure MongoDB is running**) run `python VS2N.py` to start
|
|
|
|
Using Python >= 3.0 (**make sure MongoDB is running**) run `python VS2N.py` to start VS2N. If everything is fine, the web interface should appear automatically.
|
|
|
|
|
|
|
|
## Folder structure
|
|
|
|
|
| ... | ... | |