/EEGNet-tutorial

EEGNet tutorial

Primary LanguagePython

EEGNet-tutorial

This is a naive Pytorch implementation of EEGNet We don't consider data preprocessing, visualization , ablation test, within/cross-subject experiments.

Setup environment

  1. Clone this repo
git clone https://github.com/AilurusUmbra/EEGNet-tutorial.git
cd EEGNet-tutorial
  1. From conda (recommended)
conda env create -f environment.yml
  1. From pip
pip install -r requirements.txt

Run

  1. Start to train EEGNet
python run.py
  1. Distributed tuning hyperparameters

Noted that the path of dataset in dataloader.py should be modified to absolute path, since that ray tune generates several worker processes to run training function at different working paths.

python tuning.py