Open amirro1 opened 1 month ago
Hi Amy, thanks for posting this! It is indeed interesting. Generally I would recommend dividing by 255 as this was applied to all the training data, but its intriguing that you see better results when normalizing to [0, 1]. Can you share the results you are seeing with the two different approaches? Ideally as a plot, but MAEs are also good. And just out of curiosity, what is the age range of your pediatric sample?
Hi,
Thanks for your quick response! I can email you the plots if you would like. Is estenleonardsen@gmail.com a good email address for you?
Thanks, Amy
Yes, perfect, thanks!
Hi,
Thank you so much for all your work on this repo. I have a question about how your normalize your T1s before feeding them into the model.
I noticed that in your freesurfer_and_fsl.sh preprocessing script, you divide image values by 255:
https://github.com/estenhl/pyment-public/blob/7671d0046b42dadd4286fcbfa9786f15c380f35d/preprocessing/freesurfer_and_fsl.sh#L57 However, when I examine the output images created by freesufer_and_fsl, the values don't range from 0-1; they typically range between 0 and ~0.6. I think this is because the brainmask.mgz image typically takes values between 0 and ~110 (at least that is the case for my data which I ran with Freesurfer 7.2).
I ran a quick test to see if this normalization mattered. I just edited the cropping code inside freesufer_and_fsl (I added the edited code and then end of this script). Interestingly, the normalization did seem to change the predictions fairly significantly in our data (which was all pediatric) I was wondering:
edited cropping code:
Thanks, Amy