You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @hsokooti I'm having trouble figuring out how to preprocess and load data into the net. I saw your post linking some datasets, but the model seems to load *.mha files and they all seem to be in other formats. Additionally, I'm not sure where to put the data in the directory structure; the documentation seems to be outdated and the setting["DLFolder"] key doesn't exist anymore.
The text was updated successfully, but these errors were encountered:
I updated the documentation. About the extension, you can define it for your own database in the setting_utils.py. For example, in line 88, this is defined for the DIR-Lab_4D:
elifselected_data=='DIR-Lab_4D':
data_setting['Dim'] ='3D'data_setting['ext'] ='.mha'data_setting['imageByte'] =2# equals to sitk.sitkInt16 , we prefer not to import sitk in SettingUtilsdata_setting['types'] = ['T00', 'T10', 'T20', 'T30', 'T40', 'T50', 'T60', 'T70', 'T80', 'T90'] # for eg: 'Fixed' or 'Moving' : actually Fixed indicates baseline and Moving indicates followupdata_setting['expPrefix'] ='case'# for eg: case1data_setting['defaultPixelValue'] =-2048# The pixel value when a transformed pixel is outside of the imagedata_setting['voxelSize'] = [1, 1, 1]
data_setting['AffineRegistration'] =Truedata_setting['UnsureLandmarkAvailable'] =Falsedata_setting['CNList'] = [iforiinrange(1, 11)]
To check all addresses, I suggest running and testing the following line:
Hi @hsokooti I'm having trouble figuring out how to preprocess and load data into the net. I saw your post linking some datasets, but the model seems to load *.mha files and they all seem to be in other formats. Additionally, I'm not sure where to put the data in the directory structure; the documentation seems to be outdated and the setting["DLFolder"] key doesn't exist anymore.
The text was updated successfully, but these errors were encountered: