This repository is the official implementation of the paper LSTS: Periodicity Learning via Long Short-term Temporal Shift for Remote Physiological Measurement.
conda create -n rppg python=3.9
conda activate rppg
pip install -r requirements.txt
# optional
pip install notebook
- Change Path/to/XXXX/dataset and Path/to/cache/directory to the actual paths in preprocess.py
- Run
python preprocess.py
- Change Path/to/XXXX/dataset and Path/to/cache/directory to the actual paths in the config files in ./configs/
- Run
python ./train.py --config ./configs/lsts_xxxx.yaml --split_idx idx
wherexxxx
is the name of the dataset andidx
is the split index ranging from 0 to 4. - The training logs are managed using Weights & Biases. Visit the website to check the results.
@article{lsts,
author={Jiang, Titong and Ma, Yuan and Li, Jiaqi and Dong, Qing and Ji, Xuewu and Liu, Yahui},
journal={IEEE Transactions on Circuits and Systems for Video Technology},
title={LSTS: Periodicity Learning via Long Short-term Temporal Shift for Remote Physiological Measurement},
year={2025},
volume={},
number={},
pages={1-1},
doi={10.1109/TCSVT.2025.3538474}
}
This project is heavily dependent on the following projects. If you find them useful, please give them a star.