Giter VIP home page Giter VIP logo

vs2n's Introduction

Please refer to the main Gitlab repository for source code and more details

Banner VS2N (Visualization tool for Spiking Neural Networks) is an interactive web-based tool. It is designed to analyze and visualize the activity we collect from SNN simulators.

We can use VS2N to:

  • Follow the evolution of our network during training.
  • Validate hypotheses.
  • Debug any newly implemented component.

VS2N is a module-based tool written in Python, those modules concern defined questions or elements to visualize, and it is possible to add new modules. Each module contains different visualizations.

Initial requirements for contributions :

  • Python (Flask)
  • Dash Plotly (to implement different visualizations)
  • Apache Spark (for any heavy pre-calculations if needed)
  • MongoDB (to store and read data)

VS2N

Documentation

https://gitlab.univ-lille.fr/bioinsp/VS2N/-/wikis/home

Installation

1- Install MongoDB

Use the following link to install MongoDB.

2- Install Apache Spark and other dependencies

Execute this command to install the needed libraries

pip install -r requirements.txt

Execution

  1. If you want to add authentication to VS2N (optional):
  • Generate users credentials (Email/Password) using python manageUsers.py
  1. Rename default.config.py to config.py

  2. If a password protects MongoDB:

  • Add MongoDB credentials in config.py
  1. 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.

Docker image

You can also use a docker image to run VS2N : https://hub.docker.com/r/helbez/vs2n

Folder structure

VS2N.py             # Main script to start VS2N.
addUser.py          # Generate user credentials.
defaut.config.py    # Default configuration file.
img/                # Folder contains images.
Docker/             # Contains docker files.
assets/             # Folder contains CSS file.
src/                # Source directory.
|- Modules/         # Folder of the existing modules.
|- static/          # Contains static files (.js, .css, etc).
|- templates/       # Static html files + template for new modules.
|- Global_Var.py    # Contains global variables of VS2N.

v0.36

Core

  • Multilayer support added
  • Spark & MongoDB version updated

v0.35

Core

  • Graphs improved & fixed typos.
  • UI updated.

v0.34

Core

  • Added authentication.
  • Added support for Nengo simulator.

View the full changes log here

Citation

In case you decide to mention or use VS2N:

H. Elbez, M. K. Benhaoua, P. Devienne and P. Boulet, "VS2N : Interactive Dynamic Visualization and Analysis Tool for Spiking Neural Networks," 2021 International Conference on Content-Based Multimedia Indexing (CBMI), pp. 1-6, 2021.

License

The project is licensed under the CeCILL-B license.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.