lindawangg / COVID-Net

COVID-Net Open Source Initiative
Other
1.15k stars 482 forks source link

Getting this issue while creating covidx #133

Closed khanbhai0078 closed 3 years ago

khanbhai0078 commented 3 years ago

Getting issue while creating the covidx dataset using the given files.

IndexError Traceback (most recent call last)

in 49 imagename = patientid + '.' + row['FORMAT'].lower() 50 if not os.path.exists(os.path.join(sirm_imgpath, imagename)): ---> 51 imagename = patientid.split('(')[0] + ' ('+ patientid.split('(')[1] + '.' + row['FORMAT'].lower() 52 entry = [patientid, imagename, mapping['COVID-19'], 'sirm'] 53 filename_label[mapping['COVID-19']].append(entry) IndexError: list index out of range
haydengunraj commented 3 years ago

Closing this, as it seems you're now using a more recent version of the dataset where this problem no longer exists. Feel free to reopen if this is not the case.