git clone --recurse-submodules https://github.com/aisu-programming/Preprocessor-for-EEG-Signals.git
git clone https://github.com/aisu-programming/Preprocessor-for-EEG-Signals.git
cd Preprocessor-for-EEG-Signals
git submodule init
git submodule update
./download_datasets.sh
pip install -r requirements.txt
pip install torch # Based on your environment, see more in the requirements.txt
[!TIP] When running MacOS on Apple Silicon, also install
tensorflow-metal
to utilize GPU usage:pip install tensorflow-metal
You'll want to run with a higher batch size to get the benefits.
export TF_USE_LEGACY_KERAS=True
python baselines_tensorflow.py
python baselines_pytorch.py
srun -c 16 --mem=64GB --gres=gpu:1 --time=02:00:00 --pty python baselines_pytorch.py