IoBT-VISTEC / MIN2Net

End-to-End Multi-Task Learning for Subject-Independent Motor Imagery EEG Classification (IEEE Transactions on Biomedical Engineering)
https://min2net.github.io
Apache License 2.0
76 stars 25 forks source link

How do I change the model if the EEG inputs are different? #6

Open Buddies-as-you-know opened 1 year ago

Buddies-as-you-know commented 1 year ago

I would like to use openBCI where MI-EEG can get 16 channels at 125hz. In this case, how should I change the input and model of MIN2Net?

xydxdy commented 1 year ago

For preprocessing you have to change the channels list in the config file: https://github.com/IoBT-VISTEC/MIN2Net/blob/main/min2net/preprocessing/config.py

Please note that you have to recompile the min2net package if you modify any part of it. pip uninstall min2net -y && python setup.py sdist bdist_wheel && pip install dist/min2net-1.0.0-py3-none-any.whl

You may also directly modify the code in the python site-packages directory, where the min2net package is installed, without recompiling the packages

For model configuration: https://min2net.github.io/docs/models/MIN2Net/