• Stars
    star
    126
  • Rank 284,543 (Top 6 %)
  • Language
    Jupyter Notebook
  • License
    GNU General Publi...
  • Created over 4 years ago
  • Updated almost 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Pytorch - EEGLearn

This repo describes an implementation of the models described in "Learning Representations from EEG with Deep Recurrent-Convolutional Neural Networks." Bashivan et al. at International conference on learning representations (2016).

EEGLearn is a tool aiming to classify electroencephalogram (EEG) into different classes representing different mental states. The framework specificity is based on the fact that the raw EEG are transformed into images representing spatial (electrodes' position) and frequential (power spectral bands analysis) information in a more understandable way. The pipeline of the implementation is described on the following diagram.

alt text
Taken from Bashivan et al. 2016

This implementation aiming to present a pytorch implementation of the mentioned works, the functions related to the creation of the images have directly been copied and pasted from original github in the Utils_Bashivan.py script. The rest of the implementation has been totally recoded with Pytorch lib.

Requirements

In order to run the codes, the following libraries (and their corresponding dependencies) have to been installed:

  • Python 3.7
  • Pytroch 1.3.1
  • Cudatoolkit 10.1.243
  • Cudnn 7.6.3

Installation with pip: pip install -r requirements.txt

Import of the environment with conda: conda env create -f Pytorch_EEG.yml

Notes

A jupyter notebook presents a short summary of the codes. Before running it, it is necessary to create the "eeg images" by running the train script a first time or the create_img() function from Utils.

The early stopping being not implemented in Pytorch, a version of the code with a custom version will be uploaded as soon as possible.

References

If you are using this code please cite the paper:

Bashivan, et al. "Learning Representations from EEG with Deep Recurrent-Convolutional Neural Networks." International conference on learning representations (2016).

https://arxiv.org/pdf/1511.06448.pdf

More Repositories

1

EmoV-DB

The Emotional Voices Database: Towards Controlling the Emotional Expressiveness in Voice Generation Systems
Python
250
star
2

MBROLA

MBROLA is a speech synthesizer based on the concatenation of diphones
C
234
star
3

MBROLA-voices

Data files of mbrola speech synthesizer voices
112
star
4

ofxMotionMachine

MotionMachine is a C++ software toolkit for fast prototyping of interaction based on motion feature extraction. It brings mocap-friendly data structures and intuitive visualisation together.
C++
64
star
5

mage

MAGE is a C/C++ software toolkit for reactive implementation of HMM-based speech and singing synthesis.
C++
60
star
6

Emotion-EEG

Public Models considered for emotion estimation from EEG
Python
34
star
7

MBROLATOR

This is a database creation tool for the MBROLA speech synthesizer
C++
29
star
8

MocapRecovery

Robust and automatic MoCap data recovery (Matlab code).
MATLAB
29
star
9

Attention-EEG

Python
16
star
10

UMONS-TAICHI

UMONS-TAICHI: A Multimodal Motion Capture Dataset of Expertise in Taijiquan Gestures
MATLAB
13
star
11

eeg_unicorn_basics

Repository showing the basics to register, plot and create a first database with the Unicorn Hybrid Black EEG recorder in python.
Python
12
star
12

LaughterSynthesis

This repository contains laughter-related synthesis systems.
12
star
13

Spatio-Temporal-EEG-Analysis

Python
10
star
14

Crowd-Counting-with-MCNNs

Python
7
star
15

VisualAttention-RareFamily

Where do people look on images in average? At rare, thus surprising things! Let's compute them automatically
6
star
16

ValidEEG

This repository contains all the codes and data relative to "La Fisca et al., A Versatile Validation Framework for ERP and Oscillatory Source Reconstruction Using FieldTrip, 2021"
MATLAB
6
star
17

PoseTReID_DATASET

Video dataset with ground-truth for people detecting, tracking, and re-identifying.
Python
5
star
18

multi_video_sync

Python
5
star
19

ACT

C#
4
star
20

VisualAttention-Rare2007

RARE2007 is a feature-engineered bottom-up salienct model only using color information (no orientation)
MATLAB
3
star
21

speak_with_style_demo

Demo of a synthesized utterance with different styles with controllable intensities
Python
3
star
22

VisualAttention-Rare2012

RARE2012 is a feature-engineered bottom-up visual attention model
MATLAB
3
star
23

vsensebox

VSenseBox - Python toolbox for visual sensing.
Python
3
star
24

mage-legacy

This is the code developed during enterface 2012, its commit history has since been cleaned up and is available at http://github.com/numediart/mage . This non-clean (binary files, xcode files, ...) version of the history will probably be erased in a close future, do not rely on it, go for MAGE 2.0 instead ;-)
C++
3
star
25

VisualAttention-DeepRare2019

Visual Attention : what is salient in an image with DeepRare2019
Python
3
star
26

Visual-Question-Answering

Jupyter Notebook
3
star
27

ImmersiveSoundSpace

A bunch of scripts to follow wireless headphones in 3D space (based on HTC Vive trackers) and compute spacialized sound on Unity
C#
3
star
28

GIHME

Repository for GIHME (Guitar Improvisations with Hexaphonic Multi-Effects) Dataset
2
star
29

WebSpeakable

Tampermonkey script that speaks the selected text on web pages
JavaScript
2
star
30

ultralytics-for-vsensebox

Ultralytics YOLO for SOTA object detection, multi-object tracking, instance segmentation, pose estimation and image classification.
Python
2
star
31

VERA

Virtual Environment Recording Attention
C#
2
star
32

ReVA-toolkit

Reactive Virtual Agent toolkit for human-agent interaction applications.
GDScript
2
star
33

blob-simulation

Détection d'un blob dans une image ainsi que détection des comprimés de nourriture. Simulation d'un blob dans PyGame à travers un système multi-agents à connaissance partagée.
Python
2
star
34

DepthPrediction

Jupyter Notebook
2
star
35

xVAEnet

Python
2
star
36

vsensebox-data

Dynamic data packager for the supported detector/tracker of VSenseBox.
Python
2
star
37

ISGT

Virtual Indoor Scene Generator
C#
1
star
38

PreprocEEG

HTML
1
star
39

xAAEnet

Scoring the Severity of Sleep Disorders With Explainable AI
Python
1
star