Installing EEG-GAN
Pre-Requisites
The only prerequisites for installing EEG-GAN is Python.
Install With Pip
To install using pip:
pip install eeggan
You can then run the package functions directly in terminal or command prompt, for example:
Train GAN: eeggan training_gan
For more information on package functions, please refer to the Functions page.
If you prefer, follow this link to our PyPI page to directly download wheels or source.
Installing From the Source
You can install the latest GitHub version of EEG-GAN into your environment:
pip install git+https://github.com/AutoResearch/EEG-GAN@main
Note that our latest pip release will be housed on main.
Note that the dev branch contains updates since the last release.
For most stable results, we suggest you follow the install with pip instructions above.
Obtaining the Source
If you rather download the package via GitHub you can use the following command:
git clone https://github.com/AutoResearch/EEG-GAN.git
To update your local package:
git pull
For most stable results, we suggest you follow the install with pip instructions above.
Dependencies
The following are the required dependencies for EEG-GAN. If you install EEG-GAN via pip, or installed EEG-GAN from the source, these are automatically installed. If you have obtained the package from the source you can install these via the pyproject.toml file pip install .
Pandas~=1.3.4
NumPy~=1.21.4
Matplotlib~=3.5.0
SciPy~=1.8.0
Torch~=1.12.1
TorchVision~=0.13.1
TorchSummary~=1.5.1
TorchAudio~=0.12.1
Einops~=0.4.1
Scikit-Learn~=1.1.2
tqdm~=4.66.1