This documentation is about using the framework, PAW, in the two public datasets BCI Competition IV 2a (BCIIV2a) and BCI Competition IV 2b (BCIIV2b). The framework is primarily for the inter-subject and intra-subject problem for EEG under a multi-source-free domain adaptation (MSFDA) scenario.
Use the downloaded raw data to get the experimental data. There are two files for both datasets: * raw_to_saved_data.py: Take the EEG data and labels from the raw data (i.e., .gdf or .mat). * saved_data_to_sample.py: save the data apart from the subject and session information.
conda env create –n new_env_name -f proposed_environment.ymltraining_phase_dd.py.adaptation.py.All the default hyper-parameters are the same as the experiments, the common parameters to adjust are as below: * base_model: eegnet/eegtcnet. * dataset: The dataset to run (i.e., 2a/2b). * gpu_id * name: The name recorded in the wandb. * not_use_wandb: Setting the flag would not record this run in the wandb.
This research was supported in part by Ministry of Science and Technology Taiwan under grant no. 112-2634-F-A49 -005 and 110-2221-E-A49-078-MY3.