Giter Club home page Giter Club logo

eeg-otta's Introduction

Calibration-free online test-time adaptation for electroencephalography motor imagery decoding

This is the official repository to the paper Calibration-free online test-time adaptation for electroencephalography motor imagery decoding. The implementation is based on mariodoebler/test-time-adaptation. Additionally we use BaseNet from this repository.

Usage

Installation

  • clone this repository
  • run pip install . to install the eeg-otta package

Note: you can also use poetry for the installation

Source training

Note: you can also use one of the checkpoints in the checkpoints directory

Run the online test-time adaptation

  • run run_adaptation.py with the --config and source_run of your choice (one of the configs starting with tta)
  • the setting (cross-session or cross-subject/ cross-subject continual) is dependent on your checkpoint i.e. whether the within-subject dataset (_within) or the leave-one-subject-out (_loso) dataset was used.
  • To choose between the cross-subject and cross-subject continual setting, modify the continual parameter in the TTA config file (cross-subject is the default).

Citation

If you find this repository useful, please cite our work

@inproceedings{wimpff2024calibration,
  title={Calibration-free online test-time adaptation for electroencephalography motor imagery decoding},
  author={Wimpff, Martin and D{\"o}bler, Mario and Yang, Bin},
  booktitle={2024 12th International Winter Conference on Brain-Computer Interface (BCI)},
  pages={1--6},
  year={2024},
  organization={IEEE}
}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.