-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Missing timestamp content in utils.py? #1
Comments
Thank you for your attention. Timestamps can be used to calculate the sampling rate, which is necessary in heart rate estimation. However, the end-to-end model outputs waveforms rather than directly outputting heart rates, so it actually does not need timestamps for training. If you need to test the model, please use a dataset with timestamps instead of datatape. If your model must use timestamps, you can generate them yourself because the sampling rate of most datasets is usually 30fps or set the sampling rate according to your dataset and then generate uniform timestamps using np.arange. |
I still run into some problems. Shouldn't we use |
Please make sure you are passing in a dataset file, not a datatape file. Dataset files can be used to generate datatape and for testing, while datatape is only used for training. If your issue is still not resolved, please show your code so I can further identify the problem. Additionally, I recommend reading our tutorial https://github.com/KegangWangCCNU/PhysBench/blob/main/Tutorial/Noob%20Heart.ipynb to understand how it works. |
Oh! Thanks ! I mistakenly used datatape. |
In dump_datatape there should be a store for the timestamp.
The text was updated successfully, but these errors were encountered: