### Install dependencies with pip Source: https://github.com/hhjianmo/odebrain/blob/main/README.md Installs the required Python packages listed in requirements.txt. ```bash pip install -r requirements.txt ``` -------------------------------- ### Train ODEBRAIN model Source: https://github.com/hhjianmo/odebrain/blob/main/README.md Trains the ODEBRAIN model on the TUSZ dataset for the detection task. Results (metrics, logs) are saved to the specified save directory. ```bash python main.py --dataset TUSZ --input_dir --raw_data_dir --save_dir --task detection --model_name evobrain --num_epochs 100 ``` -------------------------------- ### Evaluate ODEBRAIN model Source: https://github.com/hhjianmo/odebrain/blob/main/README.md Evaluates a trained ODEBRAIN model on the TUSZ dataset. Requires the path to the saved model. ```bash python main.py --dataset TUSZ --input_dir --raw_data_dir --save_dir --task detection --test --load_model_path --model_name evobrain ``` -------------------------------- ### Preprocess EEG signals with resample_signals.py Source: https://github.com/hhjianmo/odebrain/blob/main/README.md Resamples EEG signals to 200 Hz and saves them in h5 format (19 channels). Requires paths to the original TUSZ EDF data and a directory for resampled signals. ```bash python ./data/resample_signals.py --raw_edf_dir --save_dir ``` -------------------------------- ### Cite ODEBRAIN paper Source: https://github.com/hhjianmo/odebrain/blob/main/README.md BibTeX entry for citing the ODEBRAIN paper. ```bibtex @inproceedings{ jia2026odebrain, title = {ODEBrain: Continuous-Time EEG Graph for Modeling Dynamic Brain Networks}, author = {Haohui Jia and Zheng Chen and Lingwei Zhu and Rikuto Kotoge and Jathurshan Pradeepkumar and Yasuko Matsubara and Yasushi Sakurai and Takashi Matsubara}, booktitle = {The Fourteenth International Conference on Learning Representations}, year={2026} } ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.