Training and inference with T2-only files #1186
Unanswered
paul-reiners
asked this question in
Q&A
Replies: 1 comment
-
Yes, I guess you should name it with .0000.nii.gz, since there is only one modality. (0, 1, 2, 3, 4... sequentially). It doesn't matter whether it is PET, MR T1, MR T2, Ultrasound, CT... if there is only one modality then, it is with .0000.nii.gz. Just be aware of mentioning in dataset.json file, 0 means T2, 1 means.. other... etc. But I understand... this part is quite strict in nnUNet framework.. and it is one of my motivation to try to move on with my own dataloader.. data preprocessing.. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Do you know how when you run the T2-only inference model, it expects the file to end with “0000.nii.gz” even though it’s a T2? How heavy of a lift would it be to change this so that it expects the file to end with “0001.nii.gz?”
I have the following in my dataset.json file:
The T2 files all end in ".0001.nii.gz". There are no T1 files. Yet, I get this error when running nnUNet_plan_and_preprocess.py:
Beta Was this translation helpful? Give feedback.
All reactions