phuselab / pyVHR

Python framework for Virtual Heart Rate
http://phuselab.di.unimi.it/
GNU General Public License v3.0
461 stars 128 forks source link

UnboundLocalError: local variable 'bvps' referenced before assignment when running "basic example" code from main github page #73

Open lefkothea1 opened 1 year ago

lefkothea1 commented 1 year ago

I am using the puVHR-cpu version and running on some issues that I cannot seem to fix as the current code is not very consistent with the usage examples of github. Any help is deeply appreciuated!

Trying to follow the "basic usage" example on one video that I generated myself. getting the error below.

.....pyvhr\lib\site-packages\pyVHR\analysis\pipeline.py:130 in run_on_video
    bvps = apply_filter(bvps,

UnboundLocalError: local variable 'bvps' referenced before assignment