'Pytorch Dataloader for .nifti.img files
I am trying to load the OSASIS-2 dataset in order to try to predict the onset of dementia. However, there does not, to my knowledge, exist a dataloader for this dataset, so I have to make my own. However, all of the examples that I see load the data in the format .nii, whereas I have .nifti.img instead. How would I go about doing the following things: Loading all of the .nifti.img files into tensor format and comparing a parsed file name to one on a csv which has the results of the data such that I can train a neural network on?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
