This is the Repository of TSGL-EEGNet. TSGL-EEGNet is a kind of Convolutional Network for pre-processed EEG signals to predict classes. TSGL-EEGNet is based on EEGNet which you can find it here.
You need to do some pre-processing works before using it. Maybe you need MATLAB and EEGlab tools to read these datas and transform them to *.mat file format.
It is recommended to use conda environment. tensorflow-addons Requirement Optional packages are for visualization
# training models
python train.py
# testing single model
python model_test.py
# testing CV models (not adapted)
# python model_cv.py
# ensemble models (not adapted)
# python model_ensemble.py
# stacking models (not adapted)
# python model_stacking.py
# visualization
python vis.py
TODO
If you use the EEGNet model in your research and found it helpful, please cite the following paper:
@article{Lawhern2018,
author={Vernon J Lawhern and Amelia J Solon and Nicholas R Waytowich and Stephen M Gordon and Chou P Hung and Brent J Lance},
title={EEGNet: a Compact Convolutional Neural Network for EEG-based Brain–computer Interfaces},
journal={Journal of Neural Engineering},
volume={15},
number={5},
pages={056013},
url={http://stacks.iop.org/1741-2552/15/i=5/a=056013},
year={2018}
}
If you use the TSGL-EEGNet model in your research and find this Repository is helpful, please cite the following paper:
@article{Deng2021,
author={Deng, Xin and Zhang, Boxian and Yu, Nian and Liu, Ke and Sun, Kaiwei},
journal={IEEE Access},
title={Advanced TSGL-EEGNet for Motor Imagery EEG-Based Brain-Computer Interfaces},
year={2021},
volume={9},
number={},
pages={25118-25130},
doi={10.1109/ACCESS.2021.3056088}
}
MIT License