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

dataset structure #23

Open
pervinh opened this issue Mar 8, 2019 · 1 comment
Open

dataset structure #23

pervinh opened this issue Mar 8, 2019 · 1 comment

Comments

@pervinh
Copy link

pervinh commented Mar 8, 2019

Can you tell me how dataset folder should look like? Mine looks like:

--\data
----\dataset
-------\BRATS2018
-----------\training
---------------\HGG
-------------------HGG147_Flair.nii
-------------------HGG147_Label.nii
-------------------HGG147_T1nii
-------------------HGG147_T1c.nii
-------------------HGG147_T2.nii
---------------\LGG
-------------------LGG71_Flair.nii
-------------------LGG71_Label.nii
-------------------LGG71_T1nii
-------------------LGG71_T1c.nii
-------------------LGG71_T2.nii

But i get an error:

$ python preprocess.py                                                          
Processing HGG ...                                                               
0it [00:00, ?it/s]                                                               
Processing LGG ...                                                              
0it [00:00, ?it/s]
@tkuanlun350
Copy link
Owner

For example:
ls dataset/BRATS2018/training/HGG/Brats18_2013_10_1/
=> Brats18_2013_10_1_flair.nii.gz Brats18_2013_10_1_seg.nii.gz Brats18_2013_10_1_t1ce.nii.gz Brats18_2013_10_1_t1.nii.gz Brats18_2013_10_1_t2.nii.gz

You can also modify dataloader.py to suit your need.

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

2 participants