phuselab / pyVHR

Python framework for Virtual Heart Rate

Home Page:http://phuselab.di.unimi.it/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

getErrors() missing 2 required positional arguments: 'timesES' and 'timesGT'

wgb-10 opened this issue · comments

On running the start() method of the MultiMethodSuite class I noticed that the getErrors() function does not take the bvps and fps variables:

RMSE, MAE, MAX, PCC, CCC = getErrors(median_bpmES, bpmGT, timesES, timesGT)

Like was done in run_on_dataset() in the Pipeline class here:
RMSE, MAE, MAX, PCC, CCC, SNR = getErrors(bvps, fps,
np.expand_dims(median_bpmES, axis=0), bpmGT, timesES, timesGT)

This is why the above error occurs.

A new version of the framework, pyVHR 2.0, has been released. Please check if problems persist and report them for future bug fixes.

best
the pyVHR team