saharhzm / CrossModalSleepTransformer

The Cross-modal SleepTransformer is a deep learning model designed for sleep stage classification based on multimodal physiological signals. It utilizes the transformer architecture, and cross-attention mechanism to effectively process and integrate information from multiple input modalities, including EEG, EOG, EMG, ECG, and respiratory signals.
MIT License
3 stars 1 forks source link

Cross-Modal SleepTransformer

Overview

The Cross-modal SleepTransformer is a deep learning model designed for sleep stage classification based on multimodal physiological signals. It utilizes a transformer architecture, and cross-attention mechanism to effectively process and integrate information from multiple input modalities, including EEG, EOG, EMG, ECG, and respiratory signals. By leveraging both raw signal data and handcrafted features extracted from these modalities, our model aims to accurately classify different sleep stages, including Wake, N1, N2, N3, and REM.

Features

Requirements

Usage

  1. Prepare your dataset: Ensure your dataset is properly formatted and includes the necessary physiological signals (e.g., EEG, EOG, EMG, ECG).
  2. Preprocess the data: Perform any required preprocessing steps, such as segmentation, and normalization on your dataset.
  3. Train and test the model: Use the provided scripts to train and test the model on your dataset.