hi,your code 'download_mimic_iii_records.py' seems to save code with 'h5py', but 'prepare_MIMIC_dataset.py' needs file ending in '.mat'.
'download_mimic_iii_records.py' line 103:
with h5py.File(join(SubjectFolder, file.split('/')[1]),'w') as f:
'prepare_MIMIC_dataset.py' line line 79:
DataFiles = [f for f in listdir(join(DataPath,dirs)) if isfile(join(DataPath, dirs,f)) and f.endswith('.mat')]
hi,your code 'download_mimic_iii_records.py' seems to save code with 'h5py', but 'prepare_MIMIC_dataset.py' needs file ending in '.mat'. 'download_mimic_iii_records.py' line 103:
with h5py.File(join(SubjectFolder, file.split('/')[1]),'w') as f:
'prepare_MIMIC_dataset.py' line line 79:
DataFiles = [f for f in listdir(join(DataPath,dirs)) if isfile(join(DataPath, dirs,f)) and f.endswith('.mat')]