awni/ecg

Testing

QiujieDong opened this issue · 4 comments

Hello,
I download data from https://irhythm.github.io/cardiol_test_set/ as the testing data. When I run "python ecg/predict.py .json .hdf5", I get error that "labels.append(d['labels']) Exception KeyError: KeyError". I find that the testing data does not have the 'labels' and 'ecg'.
I hope you can tell me how to use it!
Thank you!

I have also encountered this problem. How do you solve it?

Hello,
I download data from https://irhythm.github.io/cardiol_test_set/ as the testing data. When I run "python ecg/predict.py .json .hdf5", I get error that "labels.append(d['labels']) Exception KeyError: KeyError". I find that the testing data does not have the 'labels' and 'ecg'.
I hope you can tell me how to use it!
Thank you!

Hi, did you make it to solve this issue?

matru commented

It seems like you cannot run the trained model on custom entries. Like Kardia .json files. Can someone confirm this? There seems to be a exact set of database structure that the trained model can run on.