DeepPSP / torch_ecg

Deep learning ECG models implemented using PyTorch
MIT License
172 stars 20 forks source link

CINC2020 dataset #10

Closed eadstry closed 1 year ago

eadstry commented 1 year ago

ValueError when using the CINC2020 dataset: not enough values to unpack (expected 6, got 4). I noticed that the code
( ann_dict["rec_name"]. ann_dict["nb_leads"]. ann_dict["fs"]. ann_dict["nb_samples"]. ann_dict["datetime"]. daytime. ) = header_data[0].split(" "), which takes six fingers However, there are only four values in the dataset, [A0001 12 500 7500]. datetime, daytime, where should I go to get these two parameters