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

BraTS Dataset #2

Open
chenyu1330 opened this issue Jul 19, 2024 · 4 comments
Open

BraTS Dataset #2

chenyu1330 opened this issue Jul 19, 2024 · 4 comments

Comments

@chenyu1330
Copy link

Hello, thank you very much for your wonderful work! But I encountered a problem while processing the BraTS dataset. The required size is 176176160, but the actual downloaded size is 240240155. Can you give me the processing code for this part? I would be grateful enough!

@CKBling
Copy link
Collaborator

CKBling commented Aug 15, 2024

Hello! I just saw this now because I didn't receive a notification. I've added the preprocess code(brain_dataset_utils/preprocess_BraTS.py) for the BraTS dataset. There are two options available for adjusting the data size (pad+crop or pad+crop+resize), and I believe I used the second option.

@Xudangliatiger
Copy link

I got an error that : FileNotFoundError: No such file or no access: '/cpfs01/projects-HDD/cfff-282dafecea22_HDD/public/share_dataplatform/BRATS2023/srcfiles/BraTS-GLI/ASNR-MICCAI-BraTS2023-GLI-Challenge-ValidationData/BraTS-GLI-01733-000/BraTS-GLI-01733-000-t2f_preprocessed.nii.gz'

Is that means I need to preprocess the data first, should I look into the preprocess_BraTS.py ?

@CKBling
Copy link
Collaborator

CKBling commented Oct 15, 2024

Preprocessing is not strictly necessary, but I recommend doing it because slight code modifications, such as handling dimensions, may be needed. I'm not sure which line your error is occurring on, but it seems to be a simple path issue.

@Xudangliatiger
Copy link

Preprocessing is not strictly necessary, but I recommend doing it because slight code modifications, such as handling dimensions, may be needed. I'm not sure which line your error is occurring on, but it seems to be a simple path issue.

I got this error by runing sh shell/data/make_hdf5_BraTS.sh. By the way, preprocess_BraTS.py is quite slow and requries large mem. maybe we can use a pretrained VAE from Nvidia's Medical AI for Synthetic Imaging (MAISI)

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