Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
tphankr opened this issue Feb 14, 2021 · 2 comments

Comments

@tphankr
Copy link

tphankr commented Feb 14, 2021

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.

@antdelmas
Copy link

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
...

@josedolz
Copy link
Owner

josedolz commented May 6, 2021

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants