HyperDenseNet_pytorch icon indicating copy to clipboard operation
HyperDenseNet_pytorch copied to clipboard

How to preparing the data in order to run command line: python. mainHyperDenseNet.py

Open tphankr opened this issue 3 years ago • 2 comments

Dear @josedolz, My errors as following, please help me fix this error. image

My the preparing the data: image

And in each Training and Validation folder has : GT, T1, T1_IR, T2_FLAIR, and in each of these folders has GT.nii, T1.nii, T1_IR. nii, T2_FLAIR.nii. image

image

Thank you, @josedolz very much.

tphankr avatar Feb 14 '21 18:02 tphankr

Hi, I am not sure but this is how I understand the dataset tree :

DataBase_nii Training T1 im1.nii im2.nii ... T2 im1.nii im2.nii ... GT im1.nii im2.nii ... Validation T1 im1.nii im2.nii ... T2 im1.nii im2.nii ... GT im1.nii im2.nii ...

antdelmas avatar May 05 '21 13:05 antdelmas

Hi, @antdelmas is right with the tree folders. In each image-type folder you should add all the images belonging to that modality. For example, if you have 10 training patients, the GT folder should have: im1.nii,img2.nii,...,img10.nii.

Jose

josedolz avatar May 06 '21 11:05 josedolz