zhaodongsun / contrast-phys

[TPAMI & ECCV 2022] Contrast-Phys & Contrast-Phys+ for facial video-based remote physiological signal measurement
https://ieeexplore.ieee.org/document/10440521
MIT License
68 stars 14 forks source link

A bug related to contrast-phys #8

Closed ZhiXinChasingLight closed 8 months ago

ZhiXinChasingLight commented 8 months ago

Hello, thank you very much for your kind words. I recently encountered a bug while trying to reproduce contrast-phys. I am using the UBFC-phys dataset for training and followed the preprocessing steps mentioned in the readme. However, when running train.py, I encountered the following error. Do you have any idea what could be causing the problem?

image

zhaodongsun commented 8 months ago

Hi, it seems your input video length is lower than the delta_t parameters. The default delta_t should be half of the video length.