Official repository for Tailoring Deep Learning for Real-Time Brain-Computer Interfaces: From Offline Models to Calibration-Free Online Decoding.
Download the datasets from zenodo(Dreyer) and GigaDB(Lee). Place the data in the data folder.
Run pip install .
to install the eeg-online
package.
Note: you can also use poetry for the installation
Run train_test.py with a --config
of your choice.
Run finetune.py with the corresponding
--source_config
and a --config
of your choice.
We included some checkpoints (for the first 5 subjects) in lightning_logs to provide a starting point.
Run run_online_adaptation.py with the corresponding
--source_config
and a --config
of your choice.
In case of any specific questions please contact me or create an issue.
If you find this repository useful, please cite our work
@article{wimpff2025tailoring,
title={Tailoring deep learning for real-time brain-computer interfaces: From offline models to calibration-free online decoding},
author={Wimpff, Martin and Zerfowski, Jan and Yang, Bin},
journal={arXiv preprint arXiv:2507.06779},
year={2025}
}