Hello Sir
Could you help me please, when am trying to run the pre-process step am facing the errors below...
IndexError Traceback (most recent call last)
in
57
58 if name == 'main':
---> 59 save_preprocessed_data()
in save_preprocessed_data()
48 tp_co = tp_co[:max_numbers_to_use]
49 radii = radii[:max_numbers_to_use]
---> 50 ct = CTScan(seriesuid=series_id, centers=tp_co, radii=radii, clazz=0)
51 ct.preprocess()
52 ct.save_preprocessed_image()
in init(self, seriesuid, centers, radii, clazz)
15 self._centers = centers
16 paths = glob(f'''{RESOURCES_PATH}/*/{self._seriesuid}.mhd''')
---> 17 path = paths[0]
18 self._ds = sitk.ReadImage(path)
19 self._spacing = np.array(list(reversed(self._ds.GetSpacing())))
IndexError: list index out of range