Hello, thank you for your answer.
My idea is: use the 500 slices saved by numpy as the data set, and use it as part of the batch for training. What should I do, because I found that in ‘’ ‘def __getitem __ (self, index):’“
it will iterate 500 slices directly, not from it batch, I expected to get [4, 3, 256, 256] , But it is [4,500,3,256,256]. What should i do