Skip to content

Dareplane module for transforming an LSL stream into a stream of embedding vectors

License

Notifications You must be signed in to change notification settings

PierreGtch/dp-signal-embedding

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dareplane Signal Embedding

Dareplane module for transforming an LSL stream into a stream of embedding vectors.

Getting Started

Installation

  1. Install poetry system-wide in an isolated environment (https://python-poetry.org/docs/)
  2. Create your environment (conda, venv...)
  3. Install dependencies with poetry: poetry install

Testing

Controller

Testing the controller only :

python signal_embedding/main.py

By default, it uses the jumping_means.yaml config. You can use another one using the --config argument (more details in jsonargparse):

python signal_embedding/main.py --config=configs/skorch_nn_Lee2019_MI.yaml 

Alternatively, you can overwrite one specific parameter of the config (more details in jsonargparse):

python signal_embedding/main.py --signal_embedder.input_stream_name=MockupStream

Server

To start the server, you can use the following command:

python api/server.py

Again, the config can be changed via the --config argument:

python api/server.py --config=configs/skorch_nn_Lee2019_MI.yaml 

Then, you can test the server using tellnet:

telnet 127.0.0.1 8080
RUN

About

Dareplane module for transforming an LSL stream into a stream of embedding vectors

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages