PyTorch implementation on: Seeing your sleep stage: cross-modal distillation from EEG to infrared video.
(A cross-modal distillation method based on infrared video and EEG signals)
We propose a novel cross-modal methodology (SACD) to solve the previous barriers, enabling point-of-care sleep stage monitoring at home.
To enable the developments of point-of-care healthcare research and distillation methods from clinical to visual modality, to our best knowledge, we are the first to collect a large-scale cross-modal distillation dataset, namely
- python >= 3.6.10
- pytorch >= 1.1.0
- FFmpeg, FFprobe
- Numpy
- Sklearn
- Pandas
- openpyxl
- mne=='0.20.7'
Download
- EEG
- Infrared video features
- labels
- pretrained weights: We also provide the pre-trained weights of the IR video encoder and the weights after our method distillation.
Note: If you need our dataset for relevant research, please send us an email with your Institution, Email and Use Purpose. We will provide you with the Baidu Cloud extraction code after review. Our email address is: 715129324@qq.com
This repository is partially built with two open-source implementation: (1) 3D-ResNets-PyTorch is used in video data preparation;
(2) Attnsleep is used for EEG feature extraction.