I have 17 GB of data collected from ADNI where I am going to classify them without any preprocessing and augmentation steps. I load a single image using nibable library. Now I am trying to load all the .nii format files from my directory.
For this purpose I already studied the basic dataloading method shown in WRITING CUSTOM DATASETS 4 and also studied custom dataloader for 3D files .
Please help me someone with some sort of code which help me to understand that I am on right path or I have to change the direction of implementing it?