Dynamic Envelope Context Aware Fusion for Envelope decoding from EEG.
A deep learning framework for attention-aware decoding using EEG and speech envelope data.
Large model checkpoints and training data are hosted on Hugging Face:
# Clone the HF dataset
git clone https://huggingface.co/datasets/carankt/DECAF-models-and-data checkpoints_hf
# Or use huggingface-hub
pip install huggingface_hub
python -c "from huggingface_hub import snapshot_download; snapshot_download(repo_id='carankt/DECAF-models-and-data', repo_type='dataset', local_dir='./checkpoints')"Available on HF:
checkpoints/paper/- Models from the main papercheckpoints/baseline_models/- Baseline variantscheckpoints/dynamic_gru/- Two-branch dynamic GRUcheckpoints/dynamic_lstm/- Two-branch dynamic LSTMcheckpoints/recursive_gru/- Recursive GRU architecturescheckpoints/recursive_lstm/- Recursive LSTM architectureswandb_logs/- Training logs
bash train_all_models.shpython train_model.py --config configs/two_branch_base_config.pypython fine_tune_subjects.py --model-checkpoint checkpoints/paper/best_model.pt- BaselineDecoder - Baseline single-branch
- HappyQuoka - Two-branch attention decoder
- TwoBranchDynamicLSTM/GRU - Dynamic branch weighting
- VLAAI - Vision-Language-Audio Integrated
pip install torch numpy scipy scikit-learn wandb@article{DECAF2024,
title={DECAF: Deep Learning for EEG-based Attention-Aware Decoding},
author={Thakkar, Karan and ...},
journal={...},
year={2024}
}See LICENSE file.