I have followed the step to creating data for training and testing as mentioned in file create_COVIDx.ipynb, however, it seems like the file does not exist
when I run this script
`# add covid-chestxray-dataset, figure1 and actualmed into COVIDx dataset # since these datasets don't have test dataset, split into train/test by patientid # for covid-chestxray-dataset: # patient 8 is used as non-COVID19 viral test # patient 31 is used as bacterial test # patients 19, 20, 36, 42, 86 are used as COVID-19 viral test # for figure 1: # patients 24, 25, 27, 29, 30, 32, 33, 36, 37, 38
I have followed the step to creating data for training and testing as mentioned in file create_COVIDx.ipynb, however, it seems like the file does not exist
when I run this script
`# add covid-chestxray-dataset, figure1 and actualmed into COVIDx dataset # since these datasets don't have test dataset, split into train/test by patientid # for covid-chestxray-dataset: # patient 8 is used as non-COVID19 viral test # patient 31 is used as bacterial test # patients 19, 20, 36, 42, 86 are used as COVID-19 viral test # for figure 1: # patients 24, 25, 27, 29, 30, 32, 33, 36, 37, 38
ds_imgpath = {'cohen': cohen_imgpath, 'fig1': fig1_imgpath, 'actmed': actmed_imgpath, 'sirm': sirm_imgpath}
for key in filename_label.keys(): arr = np.array(filename_label[key]) if arr.size == 0: continue
split by patients
print('test count: ', test_count) print('train count: ', train_count)` here the error message
FileNotFoundError: [Errno 2] No such file or directory: 'data/train/SARS-10.1148rg.242035193-g04mr34g0-Fig8b-day5.jpeg'
FileNotFoundError Traceback (most recent call last)