This is the Official PyTorch implementation of our ICASSP2025 paper "Essentia: Boosting Artifact Removal from EEG through Semantic Guidance Utilizing Diffusion Model".
# build with python3.10
conda create --name Essentia python=3.10
conda activate Essentiaenv
pip install -r requirments.txt
- We provide a data loading API in our code, which can be customized to suit the characteristics of specific datasets.
- The detailed loading functions are available in
Code/func.pyandCode/TrainContrastive.py.
- For running the Essentia, you should use command
python Code/TrainContrastive.py
