thanks for your reply mailcorahul
ye i checked already but couldn’t get idea how to load my MRI .nii file, but here I am talking about 3D and 4D data which is related to medical image analysis. I am stuck with dataloading step as I have 17GB of data which is in the form of nii file not any simple image file. I want to load them all in iterative way into my memory and after that give as input for my CNN.